|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessInstanceManager
The workflow engine services relate to process instance management.
Method Summary | |
---|---|
Actor |
createActor(User user,
String roleName,
State state)
Builds an actor from a user and a role. |
HistoryStep |
createHistoryStep()
Build a new HistoryStep Return an object implementing HistoryStep interface |
ProcessInstance |
getProcessInstance(String instanceId)
Get the process instances for a given instance id |
ProcessInstance[] |
getProcessInstances(String peasId,
User user,
String role)
Get the list of process instances for a given peas Id, user and role. |
ProcessInstance[] |
getProcessInstances(String peasId,
User user,
String role,
String[] userRoles,
String[] groupIds)
Get the list of process instances for a given peas Id, user and role, and user's roles. |
ProcessInstance[] |
getProcessInstancesInState(String peasId,
State state)
Get the list of process instances for a given peas Id, that have the given state activated |
ProcessInstance[] |
getTimeOutProcessInstances()
Get the list of process instances for which timeout date is over |
Method Detail |
---|
ProcessInstance[] getProcessInstances(String peasId, User user, String role) throws WorkflowException
peasId
- id of processManager instanceuser
- user for who the process instance list isrole
- role name of the user for who the process instance list is (useful when user has
different roles)
WorkflowException
ProcessInstance[] getProcessInstances(String peasId, User user, String role, String[] userRoles, String[] groupIds) throws WorkflowException
peasId
- id of processManager instanceuser
- user for who the process instance list isrole
- role name of the user for who the process instance list is (useful when user hasuserRoles
- all role names that user has for this component instance different roles)
WorkflowException
ProcessInstance[] getProcessInstancesInState(String peasId, State state) throws WorkflowException
peasId
- id of processManager instancestate
- activated state
WorkflowException
ProcessInstance getProcessInstance(String instanceId) throws WorkflowException
instanceId
- id of searched instance
WorkflowException
HistoryStep createHistoryStep()
Actor createActor(User user, String roleName, State state)
ProcessInstance[] getTimeOutProcessInstances() throws WorkflowException
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |