com.opensymphony.workflow.spi.ejb
Interface WorkflowStoreRemote

All Superinterfaces:
javax.ejb.EJBObject, Remote

public interface WorkflowStoreRemote
extends javax.ejb.EJBObject

Remote interface for WorkflowStore.

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

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 interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

setEntryState

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

createCurrentStep

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

createEntry

WorkflowEntry createEntry(String workflowName)
                          throws StoreException,
                                 RemoteException
Throws:
StoreException
RemoteException

findCurrentSteps

List findCurrentSteps(long entryId)
                      throws StoreException,
                             RemoteException
Throws:
StoreException
RemoteException

findEntry

WorkflowEntry findEntry(long entryId)
                        throws StoreException,
                               RemoteException
Throws:
StoreException
RemoteException

findHistorySteps

List findHistorySteps(long entryId)
                      throws StoreException,
                             RemoteException
Throws:
StoreException
RemoteException

markFinished

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

moveToHistory

void moveToHistory(Step step)
                   throws StoreException,
                          RemoteException
Throws:
StoreException
RemoteException

query

List query(WorkflowQuery query)
           throws StoreException,
                  RemoteException
Throws:
StoreException
RemoteException

query

List query(WorkflowExpressionQuery query)
           throws StoreException,
                  RemoteException
Throws:
StoreException
RemoteException

OpenSymphony Workflow Project Page