|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.workflow.spi.SimpleStep
public class SimpleStep
Simple implementation
| Constructor Summary | |
|---|---|
SimpleStep()
|
|
SimpleStep(long id,
long entryId,
int stepId,
int actionId,
String owner,
Date startDate,
Date dueDate,
Date finishDate,
String status,
long[] previousStepIds,
String caller)
|
|
| 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. |
void |
setActionId(int actionId)
|
void |
setCaller(String caller)
|
void |
setEntryId(long entryId)
|
void |
setFinishDate(Date finishDate)
|
void |
setId(long id)
|
void |
setOwner(String owner)
|
void |
setPreviousStepIds(long[] previousStepIds)
|
void |
setStartDate(Date startDate)
|
void |
setStatus(String status)
|
void |
setStepId(int stepId)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleStep()
public SimpleStep(long id,
long entryId,
int stepId,
int actionId,
String owner,
Date startDate,
Date dueDate,
Date finishDate,
String status,
long[] previousStepIds,
String caller)
| Method Detail |
|---|
public void setActionId(int actionId)
public int getActionId()
Step
getActionId in interface Steppublic void setCaller(String caller)
public String getCaller()
getCaller in interface Steppublic Date getDueDate()
Step
getDueDate in interface Steppublic void setEntryId(long entryId)
public long getEntryId()
Step
getEntryId in interface Steppublic void setFinishDate(Date finishDate)
public Date getFinishDate()
Step
getFinishDate in interface Steppublic void setId(long id)
public long getId()
Step
getId in interface Steppublic void setOwner(String owner)
public String getOwner()
Step
getOwner in interface Steppublic void setPreviousStepIds(long[] previousStepIds)
public long[] getPreviousStepIds()
Step
getPreviousStepIds in interface Steppublic void setStartDate(Date startDate)
public Date getStartDate()
Step
getStartDate in interface Steppublic void setStatus(String status)
public String getStatus()
Step
getStatus in interface Steppublic void setStepId(int stepId)
public int getStepId()
Step
getStepId in interface Steppublic String toString()
toString in class Object
|
OpenSymphony Workflow Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||