com.opensymphony.workflow.ejb
Interface WorkflowRemote

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface WorkflowRemote
extends javax.ejb.EJBObject

Remote interface for Workflow.

Version:
$Revision: 1.7 $
Author:
Patrick Lightbody

Method Summary
 boolean canInitialize(java.lang.String workflowName, int initialState)
           
 long createEntry(java.lang.String workflowName)
           
 void doAction(long id, int actionId, java.util.Map inputs)
           
 void executeTriggerFunction(long id, int triggerId)
           
 int[] getActionableSteps(java.lang.String workflowName)
           
 java.lang.String getActionName(long id, int actionId)
           
 int[] getAvailableActions(long id)
           
 HistoryStep getCurrentStatus(long id)
           
 WorkflowHistory getHistory(long id)
           
 com.opensymphony.module.propertyset.PropertySet getPropertySet(long id)
           
 java.util.List getSecurityPermissions(long id)
           
 java.lang.String getStepName(long id, int stepId)
           
 void initialize(long id, int initialState, java.util.Map inputs)
           
 boolean isInitialized(long id)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

createEntry

public long createEntry(java.lang.String workflowName)
                 throws java.rmi.RemoteException

doAction

public void doAction(long id,
                     int actionId,
                     java.util.Map inputs)
              throws InvalidInputException,
                     java.rmi.RemoteException

getActionName

public java.lang.String getActionName(long id,
                                      int actionId)
                               throws java.rmi.RemoteException

getActionableSteps

public int[] getActionableSteps(java.lang.String workflowName)
                         throws java.rmi.RemoteException

getAvailableActions

public int[] getAvailableActions(long id)
                          throws java.rmi.RemoteException

getCurrentStatus

public HistoryStep getCurrentStatus(long id)
                             throws java.rmi.RemoteException

getHistory

public WorkflowHistory getHistory(long id)
                           throws java.rmi.RemoteException

getSecurityPermissions

public java.util.List getSecurityPermissions(long id)
                                      throws java.rmi.RemoteException

getStepName

public java.lang.String getStepName(long id,
                                    int stepId)
                             throws java.rmi.RemoteException

getPropertySet

public com.opensymphony.module.propertyset.PropertySet getPropertySet(long id)
                                                               throws java.rmi.RemoteException

canInitialize

public boolean canInitialize(java.lang.String workflowName,
                             int initialState)
                      throws java.rmi.RemoteException

initialize

public void initialize(long id,
                       int initialState,
                       java.util.Map inputs)
                throws InvalidRoleException,
                       InvalidInputException,
                       java.rmi.RemoteException

isInitialized

public boolean isInitialized(long id)
                      throws java.rmi.RemoteException

executeTriggerFunction

public void executeTriggerFunction(long id,
                                   int triggerId)
                            throws java.rmi.RemoteException

See www.opensymphony.com for more information.