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
@Named @ViewScoped public class ProjectUpdateWorkflowBean extends AProjectDetailsBean
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
entity, LOG
-
-
Constructor Summary
Constructors Constructor Description ProjectUpdateWorkflowBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copy()
Creates a copy of the given project, but excludes the workflow.protected void
init(IEntityContext ec, Projekt entity)
boolean
isDoiActive()
-
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, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
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
protected void init(IEntityContext ec, Projekt entity)
- Overrides:
init
in classAEntityDetailsBean<Projekt>
-
-