|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkflowRemote
Remote interface for Workflow.
| Method Summary | |
|---|---|
boolean |
canInitialize(String workflowName,
int initialAction)
|
boolean |
canInitialize(String workflowName,
int initialAction,
Map inputs)
|
boolean |
canModifyEntryState(long id,
int newState)
|
void |
changeEntryState(long id,
int newState)
|
void |
doAction(long id,
int actionId,
Map inputs)
|
void |
executeTriggerFunction(long id,
int triggerId)
|
int[] |
getAvailableActions(long id)
|
int[] |
getAvailableActions(long id,
Map inputs)
Get the available actions for the specified workflow instance. |
List |
getCurrentSteps(long id)
|
int |
getEntryState(long id)
|
List |
getHistorySteps(long id)
|
Properties |
getPersistenceProperties()
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(long id)
Get the PropertySet for the specified workflow ID |
List |
getSecurityPermissions(long id)
|
List |
getSecurityPermissions(long id,
Map inputs)
|
WorkflowDescriptor |
getWorkflowDescriptor(String workflowName)
Returns a workflow definition object associated with the given name. |
String |
getWorkflowName(long id)
|
String[] |
getWorkflowNames()
Get a list of workflow names available |
long |
initialize(String workflowName,
int initialAction,
Map inputs)
|
List |
query(WorkflowExpressionQuery query)
|
List |
query(WorkflowQuery query)
|
boolean |
removeWorkflowDescriptor(String workflowName)
|
boolean |
saveWorkflowDescriptor(String workflowName,
WorkflowDescriptor descriptor,
boolean replace)
|
void |
setConfiguration(Configuration configuration)
|
| Methods inherited from interface javax.ejb.EJBObject |
|---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
int[] getAvailableActions(long id)
throws RemoteException
RemoteException
int[] getAvailableActions(long id,
Map inputs)
throws RemoteException
id - The workflow instance id.inputs - The inputs map to pass on to conditions
IllegalArgumentException - if the specified id does not exist, or if its workflow descriptor is no longer available or has become invalid.
RemoteException
void setConfiguration(Configuration configuration)
throws RemoteException
RemoteException
List getCurrentSteps(long id)
throws RemoteException
RemoteException
int getEntryState(long id)
throws RemoteException
RemoteException
List getHistorySteps(long id)
throws RemoteException
RemoteException
Properties getPersistenceProperties()
throws RemoteException
RemoteException
com.opensymphony.module.propertyset.PropertySet getPropertySet(long id)
throws RemoteException
id - The workflow ID
RemoteException
List getSecurityPermissions(long id)
throws RemoteException
RemoteException
List getSecurityPermissions(long id,
Map inputs)
throws RemoteException
RemoteException
WorkflowDescriptor getWorkflowDescriptor(String workflowName)
throws RemoteException
workflowName - the name of the workflow
RemoteException
String getWorkflowName(long id)
throws RemoteException
RemoteException
String[] getWorkflowNames()
throws RemoteException
RemoteException
boolean canInitialize(String workflowName,
int initialAction)
throws RemoteException
RemoteException
boolean canInitialize(String workflowName,
int initialAction,
Map inputs)
throws RemoteException
RemoteException
boolean canModifyEntryState(long id,
int newState)
throws RemoteException
RemoteException
void changeEntryState(long id,
int newState)
throws WorkflowException,
RemoteException
WorkflowException
RemoteException
void doAction(long id,
int actionId,
Map inputs)
throws WorkflowException,
RemoteException
WorkflowException
RemoteException
void executeTriggerFunction(long id,
int triggerId)
throws WorkflowException,
RemoteException
WorkflowException
RemoteException
long initialize(String workflowName,
int initialAction,
Map inputs)
throws InvalidRoleException,
InvalidInputException,
StoreException,
WorkflowException,
RemoteException
InvalidRoleException
InvalidInputException
StoreException
WorkflowException
RemoteException
List query(WorkflowQuery query)
throws StoreException,
RemoteException
StoreException
RemoteException
List query(WorkflowExpressionQuery query)
throws WorkflowException,
RemoteException
WorkflowException
RemoteException
boolean removeWorkflowDescriptor(String workflowName)
throws FactoryException,
RemoteException
FactoryException
RemoteException
boolean saveWorkflowDescriptor(String workflowName,
WorkflowDescriptor descriptor,
boolean replace)
throws FactoryException,
RemoteException
FactoryException
RemoteException
|
OpenSymphony Workflow Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||