Package de.xima.fc.gui.bean
Class AEntityDetailsBean<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- 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.bean.AEntityDetailsBean<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AProjectDetailsBean
public abstract class AEntityDetailsBean<T extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends AMessaging implements Serializable
Abstract bean base class for displaying or editing the details of a single entity- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AEntityDetailsBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract de.xima.cmn.dao.interfaces.IAbstractDao<T,Long,IEntityContext>
getDao()
T
getEntity()
protected void
init(IEntityContext ec, T entity)
void
save()
void
setEntity(IEntityViewModel<T> model)
void
setEntity(Long id)
-
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, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
getEntity
public T getEntity()
-
setEntity
public void setEntity(IEntityViewModel<T> model)
-
setEntity
public void setEntity(Long id)
-
save
public void save()
-
getDao
protected abstract de.xima.cmn.dao.interfaces.IAbstractDao<T,Long,IEntityContext> getDao()
-
init
protected void init(IEntityContext ec, T entity)
-
-