public final class UserRoleBean.EntityListModelImpl extends EntityListModelSelectByView<Rolle>
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() |
Rolle |
getNew() |
boolean |
isMarkedDeletable() |
void |
loadLazyData()
Can be overriden to initialize lazily loaded fields on the entity.
|
void |
save()
Saves the currently selected model to the database.
|
void |
setSelected(Rolle selected)
After setting the selected entity to the given entity, stores this selection in the
SelectionBean . |
void |
update() |
getCurrentViewBean, getEntityClassKey, getSelectionBean, selectDefault
addMarked, create, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, ec, fetchAll, getAll, getAllPlusNew, getDao, getFiltered, getGlobalFilter, getMarked, getSelected, hasEntity, isDetached, isEmptyList, isNew, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, save, setFiltered, setGlobalFilter, setHasAddNewEntity, setMarked, setSelectedFromMarked, 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, isNew, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, setFiltered, setMarked, setSelectedFromMarked, updateSelected
updateData
public EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm)
public void update()
update
in class EntityListModel<Rolle>
public void save()
IEntityListModel
IEntityListModel.isNew()
, creates a new entry in the database,
otherwise updates the existing entry.save
in interface IEntityListModel<Rolle>
save
in class EntityListModel<Rolle>
public boolean isMarkedDeletable()
isMarkedDeletable
in interface IEntityListModel<Rolle>
isMarkedDeletable
in class EntityListModel<Rolle>
true
iff every single marked entity is deletable. false
otherwisepublic void addNew()
IEntityListModel
addNew
in interface IEntityListModel<Rolle>
addNew
in class EntityListModel<Rolle>
public Rolle getNew()
getNew
in class EntityListModel<Rolle>
public void loadLazyData()
IEntityListModel
loadLazyData
in interface IEntityListModel<Rolle>
loadLazyData
in class EntityListModel<Rolle>
public void setSelected(Rolle selected)
EntityListModelSelectByView
SelectionBean
. This
allows the selection to be restored when the user revisits the page (during the same session).setSelected
in interface IEntityListModel<Rolle>
setSelected
in class EntityListModelSelectByView<Rolle>
selected
- The model to be selected.protected Set<EViews> getAllowedViewsForSelection()
getAllowedViewsForSelection
in class EntityListModelSelectByView<Rolle>
EntityListModelSelectByView.selectDefault()
) is allowed for this model. If empty, no
restriction is applied.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.