@Component public class ProcessInstanceController extends Object
Constructor and Description |
---|
ProcessInstanceController() |
Modifier and Type | Method and Description |
---|---|
void |
notifyWorkItemCompleted(String workItemName,
String assigneeOid,
String processInstanceName,
Map<String,Object> processVariables,
Boolean approved) |
void |
notifyWorkItemCreated(String workItemName,
String assigneeOid,
String processInstanceName,
Map<String,Object> processVariables) |
void |
processWorkflowMessage(ProcessEvent event,
Task task,
OperationResult result)
Processes a message got from workflow engine - either synchronously (while waiting for
replies after sending - i.e.
|
void |
registerProcessListener(ProcessListener processListener) |
void |
registerWorkItemListener(WorkItemListener workItemListener) |
void |
startProcessInstance(StartProcessInstruction instruction,
Task task,
OperationResult result) |
public void startProcessInstance(StartProcessInstruction instruction, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException
public void processWorkflowMessage(ProcessEvent event, Task task, OperationResult result) throws Exception
event
- an event got from workflow enginetask
- a task instance (should be as current as possible)result
- Exception
public void registerProcessListener(ProcessListener processListener)
public void registerWorkItemListener(WorkItemListener workItemListener)
public void notifyWorkItemCreated(String workItemName, String assigneeOid, String processInstanceName, Map<String,Object> processVariables)
Copyright © 2013 evolveum. All rights reserved.