public final class InboxBean.EntityListModelImpl extends EntityListModelSelectByView<Postfach>
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() |
protected Set<EViews> |
getAllowedViewsForSelection() |
Postfach |
getNew() |
boolean |
hasEntity() |
boolean |
isMarkedDeletable() |
void |
loadLazyData()
Can be overriden to initialize lazily loaded fields on the entity.
|
void |
setSelected(Postfach selected)
After setting the selected entity to the given entity, stores this selection in the
SelectionBean. |
void |
update() |
getCurrentViewBean, getEntityClassKey, getSelectionBean, selectDefaultaddMarked, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, ec, fetchAll, getAll, getAllPlusNew, getDao, getFiltered, getGlobalFilter, getMarked, getSelected, isDetached, isEmptyList, isNew, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, save, save, setFiltered, setGlobalFilter, setHasAddNewEntity, setMarked, setSelectedFromMarked, updateData, updateSelectedaddErrorMsg, 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, getErrorMessagegetFacesContext, getLocale, rbValue, rbValue, rbValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMarked, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, getAll, getAllPlusNew, getFiltered, getMarked, getSelected, isEmptyList, isNew, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, save, setFiltered, setMarked, setSelectedFromMarked, updateSelectedupdateDatapublic EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm)
public boolean isMarkedDeletable()
isMarkedDeletable in interface IEntityListModel<Postfach>isMarkedDeletable in class EntityListModel<Postfach>true iff every single marked entity is deletable. false otherwisepublic void addNew()
IEntityListModeladdNew in interface IEntityListModel<Postfach>addNew in class EntityListModel<Postfach>public Postfach getNew()
getNew in class EntityListModel<Postfach>public void create()
create in class EntityListModel<Postfach>public void update()
update in class EntityListModel<Postfach>public void setSelected(Postfach selected)
EntityListModelSelectByViewSelectionBean. This
allows the selection to be restored when the user revisits the page (during the same session).setSelected in interface IEntityListModel<Postfach>setSelected in class EntityListModelSelectByView<Postfach>selected - The model to be selected.public boolean hasEntity()
hasEntity in interface IEntityListModel<Postfach>hasEntity in class EntityListModel<Postfach>true iff not #IEntityListModel.isEmptyList() or the currently selected model IEntityListModel.isNew().public void loadLazyData()
IEntityListModelloadLazyData in interface IEntityListModel<Postfach>loadLazyData in class EntityListModel<Postfach>protected Set<EViews> getAllowedViewsForSelection()
getAllowedViewsForSelection in class EntityListModelSelectByView<Postfach>EntityListModelSelectByView.selectDefault()) is allowed for this model. If empty, no
restriction is applied.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.