| com.opensymphony.workflow.ejb.WorkflowRemote
WorkflowRemote | public interface WorkflowRemote extends javax.ejb.EJBObject(Code) | | Remote interface for Workflow.
author: Pat Lightbody author: Hani Suleiman version: $Revision: 1.7 $ |
Method Summary | |
public boolean | canInitialize(java.lang.String workflowName, int initialAction) | public boolean | canInitialize(java.lang.String workflowName, int initialAction, java.util.Map inputs) | public boolean | canModifyEntryState(long id, int newState) | public void | changeEntryState(long id, int newState) | public void | doAction(long id, int actionId, java.util.Map inputs) | public void | executeTriggerFunction(long id, int triggerId) | public int[] | getAvailableActions(long id) | public int[] | getAvailableActions(long id, java.util.Map inputs) Get the available actions for the specified workflow instance.
Parameters: id - The workflow instance id. Parameters: inputs - The inputs map to pass on to conditions An array of action id's that can be performed on the specified entry. throws: IllegalArgumentException - if the specified id does not exist, or if its workflow descriptor is no longer available or has become invalid. | public java.util.List | getCurrentSteps(long id) | public int | getEntryState(long id) | public java.util.List | getHistorySteps(long id) | public java.util.Properties | getPersistenceProperties() | public com.opensymphony.module.propertyset.PropertySet | getPropertySet(long id) | public java.util.List | getSecurityPermissions(long id) | public java.util.List | getSecurityPermissions(long id, java.util.Map inputs) | public com.opensymphony.workflow.loader.WorkflowDescriptor | getWorkflowDescriptor(java.lang.String workflowName) Returns a workflow definition object associated with the given name. | public java.lang.String | getWorkflowName(long id) | public java.lang.String[] | getWorkflowNames() | public long | initialize(java.lang.String workflowName, int initialAction, java.util.Map inputs) | public java.util.List | query(com.opensymphony.workflow.query.WorkflowQuery query) | public java.util.List | query(com.opensymphony.workflow.query.WorkflowExpressionQuery query) | public boolean | removeWorkflowDescriptor(java.lang.String workflowName) | public boolean | saveWorkflowDescriptor(java.lang.String workflowName, com.opensymphony.workflow.loader.WorkflowDescriptor descriptor, boolean replace) | public void | setConfiguration(com.opensymphony.workflow.config.Configuration configuration) |
getAvailableActions | public int[] getAvailableActions(long id, java.util.Map inputs) throws java.rmi.RemoteException(Code) | | Get the available actions for the specified workflow instance.
Parameters: id - The workflow instance id. Parameters: inputs - The inputs map to pass on to conditions An array of action id's that can be performed on the specified entry. throws: IllegalArgumentException - if the specified id does not exist, or if its workflow descriptor is no longer available or has become invalid. |
getPropertySet | public com.opensymphony.module.propertyset.PropertySet getPropertySet(long id) throws java.rmi.RemoteException(Code) | | Get the PropertySet for the specified workflow ID
Parameters: id - The workflow ID |
|
|