public class CmsWorkflowAction extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_CANCEL
The cancel workflow action.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CmsWorkflowAction()
Constructor.
|
|
CmsWorkflowAction(java.lang.String actionKey,
java.lang.String label,
boolean isEnabled)
Constructor.
|
|
CmsWorkflowAction(java.lang.String actionKey,
java.lang.String label,
boolean isEnabled,
boolean isPublish)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAction()
Returns the action key.
|
java.lang.String |
getLabel()
Returns the action label.
|
boolean |
isEnabled()
Returns if the action is enabled.
|
boolean |
isPublish()
Check whether this action is a publish action.
|
public static final java.lang.String ACTION_CANCEL
public CmsWorkflowAction(java.lang.String actionKey, java.lang.String label, boolean isEnabled)
actionKey - the action keylabel - the action labelisEnabled - true if the action is enabledpublic CmsWorkflowAction(java.lang.String actionKey, java.lang.String label, boolean isEnabled, boolean isPublish)
actionKey - the action keylabel - the action labelisEnabled - true if the action is enabledisPublish - a flag to distinguish publish actions from other workflow actionsprotected CmsWorkflowAction()
public java.lang.String getAction()
public java.lang.String getLabel()
public boolean isEnabled()
true if the action is enabledpublic boolean isPublish()