Package org.opencms.ade.publish.shared
Class CmsWorkflow
java.lang.Object
org.opencms.ade.publish.shared.CmsWorkflow
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
A bean which represents a possible workflow, containing an identifier, a user-readable name
and a list of workflow actions.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor.CmsWorkflow
(String id, String niceName, List<CmsWorkflowAction> actions) Creates a new workflow bean instance. -
Method Summary
-
Constructor Details
-
CmsWorkflow
Creates a new workflow bean instance.- Parameters:
id
- the identifier for the workflow typeniceName
- the nice name for the workflow which is displayed to the useractions
- the actions which are possible in this workflow
-
CmsWorkflow
protected CmsWorkflow()Constructor. For serialization only.
-
-
Method Details
-
equals
-
getActions
Returns the list of actions which are possible in this workflow.- Returns:
- the actions possible in this workflow
-
getId
Gets the workflow identifier.- Returns:
- the workflow identifier
-
getNiceName
Gets the user-readable nice name for the workflow.- Returns:
- the nice name for the workflow
-
hashCode
-