com.opensymphony.workflow.soap
Class BasicSOAPWorkflow
java.lang.Object
|
+--com.opensymphony.workflow.soap.BasicSOAPWorkflow
- All Implemented Interfaces:
- Workflow
- public class BasicSOAPWorkflow
- extends java.lang.Object
- implements Workflow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicSOAPWorkflow
public BasicSOAPWorkflow()
createEntry
public long createEntry(java.lang.String workflowName)
- Description copied from interface:
Workflow
- Create a new workflow entry
- Specified by:
createEntry
in interface Workflow
- Following copied from interface:
com.opensymphony.workflow.Workflow
- Parameters:
workflowName
- The name of the XML file for this workflow- Returns:
- The id of the new workflow
initialize
public void initialize(long id,
int initialState,
java.util.Map inputs)
throws InvalidRoleException,
InvalidInputException
- Specified by:
initialize
in interface Workflow
isInitialized
public boolean isInitialized(long id)
- Specified by:
isInitialized
in interface Workflow
canInitialize
public boolean canInitialize(java.lang.String workflowName,
int initialState)
- Specified by:
canInitialize
in interface Workflow
getAvailableActions
public int[] getAvailableActions(long id)
- Specified by:
getAvailableActions
in interface Workflow
doAction
public void doAction(long id,
int actionId,
java.util.Map inputs)
throws InvalidInputException
- Specified by:
doAction
in interface Workflow
getCurrentStatus
public HistoryStep getCurrentStatus(long id)
- Specified by:
getCurrentStatus
in interface Workflow
getHistory
public WorkflowHistory getHistory(long id)
- Specified by:
getHistory
in interface Workflow
getSecurityPermissions
public java.util.List getSecurityPermissions(long id)
- Specified by:
getSecurityPermissions
in interface Workflow
getActionableSteps
public int[] getActionableSteps(java.lang.String workflowName)
- Specified by:
getActionableSteps
in interface Workflow
getActionName
public java.lang.String getActionName(long id,
int actionId)
- Specified by:
getActionName
in interface Workflow
getStepName
public java.lang.String getStepName(long id,
int stepId)
- Specified by:
getStepName
in interface Workflow
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet(long id)
- Specified by:
getPropertySet
in interface Workflow
executeTriggerFunction
public void executeTriggerFunction(long id,
int triggerId)
- Specified by:
executeTriggerFunction
in interface Workflow