Package de.xima.fc.gui.bean.settings
Class FrontendServerBean.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.model.data.EntityListModel<T>
-
- de.xima.fc.gui.model.data.EntityListModelSelectByView<FrontendServer>
-
- de.xima.fc.gui.bean.settings.FrontendServerBean.EntityListModelImpl
-
- All Implemented Interfaces:
IEntityListModel<FrontendServer>
,IEntityListModelSelectByView<FrontendServer>
,IUpdatable
,Serializable
- Enclosing class:
- FrontendServerBean
public final class FrontendServerBean.EntityListModelImpl extends EntityListModelSelectByView<FrontendServer>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.model.data.EntityListModel
all, entityClass, filtered, globalFilter, hasAddNewEntity, marked, qcm, selected
-
-
Constructor Summary
Constructors Constructor Description EntityListModelImpl(de.xima.cmn.criteria.QueryCriteriaManager qcm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNew()
Sets the currently selected model to a new model.protected Set<EViews>
getAllowedViewsForSelection()
FrontendServer
getNew()
POJO für Frontendserver initialisierenvoid
save()
Funktion zum Anlegen oder Aktualisieren eines Frontendservers-
Methods inherited from class de.xima.fc.gui.model.data.EntityListModelSelectByView
getCurrentViewBean, getEntityClassKey, getSelectionBean, putSelectionToStore, readSelectionFromStore, retrieveSelection, selectDefault, setSelected, storeSelection
-
Methods inherited from class de.xima.fc.gui.model.data.EntityListModel
addMarked, create, delete, delete, deleteEntity, deleteEntity, deleteMarkedEntities, ec, fetchAll, getAll, getAllPlusNew, getDao, getFiltered, getGlobalFilter, getMarked, getName, getSelected, hasEntity, isDetached, isEmptyList, isMarkedDeletable, isNew, loadLazyData, onRowSelect, onRowSelectCheckbox, onRowUnselectCheckbox, onToggleSelect, performDelete, removeMarked, save, setFiltered, setGlobalFilter, setHasAddNewEntity, setMarked, setSelectedFromMarked, update, updateData, updateSelected
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.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, msg
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.gui.interfaces.data.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, updateSelected
-
Methods inherited from interface de.xima.fc.gui.interfaces.data.IUpdatable
updateData
-
-
-
-
Method Detail
-
getAllowedViewsForSelection
protected Set<EViews> getAllowedViewsForSelection()
- Overrides:
getAllowedViewsForSelection
in classEntityListModelSelectByView<FrontendServer>
- Returns:
- A set of views for which pre-selection (
EntityListModelSelectByView.selectDefault()
) is allowed for this model. If empty, no restriction is applied.
-
save
public void save()
Funktion zum Anlegen oder Aktualisieren eines Frontendservers- Specified by:
save
in interfaceIEntityListModel<FrontendServer>
- Overrides:
save
in classEntityListModel<FrontendServer>
-
addNew
public void addNew()
Description copied from interface:IEntityListModel
Sets 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:
addNew
in interfaceIEntityListModel<FrontendServer>
- Overrides:
addNew
in classEntityListModel<FrontendServer>
-
getNew
public FrontendServer getNew()
POJO für Frontendserver initialisieren- Overrides:
getNew
in classEntityListModel<FrontendServer>
-
-