Package de.xima.fc.gui.bean.project
Class ProjectCreationBean
- 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.project.ProjectCreationBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ProjectCreationBean extends AMessaging
Central bean for creating projects (except for import)- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectCreationBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
copyProject(long projectId)
Creates a copy of the given project, including all directly associated data of the project (form files, access settings etc.)void
copyProjectWithEmptyNewWorkflow(long projectId)
Creates a copy of the given project, but excludes the workflow.void
createEmptyProject()
void
createEmptyProject(String projectScope, boolean openDesigner)
void
createEmptyProject(String projectScope, boolean openDesigner, boolean useOldWorkflow)
void
createProjectFromTemplate(IProjectTemplate template)
Deprecated.void
createProjectFromTemplate(IProjectTemplate template, String projectScope, boolean openDesigner)
Deprecated.void
createProjectFromTemplateId(long projectId)
void
createProjectFromTemplateId(long projectId, String projectScope, boolean openDesigner)
void
createProjectTemplate(long projectId)
Projekt
getCreated()
CurrentProjectBean
getCurrentProjectBean()
String
getImageLink(Projekt project)
ProjectFilterBean
getProjectFilterBean()
ProjectTemplateBean
getProjectTemplateBean()
SessionBean
getSessionBean()
Deprecated.boolean
hasPreviewImage(Projekt project)
void
setCreated(Projekt created)
void
setCurrentProjectBean(CurrentProjectBean currentProjectBean)
Deprecated.void
setProjectFilterBean(ProjectFilterBean projectFilterBean)
Deprecated.void
setSessionBean(SessionBean sessionBean)
Deprecated.-
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
-
-
-
-
Method Detail
-
getProjectFilterBean
public ProjectFilterBean getProjectFilterBean()
-
getProjectTemplateBean
public ProjectTemplateBean getProjectTemplateBean()
-
getCurrentProjectBean
public CurrentProjectBean getCurrentProjectBean()
-
getCreated
public Projekt getCreated()
-
setCreated
public void setCreated(Projekt created)
-
createEmptyProject
public void createEmptyProject()
-
createEmptyProject
public void createEmptyProject(String projectScope, boolean openDesigner)
-
createEmptyProject
public void createEmptyProject(String projectScope, boolean openDesigner, boolean useOldWorkflow)
-
createProjectFromTemplateId
public void createProjectFromTemplateId(long projectId)
-
createProjectFromTemplateId
public void createProjectFromTemplateId(long projectId, String projectScope, boolean openDesigner)
-
createProjectTemplate
public void createProjectTemplate(long projectId)
-
copyProjectWithEmptyNewWorkflow
public void copyProjectWithEmptyNewWorkflow(long projectId)
Creates a copy of the given project, but excludes the workflow. Instead, creates an empty new workflow configuration.- Parameters:
projectId
- ID of the project to copy.
-
copyProject
public void copyProject(long projectId)
Creates a copy of the given project, including all directly associated data of the project (form files, access settings etc.)- Parameters:
projectId
- ID of the project to copy.
-
hasPreviewImage
public boolean hasPreviewImage(Projekt project)
-
getSessionBean
@Deprecated public SessionBean getSessionBean()
Deprecated.
-
setSessionBean
@Deprecated public void setSessionBean(SessionBean sessionBean)
Deprecated.
-
setProjectFilterBean
@Deprecated public void setProjectFilterBean(ProjectFilterBean projectFilterBean)
Deprecated.
-
setCurrentProjectBean
@Deprecated public void setCurrentProjectBean(CurrentProjectBean currentProjectBean)
Deprecated.
-
createProjectFromTemplate
@Deprecated public void createProjectFromTemplate(IProjectTemplate template)
Deprecated.
-
createProjectFromTemplate
@Deprecated public void createProjectFromTemplate(IProjectTemplate template, String projectScope, boolean openDesigner)
Deprecated.
-
-