Class MandantFrontendServerBean.EntityListModelImpl
java.lang.Object
de.xima.fc.gui.common.utils.msg.I18nUtils
de.xima.fc.gui.common.utils.msg.MessageUtils
de.xima.fc.gui.common.utils.msg.AMessaging
de.xima.fc.gui.common.model.data.ItemListModel<MandantFrontendServer, Long>
de.xima.fc.gui.model.data.EntityListModel<MandantFrontendServer>
de.xima.fc.gui.model.data.EntityListModelSelectByView<MandantFrontendServer>
de.xima.fc.gui.bean.mfserver.MandantFrontendServerBean.EntityListModelImpl
- All Implemented Interfaces:
IItemListModel<MandantFrontendServer>, IUpdatable, IEntityListModel<MandantFrontendServer>, IEntityListModelSelectByView<MandantFrontendServer>, Serializable
- Enclosing class:
MandantFrontendServerBean
public final class MandantFrontendServerBean.EntityListModelImpl
extends EntityListModelSelectByView<MandantFrontendServer>
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class EntityListModel
entityClass, qcmFields inherited from class ItemListModel
all, filtered, globalFilter, hasAddNewEntity, LOG, marked, selected -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EntityListModelSelectByView
getCurrentViewBean, getEntityClassKey, getSelectionBean, putSelectionToStore, readSelectionFromStore, retrieveSelection, selectDefault, setSelected, storeSelectionMethods inherited from class EntityListModel
addMarked, castTo, create, crudCreate, crudDelete, crudRead, crudUpdate, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, ec, fetchAll, findName, getAll, getAllPlusNew, getDao, getFiltered, getGlobalFilter, getId, getMarked, getName, getSelected, hasEntity, isDetached, isDetached, isEmptyList, isHasAddNewEntity, isMarkedDeletable, isNew, isPersisted, loadLazyData, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onSelectionChanged, onToggleSelect, performDelete, removeMarked, save, setFiltered, setGlobalFilter, setHasAddNewEntity, setMarked, setSelectedFromMarked, update, updateData, updateSelectedMethods inherited from class MessageUtils
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, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefaultMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IEntityListModel
addMarked, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, getAll, getAllPlusNew, getFiltered, getMarked, getSelected, hasEntity, isEmptyList, isMarkedDeletable, isNew, loadLazyData, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, removeMarked, setFiltered, setMarked, setSelectedFromMarked, updateSelectedMethods inherited from interface IUpdatable
updateData
-
Constructor Details
-
EntityListModelImpl
public EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm)
-
-
Method Details
-
getAllowedViewsForSelection
Deprecated.- Overrides:
getAllowedViewsForSelectionin classEntityListModelSelectByView<MandantFrontendServer>- Returns:
- A set of views for which pre-selection (
EntityListModelSelectByView.selectDefault()) is allowed for this model. If empty, no restriction is applied.
-
addNew
public void addNew()Description copied from interface:IItemListModelSets the currently selected model to a new model. A new model is not yet persisted in the database and exists only in memory.- Specified by:
addNewin interfaceIEntityListModel<MandantFrontendServer>- Specified by:
addNewin interfaceIItemListModel<MandantFrontendServer>- Overrides:
addNewin classEntityListModel<MandantFrontendServer>
-
getNew
- Overrides:
getNewin classEntityListModel<MandantFrontendServer>
-
save
public void save()Description copied from interface:IItemListModelSaves the currently selected model to the database. If itIItemListModel.isNew(), creates a new entry in the database, otherwise updates the existing entry.- Specified by:
savein interfaceIEntityListModel<MandantFrontendServer>- Specified by:
savein interfaceIItemListModel<MandantFrontendServer>- Overrides:
savein classEntityListModel<MandantFrontendServer>
-