public final class DataSourcesBean.EntityListModelImpl extends EntityListModelSelectByView<Datenquelle>
all, entityClass, filtered, globalFilter, hasAddNewEntity, marked, qcm, selected
Constructor and Description |
---|
EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm) |
Modifier and Type | Method and Description |
---|---|
void |
addNew()
Sets the currently selected model to a new model.
|
protected Set<EViews> |
getAllowedViewsForSelection() |
void |
save()
Saves the currently selected model to the database.
|
void |
setSelected(Datenquelle selected)
After setting the selected entity to the given entity, stores this selection in the
SelectionBean . |
getCurrentViewBean, getEntityClassKey, getSelectionBean, selectDefault
addMarked, create, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, ec, fetchAll, getAll, getAllPlusNew, getDao, getFiltered, getGlobalFilter, getMarked, getNew, getSelected, hasEntity, isDetached, isEmptyList, isMarkedDeletable, isNew, loadLazyData, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, save, setFiltered, setGlobalFilter, setHasAddNewEntity, setMarked, setSelectedFromMarked, update, updateData, updateSelected
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
getFacesContext, getLocale, rbValue, rbValue, rbValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMarked, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, getAll, getAllPlusNew, getFiltered, getMarked, getSelected, hasEntity, isEmptyList, isMarkedDeletable, isNew, loadLazyData, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, setFiltered, setMarked, setSelectedFromMarked, updateSelected
updateData
public EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm)
protected Set<EViews> getAllowedViewsForSelection()
getAllowedViewsForSelection
in class EntityListModelSelectByView<Datenquelle>
EntityListModelSelectByView.selectDefault()
) is allowed for this model. If empty, no
restriction is applied.public void addNew()
IEntityListModel
addNew
in interface IEntityListModel<Datenquelle>
addNew
in class EntityListModel<Datenquelle>
public void save()
IEntityListModel
IEntityListModel.isNew()
, creates a new entry in the database,
otherwise updates the existing entry.save
in interface IEntityListModel<Datenquelle>
save
in class EntityListModel<Datenquelle>
public void setSelected(Datenquelle selected)
EntityListModelSelectByView
SelectionBean
. This
allows the selection to be restored when the user revisits the page (during the same session).setSelected
in interface IEntityListModel<Datenquelle>
setSelected
in class EntityListModelSelectByView<Datenquelle>
selected
- The model to be selected.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.