Interface I_CmsWorkflowManager

    • Method Detail

      • getManageableProjects

        java.util.List<CmsProjectBeangetManageableProjects​(CmsObject cms,
                                                             java.util.Map<java.lang.String,​java.lang.String> params)
        Returns the current user's manageable projects.

        Parameters:
        cms - the CMS context to use
        params - the publish parameters
        Returns:
        the current user's manageable projects
      • getParameters

        java.util.Map<java.lang.String,​java.lang.String> getParameters()
        Gets the parameters of the workflow manager.

        Returns:
        the configuration parameters of the workflow manager
      • getResourceLimit

        int getResourceLimit()
        Gets the resource limit.

        Publish lists which exceed this limit (counted before adding any related resources, siblings etc.) are not displayed to the user.

        Returns:
        the resource limit
      • getWorkflowForWorkflowProject

        java.lang.String getWorkflowForWorkflowProject​(CmsUUID projectId)
        Gets the workflow id which should be used for a given workflow project.

        Parameters:
        projectId - the project id
        Returns:
        the workflow id for the project
      • getWorkflowResources

        CmsWorkflowResources getWorkflowResources​(CmsObject cms,
                                                  CmsWorkflow workflow,
                                                  CmsPublishOptions options,
                                                  boolean canOverride,
                                                  boolean ignoreLimit)
        Returns the resources for the given workflow and project.

        Parameters:
        cms - the user cms context
        workflow - the workflow
        options - the resource options
        canOverride - flag to indicate whether the workflow manager should be able to override the selected workflow
        ignoreLimit - true if the workflow manager's resource limit should be ignored
        Returns:
        the workflow resources
      • getWorkflows

        java.util.Map<java.lang.String,​CmsWorkflowgetWorkflows​(CmsObject cms)
        Returns the available workflows for the current user.

        Parameters:
        cms - the user cms context
        Returns:
        the available workflows
      • initialize

        void initialize​(CmsObject adminCms)
        Initializes this workflow manager instance.

        Parameters:
        adminCms - the CMS context with admin privileges
      • setParameters

        void setParameters​(java.util.Map<java.lang.String,​java.lang.String> parameters)
        Sets the configuration parameters of the workflow manager.

        Parameters:
        parameters - the map of configuration parameters