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