Package org.opencms.ade.publish.shared
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 Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor.CmsWorkflowAction
(String actionKey, String label, boolean isEnabled) Constructor.CmsWorkflowAction
(String actionKey, String label, boolean isEnabled, boolean isPublish) Constructor. -
Method Summary
-
Field Details
-
ACTION_CANCEL
The cancel workflow action.- See Also:
-
-
Constructor Details
-
CmsWorkflowAction
Constructor.- Parameters:
actionKey
- the action keylabel
- the action labelisEnabled
-true
if the action is enabled
-
CmsWorkflowAction
Constructor.- Parameters:
actionKey
- the action keylabel
- the action labelisEnabled
-true
if the action is enabledisPublish
- a flag to distinguish publish actions from other workflow actions
-
CmsWorkflowAction
protected CmsWorkflowAction()Constructor. For serialization only.
-
-
Method Details
-
getAction
Returns the action key.- Returns:
- the action key
-
getLabel
Returns the action label.- Returns:
- the action label
-
isEnabled
Returns if the action is enabled.- Returns:
true
if the action is enabled
-
isPublish
Check whether this action is a publish action.- Returns:
- true if this is a publish action
-