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
public class CmsWorkflow extends java.lang.Object implements 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
Constructors Modifier Constructor Description protected
CmsWorkflow()
Constructor.CmsWorkflow(java.lang.String id, java.lang.String niceName, java.util.List<CmsWorkflowAction> actions)
Creates a new workflow bean instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<CmsWorkflowAction>
getActions()
Returns the list of actions which are possible in this workflow.java.lang.String
getId()
Gets the workflow identifier.java.lang.String
getNiceName()
Gets the user-readable nice name for the workflow.int
hashCode()
-
-
-
Constructor Detail
-
CmsWorkflow
public CmsWorkflow(java.lang.String id, java.lang.String niceName, java.util.List<CmsWorkflowAction> actions)
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 Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
getActions
public java.util.List<CmsWorkflowAction> getActions()
Returns the list of actions which are possible in this workflow.- Returns:
- the actions possible in this workflow
-
getId
public java.lang.String getId()
Gets the workflow identifier.- Returns:
- the workflow identifier
-
getNiceName
public java.lang.String getNiceName()
Gets the user-readable nice name for the workflow.- Returns:
- the nice name for the workflow
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
-