com.opensymphony.workflow.spi
Interface Step

All Known Implementing Classes:
HibernateCurrentStep, HibernateHistoryStep, HibernateStep, OJBCurrentStep, OJBHistoryStep, OJBStep, SimpleStep

public interface Step

Interface for a step associated with a workflow instance.

Author:
Pat Lightbody

Method Summary
 int getActionId()
          Returns the ID of the action associated with this step, or 0 if there is no action associated.
 String getCaller()
           
 Date getDueDate()
          Returns an optional date signifying when this step must be finished.
 long getEntryId()
          Returns the unique ID of the workflow entry.
 Date getFinishDate()
          Returns the date this step was finished, or null if it isn't finished.
 long getId()
          Returns the unique ID of this step.
 String getOwner()
          Returns the owner of this step, or null if there is no owner.
 long[] getPreviousStepIds()
          Returns the unique ID of the previous step, or 0 if this is the first step.
 Date getStartDate()
          Returns the date that this step was created.
 String getStatus()
          Returns the status of this step.
 int getStepId()
          Returns the ID of the step in the workflow definition.
 

Method Detail

getActionId

int getActionId()
Returns the ID of the action associated with this step, or 0 if there is no action associated.


getCaller

String getCaller()

getDueDate

Date getDueDate()
Returns an optional date signifying when this step must be finished.


getEntryId

long getEntryId()
Returns the unique ID of the workflow entry.


getFinishDate

Date getFinishDate()
Returns the date this step was finished, or null if it isn't finished.


getId

long getId()
Returns the unique ID of this step.


getOwner

String getOwner()
Returns the owner of this step, or null if there is no owner.


getPreviousStepIds

long[] getPreviousStepIds()
Returns the unique ID of the previous step, or 0 if this is the first step.


getStartDate

Date getStartDate()
Returns the date that this step was created.


getStatus

String getStatus()
Returns the status of this step.


getStepId

int getStepId()
Returns the ID of the step in the workflow definition.


OpenSymphony Workflow Project Page