Package com.opensymphony.workflow.spi
Class SimpleStep
java.lang.Object
com.opensymphony.workflow.spi.SimpleStep
- All Implemented Interfaces:
Step,Serializable
Simple implementation
- Author:
- Pat Lightbody
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the ID of the action associated with this step, or 0 if there is no action associated.Returns an optional date signifying when this step must be finished.longReturns the unique ID of the workflow entry.Returns the date this step was finished, or null if it isn't finished.longgetId()Returns the unique ID of this step.getOwner()Returns the owner of this step, or null if there is no owner.long[]Returns the unique ID of the previous step, or 0 if this is the first step.Returns the date that this step was created.Returns the status of this step.intReturns the ID of the step in the workflow definition.voidsetActionId(int actionId) voidvoidsetDueDate(Date dueDate) voidsetEntryId(long entryId) voidsetFinishDate(Date finishDate) voidsetId(long id) voidvoidsetPreviousStepIds(long[] previousStepIds) voidsetStartDate(Date startDate) voidvoidsetStepId(int stepId) toString()
-
Constructor Details
-
SimpleStep
public SimpleStep() -
SimpleStep
-
-
Method Details
-
setActionId
public void setActionId(int actionId) -
getActionId
public int getActionId()Description copied from interface:StepReturns the ID of the action associated with this step, or 0 if there is no action associated.- Specified by:
getActionIdin interfaceStep
-
setCaller
-
getCaller
-
setDueDate
-
getDueDate
Description copied from interface:StepReturns an optional date signifying when this step must be finished.- Specified by:
getDueDatein interfaceStep
-
setEntryId
public void setEntryId(long entryId) -
getEntryId
public long getEntryId()Description copied from interface:StepReturns the unique ID of the workflow entry.- Specified by:
getEntryIdin interfaceStep
-
setFinishDate
-
getFinishDate
Description copied from interface:StepReturns the date this step was finished, or null if it isn't finished.- Specified by:
getFinishDatein interfaceStep
-
setId
public void setId(long id) -
getId
public long getId()Description copied from interface:StepReturns the unique ID of this step. -
setOwner
-
getOwner
Description copied from interface:StepReturns the owner of this step, or null if there is no owner. -
setPreviousStepIds
public void setPreviousStepIds(long[] previousStepIds) -
getPreviousStepIds
public long[] getPreviousStepIds()Description copied from interface:StepReturns the unique ID of the previous step, or 0 if this is the first step.- Specified by:
getPreviousStepIdsin interfaceStep
-
setStartDate
-
getStartDate
Description copied from interface:StepReturns the date that this step was created.- Specified by:
getStartDatein interfaceStep
-
setStatus
-
getStatus
Description copied from interface:StepReturns the status of this step. -
setStepId
public void setStepId(int stepId) -
getStepId
public int getStepId()Description copied from interface:StepReturns the ID of the step in the workflow definition. -
toString
-