|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdatableProcessInstanceManager
The workflow engine services relate to process instance management.
Method Summary | |
---|---|
ProcessInstance |
createProcessInstance(String modelId)
Creates a new process instance |
void |
lock(ProcessInstance instance,
State state,
User user)
Locks the given instance for the given instance and state |
void |
removeProcessInstance(String instanceId)
Removes a new process instance |
void |
unlock(ProcessInstance instance,
State state,
User user)
Locks the given instance for the given instance and state |
Methods inherited from interface com.silverpeas.workflow.api.ProcessInstanceManager |
---|
createActor, createHistoryStep, getProcessInstance, getProcessInstances, getProcessInstances, getProcessInstancesInState, getTimeOutProcessInstances |
Method Detail |
---|
ProcessInstance createProcessInstance(String modelId) throws WorkflowException
modelId
- model id
WorkflowException
void removeProcessInstance(String instanceId) throws WorkflowException
instanceId
- instance id
WorkflowException
void lock(ProcessInstance instance, State state, User user) throws WorkflowException
instance
- instance that have to be lockedstate
- state that have to be lockeduser
- the locking user
WorkflowException
void unlock(ProcessInstance instance, State state, User user) throws WorkflowException
instance
- instance that have to be lockedstate
- state that have to be lockeduser
- the locking user
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |