| java.lang.Object com.flexive.shared.workflow.Step
All known Subclasses: com.flexive.shared.workflow.StepEdit,
Step | public class Step implements Serializable(Code) | | StepEngine data beans.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | Step(long id, long stepDefinitionId, long workflowId, long aclId) Creates a new workflow step. | public | Step(long id, long stepDefinitionId, long aclId) Creates a new workflow step that is not assigned to an existing workflow. | public | Step(long id, Step step) Creates a new workflow step. | public | Step(Step step) | protected | Step() Protected default constructor. |
Method Summary | |
public StepEdit | asEditable() Returns this step as an editable instance. | public boolean | equals(Object o) Compares two workflow steps by their internal ID. | public long | getAclId() Returns the id of the ACL assigned to the step. | public long | getId() Returns the unique id of the step. | public long | getStepDefinitionId() Returns the unqiue stepDefinition id this step belongs to. | public long | getWorkflowId() Returns the of the workfow the step belongs to. | public int | hashCode() | public boolean | isEditStep() Returns true id the step is the EDIT step. | public boolean | isLiveStep() Returns true id the step is the LIVE step. | public String | toString() |
aclId | protected long aclId(Code) | | |
stepDefinitionId | protected long stepDefinitionId(Code) | | |
workflowId | protected long workflowId(Code) | | |
Step | public Step(long id, long stepDefinitionId, long workflowId, long aclId)(Code) | | Creates a new workflow step.
Parameters: id - the step ID Parameters: stepDefinitionId - the step definition ID Parameters: workflowId - the workflow ID Parameters: aclId - the ACL ID for the step |
Step | public Step(long id, long stepDefinitionId, long aclId)(Code) | | Creates a new workflow step that is not assigned to an existing workflow.
Parameters: id - the step ID Parameters: stepDefinitionId - the step definition ID Parameters: aclId - the ACL ID for the step |
Step | public Step(long id, Step step)(Code) | | Creates a new workflow step.
Parameters: id - the step ID Parameters: step - the step instance to be used for the other fields |
Step | public Step(Step step)(Code) | | Copy constructor
Parameters: step - source step |
Step | protected Step()(Code) | | Protected default constructor.
|
asEditable | public StepEdit asEditable()(Code) | | Returns this step as an editable instance.
this step as an editable instance. |
equals | public boolean equals(Object o)(Code) | | Compares two workflow steps by their internal ID.
Parameters: o - the step this object should be compared to true if the steps are equal |
getAclId | public long getAclId()(Code) | | Returns the id of the ACL assigned to the step.
the id of the ACL assigned to the step. |
getId | public long getId()(Code) | | Returns the unique id of the step.
the unique id of the step |
getStepDefinitionId | public long getStepDefinitionId()(Code) | | Returns the unqiue stepDefinition id this step belongs to.
the unqiue stepDefinition id this step belongs to. |
getWorkflowId | public long getWorkflowId()(Code) | | Returns the of the workfow the step belongs to.
the id of the workfow the step belongs to |
hashCode | public int hashCode()(Code) | |
|
isEditStep | public boolean isEditStep()(Code) | | Returns true id the step is the EDIT step.
true if the step is the EDIT step. |
isLiveStep | public boolean isLiveStep()(Code) | | Returns true id the step is the LIVE step.
true if the step is the LIVE step. |
|
|