Package de.xima.fc.gui.bean.project
Class BasicDataTableBean
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProjectDataTableBean
,ProjectInboxBean
public abstract class BasicDataTableBean extends AProjectDetailsBean
Basisklasse fürProjectDataTableBean
undProjectInboxBean
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SessionUserManager
userManager
-
Fields inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
entity
-
-
Constructor Summary
Constructors Constructor Description BasicDataTableBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
doManuallySync()
FormElementModel
getCurrentFormElementModel()
org.primefaces.model.DualListModel<FormElementModel>
getCurrentFormElements()
String
getDataTableName()
Funktion in der die Daten für die Picklist initialisiert werden müssenList<FormElement>
getFormElementsForProjectFormVersion()
Liefert Liste mit allen Formularelementenabstract String
getMessageKeyTableName()
Liefert den Message-Key für die Anzeige des Tabellennamens in der ViewString
getParamNameEditFormElementHash()
long
getSelectedElementHash()
abstract EProjectSpecificDBTable
getTableType()
Legt fest, um welchen Typ Datentabelle es sich handeltvoid
init()
boolean
isManuallySync()
boolean
isShowManuallySyncButton()
boolean
isVisible(FormElementModel fem)
void
onEditElementSelection()
Sets the form element that can be edited from request parametervoid
onFormElementTransfer(org.primefaces.event.TransferEvent event)
void
save()
void
selectPickListElem()
void
setCurrentFormElementModel(FormElementModel currentFormElementModel)
void
setCurrentFormElements(org.primefaces.model.DualListModel<FormElementModel> currentFormElements)
void
setManuallySync(boolean sync)
void
setSelectedElementHash(int selectedElementHash)
protected Projekt
update(IEntityContext ec, Projekt project)
void
updateData()
-
Methods inherited from class de.xima.fc.gui.bean.project.AProjectDetailsBean
getCurrentProjectBean, getDao, getProject, getSessionBean, reloadProject, setCurrentProjectBean, setEntity, setEntity, setProject, setProject, setSessionBean
-
Methods inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
getEntity, init
-
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
-
-
-
-
Field Detail
-
userManager
@Inject protected SessionUserManager userManager
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getTableType
public abstract EProjectSpecificDBTable getTableType()
Legt fest, um welchen Typ Datentabelle es sich handelt- Returns:
- the table type
-
getMessageKeyTableName
public abstract String getMessageKeyTableName()
Liefert den Message-Key für die Anzeige des Tabellennamens in der View- Returns:
- the key for the table name
-
getDataTableName
public String getDataTableName()
Funktion in der die Daten für die Picklist initialisiert werden müssen
-
getFormElementsForProjectFormVersion
public List<FormElement> getFormElementsForProjectFormVersion()
Liefert Liste mit allen Formularelementen- Returns:
- an
List
ofFormElement
s
-
updateData
public void updateData()
-
getCurrentFormElements
public org.primefaces.model.DualListModel<FormElementModel> getCurrentFormElements()
-
setCurrentFormElements
public void setCurrentFormElements(org.primefaces.model.DualListModel<FormElementModel> currentFormElements)
-
getCurrentFormElementModel
public FormElementModel getCurrentFormElementModel()
-
setCurrentFormElementModel
public void setCurrentFormElementModel(FormElementModel currentFormElementModel)
-
getSelectedElementHash
public long getSelectedElementHash()
-
setSelectedElementHash
public void setSelectedElementHash(int selectedElementHash)
-
selectPickListElem
public void selectPickListElem()
-
doManuallySync
public void doManuallySync()
-
isShowManuallySyncButton
public boolean isShowManuallySyncButton()
-
isManuallySync
public boolean isManuallySync()
-
setManuallySync
public void setManuallySync(boolean sync)
-
isVisible
public boolean isVisible(FormElementModel fem)
-
getParamNameEditFormElementHash
public String getParamNameEditFormElementHash()
-
onEditElementSelection
public void onEditElementSelection()
Sets the form element that can be edited from request parameter
-
onFormElementTransfer
public void onFormElementTransfer(org.primefaces.event.TransferEvent event)
-
save
public void save()
- Overrides:
save
in classAProjectDetailsBean
-
update
protected Projekt update(IEntityContext ec, Projekt project) throws Exception
- Throws:
Exception
-
-