|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.workflow.spi.hibernate.HibernateStep
public abstract class HibernateStep
This abstract class provides all the implementation of the step interface It is abstract because the current and historical steps are stored in seperate tables. To split the history and current steps into two tables in hibernate, the easiest approach is to use two separate classes.
| Constructor Summary | |
|---|---|
HibernateStep()
|
|
HibernateStep(HibernateStep step)
|
|
| 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. |
HibernateWorkflowEntry |
getEntry()
|
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. |
List |
getPreviousSteps()
|
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 |
setDueDate(Date dueDate)
|
void |
setEntry(HibernateWorkflowEntry entry)
|
void |
setFinishDate(Date finishDate)
|
void |
setId(long id)
|
void |
setOwner(String owner)
|
void |
setPreviousSteps(List previousSteps)
|
void |
setStartDate(Date startDate)
|
void |
setStatus(String status)
|
void |
setStepId(int stepId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateStep()
public HibernateStep(HibernateStep step)
| 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 void setDueDate(Date dueDate)
public Date getDueDate()
Step
getDueDate in interface Steppublic void setEntry(HibernateWorkflowEntry entry)
public HibernateWorkflowEntry getEntry()
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 long[] getPreviousStepIds()
Step
getPreviousStepIds in interface Steppublic void setPreviousSteps(List previousSteps)
public List getPreviousSteps()
public 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 Step
|
OpenSymphony Workflow Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||