Class CmsPublishData

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

    public class CmsPublishData
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    A bean that contains both publish options and a map of projects.

    Since:
    8.0
    • Constructor Detail

      • CmsPublishData

        public CmsPublishData​(CmsPublishOptions options,
                              java.util.List<CmsProjectBean> projects,
                              CmsPublishGroupList groups,
                              java.util.Map<java.lang.String,​CmsWorkflow> workflows,
                              java.lang.String selectedWorkflowId)
        Creates a new instance.

        Parameters:
        options - the publish options
        projects - the map of projects
        groups - the publish groups
        workflows - the available work flows
        selectedWorkflowId - the selected workflow id
    • Method Detail

      • getCloseLink

        public java.lang.String getCloseLink()
        Gets the close link to open when the dialog is finished.

        Returns:
        the close link
      • getProjects

        public java.util.List<CmsProjectBeangetProjects()
        Returns the list of projects.

        Returns:
        the list of projects
      • getSelectedWorkflowId

        public java.lang.String getSelectedWorkflowId()
        Returns the selected workflow.

        Returns:
        the selected workflow
      • getWorkflows

        public java.util.Map<java.lang.String,​CmsWorkflowgetWorkflows()
        Returns the available work flow actions.

        Returns:
        the available work flow actions
      • isShowConfirmation

        public boolean isShowConfirmation()
        Returns true if the confirmation dialog should be shown before returning to the workplace.

        Returns:
        true if the confirmation dialog is enabled
      • setCloseLink

        public void setCloseLink​(java.lang.String closeLink)
        Sets the close link.

        Parameters:
        closeLink - the close link
      • setShowConfirmation

        public void setShowConfirmation​(boolean confirm)
        Enables or disables showing the confirmation dialog before returning to the workplace.

        Parameters:
        confirm - true if the confirmation dialog should be shown