com.opensymphony.workflow.spi.hibernate
Class HibernateWorkflowEntry

java.lang.Object
  extended by com.opensymphony.workflow.spi.hibernate.HibernateWorkflowEntry
All Implemented Interfaces:
WorkflowEntry

public class HibernateWorkflowEntry
extends Object
implements WorkflowEntry

Author:
Hani

Field Summary
 
Fields inherited from interface com.opensymphony.workflow.spi.WorkflowEntry
ACTIVATED, COMPLETED, CREATED, KILLED, SUSPENDED, UNKNOWN
 
Constructor Summary
HibernateWorkflowEntry()
           
 
Method Summary
 void addCurrentSteps(HibernateCurrentStep step)
           
 void addHistorySteps(HibernateHistoryStep step)
           
 List getCurrentSteps()
           
 List getHistorySteps()
           
 long getId()
          Returns the unique ID of the workflow entry.
 int getState()
           
protected  int getVersion()
           
 String getWorkflowName()
          Returns the name of the workflow that this entry is an instance of.
 boolean isInitialized()
          Returns true if the workflow entry has been initialized.
 void removeCurrentSteps(HibernateCurrentStep step)
           
 void setCurrentSteps(List currentSteps)
           
 void setHistorySteps(List historySteps)
           
 void setId(long id)
           
 void setState(int state)
           
protected  void setVersion(int version)
           
 void setWorkflowName(String workflowName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateWorkflowEntry

public HibernateWorkflowEntry()
Method Detail

setCurrentSteps

public void setCurrentSteps(List currentSteps)

getCurrentSteps

public List getCurrentSteps()

setHistorySteps

public void setHistorySteps(List historySteps)

getHistorySteps

public List getHistorySteps()

setId

public void setId(long id)

getId

public long getId()
Description copied from interface: WorkflowEntry
Returns the unique ID of the workflow entry.

Specified by:
getId in interface WorkflowEntry

isInitialized

public boolean isInitialized()
Description copied from interface: WorkflowEntry
Returns true if the workflow entry has been initialized.

Specified by:
isInitialized in interface WorkflowEntry

setState

public void setState(int state)

getState

public int getState()
Specified by:
getState in interface WorkflowEntry

setWorkflowName

public void setWorkflowName(String workflowName)

getWorkflowName

public String getWorkflowName()
Description copied from interface: WorkflowEntry
Returns the name of the workflow that this entry is an instance of.

Specified by:
getWorkflowName in interface WorkflowEntry

addCurrentSteps

public void addCurrentSteps(HibernateCurrentStep step)

addHistorySteps

public void addHistorySteps(HibernateHistoryStep step)

removeCurrentSteps

public void removeCurrentSteps(HibernateCurrentStep step)

setVersion

protected void setVersion(int version)

getVersion

protected int getVersion()

OpenSymphony Workflow Project Page