Class 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 Detail

      • ProjectCreationBean

        public ProjectCreationBean()
    • Method Detail

      • 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)