public final class ProjectResourceBean.EntityListModelImpl extends EntityListModelSelectByView<ProjektRessource>
all, entityClass, filtered, globalFilter, hasAddNewEntity, marked, qcm, selected
Constructor and Description |
---|
EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm) |
Modifier and Type | Method and Description |
---|---|
protected Set<EViews> |
getAllowedViewsForSelection() |
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(ProjektRessource selected)
After setting the selected entity to the given entity, stores this selection in the
SelectionBean . |
getEntityClassKey, selectDefault
addMarked, addNew, create, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, ec, fetchAll, getAll, getAllPlusNew, getDao, getFiltered, getGlobalFilter, getMarked, getNew, getSelected, hasEntity, isDetached, isEmptyList, isMarkedDeletable, isNew, 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
getFacesContext, getLocale, rbValue, rbValue, rbValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMarked, addNew, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, getAll, getAllPlusNew, getFiltered, getMarked, getSelected, hasEntity, isEmptyList, isMarkedDeletable, isNew, 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<ProjektRessource>
EntityListModelSelectByView.selectDefault()
) is allowed for this model. If empty, no
restriction is applied.public void setSelected(ProjektRessource selected)
EntityListModelSelectByView
SelectionBean
. This
allows the selection to be restored when the user revisits the page (during the same session). This behavior is
restricted to the EntityListModelSelectByView.getAllowedViewsForSelection()
.setSelected
in interface IEntityListModel<ProjektRessource>
setSelected
in class EntityListModelSelectByView<ProjektRessource>
selected
- The model to be selected.public void save()
IEntityListModel
IEntityListModel.isNew()
, creates a new entry in the database,
otherwise updates the existing entry.save
in interface IEntityListModel<ProjektRessource>
save
in class EntityListModel<ProjektRessource>
public void loadLazyData()
IEntityListModel
loadLazyData
in interface IEntityListModel<ProjektRessource>
loadLazyData
in class EntityListModel<ProjektRessource>
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.