com.evolveum.midpoint.wf.processes
Interface ProcessWrapper

All Known Implementing Classes:
AddRolesProcessWrapper

public interface ProcessWrapper

Created with IntelliJ IDEA. User: mederly Date: 11.5.2012 Time: 15:02 To change this template use File | Settings | File Templates.


Method Summary
 boolean finishProcess(ModelContext context, ProcessEvent event, Task task, OperationResult result)
          Does a process-specific processing of wf result (i.e.
 String getProcessSpecificDetails(org.activiti.engine.history.HistoricProcessInstance instance, Map<String,Object> vars)
           
 String getProcessSpecificDetails(org.activiti.engine.runtime.ProcessInstance instance, Map<String,Object> vars, List<org.activiti.engine.task.Task> tasks)
           
 String getProcessSpecificDetailsForTask(String instanceId, Map<String,Object> vars)
           
 StartProcessInstruction startProcessIfNeeded(ModelContext context, Task task, OperationResult result)
          Determines whether to start a workflow process (and, if so, with what properties).
 

Method Detail

startProcessIfNeeded

StartProcessInstruction startProcessIfNeeded(ModelContext context,
                                             Task task,
                                             OperationResult result)
Determines whether to start a workflow process (and, if so, with what properties).

Parameters:
context - Context of the model operation.
task - Enclosing task to which results of the process will be stored. (todo ????????)
result -
Returns:
Instruction to start the process, or null if no process should be started.

finishProcess

boolean finishProcess(ModelContext context,
                      ProcessEvent event,
                      Task task,
                      OperationResult result)
Does a process-specific processing of wf result (i.e. of the final message from workflow).

Parameters:
context - Current context of the model operation. (todo ??????????)
event - Message from the WfMS
task - Enclosing task to which results of the process were (and are) written. (todo ?????????)
result -
Returns:
TODO xxxxxx

getProcessSpecificDetailsForTask

String getProcessSpecificDetailsForTask(String instanceId,
                                        Map<String,Object> vars)

getProcessSpecificDetails

String getProcessSpecificDetails(org.activiti.engine.runtime.ProcessInstance instance,
                                 Map<String,Object> vars,
                                 List<org.activiti.engine.task.Task> tasks)

getProcessSpecificDetails

String getProcessSpecificDetails(org.activiti.engine.history.HistoricProcessInstance instance,
                                 Map<String,Object> vars)


Copyright © 2013 evolveum. All Rights Reserved.