public final class ExternalUserClientBean.EntityListModelImpl<T extends ITransferableEntity> extends EntityListModelSelectByView<ClientAuthenticator>
all, entityClass, filtered, globalFilter, hasAddNewEntity, marked, qcm, selected
Constructor and Description |
---|
EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm) |
Modifier and Type | Method and Description |
---|---|
String |
deleteEntity(ClientAuthenticator entity)
Same as
IEntityListModel.delete() , but takes the model to be deleted as an argument instead of deleting the currently
selected model. |
void |
deleteMarkedEntities()
Deletes all marked entities
|
protected List<ClientAuthenticator> |
fetchAll()
Fetches all available entities.
|
ClientAuthenticator |
getNew() |
void |
loadLazyData()
Can be overriden to initialize lazily loaded fields on the entity.
|
void |
setSelected(ClientAuthenticator selected)
After setting the selected entity to the given entity, stores this selection in the
SelectionBean . |
getAllowedViewsForSelection, getCurrentViewBean, getEntityClassKey, getSelectionBean, selectDefault
addMarked, addNew, create, delete, delete, deleteEntity, ec, getAll, getAllPlusNew, getDao, getFiltered, getGlobalFilter, getMarked, getSelected, hasEntity, isDetached, isEmptyList, isMarkedDeletable, isNew, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, save, 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, addNew, delete, delete, 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)
protected List<ClientAuthenticator> fetchAll()
EntityListModel
QueryCriteriaManager
provided in the constructor. Override this for custom logic. If you choose to override
this, you may provide null
for the QueryCriteriaManager
, if you do not call this super method
and do not attempt to use it yourself.fetchAll
in class EntityListModel<ClientAuthenticator>
public ClientAuthenticator getNew()
getNew
in class EntityListModel<ClientAuthenticator>
public void loadLazyData()
IEntityListModel
loadLazyData
in interface IEntityListModel<ClientAuthenticator>
loadLazyData
in class EntityListModel<ClientAuthenticator>
public void setSelected(ClientAuthenticator selected)
EntityListModelSelectByView
SelectionBean
. This
allows the selection to be restored when the user revisits the page (during the same session).setSelected
in interface IEntityListModel<ClientAuthenticator>
setSelected
in class EntityListModelSelectByView<ClientAuthenticator>
selected
- The model to be selected.public void deleteMarkedEntities()
IEntityListModel
deleteMarkedEntities
in interface IEntityListModel<ClientAuthenticator>
deleteMarkedEntities
in class EntityListModel<ClientAuthenticator>
public String deleteEntity(ClientAuthenticator entity)
IEntityListModel
IEntityListModel.delete()
, but takes the model to be deleted as an argument instead of deleting the currently
selected model.deleteEntity
in interface IEntityListModel<ClientAuthenticator>
deleteEntity
in class EntityListModel<ClientAuthenticator>
entity
- The model to be deleted.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.