com.opensymphony.workflow.spi.ejb
Class WorkflowStoreSessionEJB

java.lang.Object
  extended by com.opensymphony.workflow.spi.ejb.WorkflowStoreSessionEJB
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
Direct Known Subclasses:
WorkflowStoreSession

public abstract class WorkflowStoreSessionEJB
extends Object
implements javax.ejb.SessionBean

Version:
$Revision: 1.3 $ Date: Apr 7, 2003 Time: 10:57:28 PM
Author:
Hani Suleiman
See Also:
Serialized Form

Constructor Summary
WorkflowStoreSessionEJB()
           
 
Method Summary
 Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds)
           
 WorkflowEntry createEntry(String workflowName)
           
 List findCurrentSteps(long entryId)
           
 WorkflowEntry findEntry(long entryId)
           
 List findHistorySteps(long entryId)
           
 Step markFinished(Step step, int actionId, Date finishDate, String status, String caller)
           
 void moveToHistory(Step step)
           
 List query(WorkflowExpressionQuery query)
           
 List query(WorkflowQuery query)
           
 void setEntryState(long entryId, int state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.SessionBean
ejbActivate, ejbPassivate, ejbRemove, setSessionContext
 

Constructor Detail

WorkflowStoreSessionEJB

public WorkflowStoreSessionEJB()
Method Detail

setEntryState

public void setEntryState(long entryId,
                          int state)
                   throws StoreException
Throws:
StoreException

createCurrentStep

public Step createCurrentStep(long entryId,
                              int stepId,
                              String owner,
                              Date startDate,
                              Date dueDate,
                              String status,
                              long[] previousIds)
                       throws StoreException
Throws:
StoreException

createEntry

public WorkflowEntry createEntry(String workflowName)
                          throws StoreException
Throws:
StoreException

findCurrentSteps

public List findCurrentSteps(long entryId)
                      throws StoreException
Throws:
StoreException

findEntry

public WorkflowEntry findEntry(long entryId)
                        throws StoreException
Throws:
StoreException

findHistorySteps

public List findHistorySteps(long entryId)
                      throws StoreException
Throws:
StoreException

markFinished

public Step markFinished(Step step,
                         int actionId,
                         Date finishDate,
                         String status,
                         String caller)
                  throws StoreException
Throws:
StoreException

moveToHistory

public void moveToHistory(Step step)
                   throws StoreException
Throws:
StoreException

query

public List query(WorkflowQuery query)
           throws StoreException
Throws:
StoreException

query

public List query(WorkflowExpressionQuery query)
           throws StoreException
Throws:
StoreException

OpenSymphony Workflow Project Page