Class CmsWorkflowAction

java.lang.Object
org.opencms.ade.publish.shared.CmsWorkflowAction
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsWorkflowAction extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Work flow action information.

  • Field Details

  • Constructor Details

    • CmsWorkflowAction

      public CmsWorkflowAction(String actionKey, String label, boolean isEnabled)
      Constructor.

      Parameters:
      actionKey - the action key
      label - the action label
      isEnabled - true if the action is enabled
    • CmsWorkflowAction

      public CmsWorkflowAction(String actionKey, String label, boolean isEnabled, boolean isPublish)
      Constructor.

      Parameters:
      actionKey - the action key
      label - the action label
      isEnabled - true if the action is enabled
      isPublish - a flag to distinguish publish actions from other workflow actions
    • CmsWorkflowAction

      protected CmsWorkflowAction()
      Constructor. For serialization only.

  • Method Details

    • getAction

      public String getAction()
      Returns the action key.

      Returns:
      the action key
    • getLabel

      public String getLabel()
      Returns the action label.

      Returns:
      the action label
    • isEnabled

      public boolean isEnabled()
      Returns if the action is enabled.

      Returns:
      true if the action is enabled
    • isPublish

      public boolean isPublish()
      Check whether this action is a publish action.

      Returns:
      true if this is a publish action