Package de.xima.fc.gui.bean.project
Class ProjectUpdateWorkflowBean
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<Projekt>
de.xima.fc.gui.bean.project.AProjectDetailsBean
de.xima.fc.gui.bean.project.ProjectUpdateWorkflowBean
- All Implemented Interfaces:
Serializable
Bean for the form overview menu. Let's the user upgrade a form with the old workflow to a form with the new workflow,
by creating a copy with all settings and initializing the new workflow to an empty state.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class de.xima.fc.gui.bean.project.AProjectDetailsBean
userManager
Fields inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
entity, LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy()
Creates a copy of the given project, but excludes the workflow.protected void
init
(IEntityContext ec, Projekt entity) boolean
Methods inherited from class de.xima.fc.gui.bean.project.AProjectDetailsBean
getCurrentProjectBean, getDao, getProject, getSessionBean, reloadProject, save, setCurrentProjectBean, setEntity, setEntity, setProject, setProject, setSessionBean
Methods inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
getEntity
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
-
Constructor Details
-
ProjectUpdateWorkflowBean
public ProjectUpdateWorkflowBean()
-
-
Method Details
-
copy
public void copy()Creates a copy of the given project, but excludes the workflow. Instead, creates an empty new workflow configuration. -
isDoiActive
public boolean isDoiActive()- Returns:
- Whether the double-opt in is configured and active for the current project.
-
init
- Overrides:
init
in classAEntityDetailsBean<Projekt>
-