com.evolveum.midpoint.wf.processes.addroles
Class AddRolesProcessWrapper
java.lang.Object
com.evolveum.midpoint.wf.processes.addroles.AddRolesProcessWrapper
- All Implemented Interfaces:
- ProcessWrapper
@Component
public class AddRolesProcessWrapper
- extends Object
- implements ProcessWrapper
- Author:
- mederly
Method Summary |
boolean |
finishProcess(ModelContext context,
ProcessEvent event,
Task task,
OperationResult result)
Does a process-specific processing of wf result (i.e. |
static String |
formatTimeIntervalBrief(AssignmentType assignment)
|
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)
|
void |
register()
|
StartProcessInstruction |
startProcessIfNeeded(ModelContext context,
Task task,
OperationResult result)
Determines whether to start a workflow process (and, if so, with what properties). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASSIGNMENTS_TO_APPROVE
public static final String ASSIGNMENTS_TO_APPROVE
- See Also:
- Constant Field Values
ASSIGNMENTS_APPROVALS
public static final String ASSIGNMENTS_APPROVALS
- See Also:
- Constant Field Values
ALL_DECISIONS
public static final String ALL_DECISIONS
- See Also:
- Constant Field Values
ASSIGNMENT_TO_APPROVE
public static final String ASSIGNMENT_TO_APPROVE
- See Also:
- Constant Field Values
USER_NAME
public static final String USER_NAME
- See Also:
- Constant Field Values
DECISION_LIST
public static final String DECISION_LIST
- See Also:
- Constant Field Values
ADD_ROLE_PROCESS
public static final String ADD_ROLE_PROCESS
- See Also:
- Constant Field Values
LOOP_LEVELS_STOP
public static final String LOOP_LEVELS_STOP
- See Also:
- Constant Field Values
LOOP_APPROVERS_IN_LEVEL_STOP
public static final String LOOP_APPROVERS_IN_LEVEL_STOP
- See Also:
- Constant Field Values
ROLE
public static final String ROLE
- See Also:
- Constant Field Values
APPROVER_MAIL_ADDRESS
public static final String APPROVER_MAIL_ADDRESS
- See Also:
- Constant Field Values
FORM_FIELD_COMMENT
public static final String FORM_FIELD_COMMENT
- See Also:
- Constant Field Values
LEVEL
public static final String LEVEL
- See Also:
- Constant Field Values
APPROVERS_IN_LEVEL
public static final String APPROVERS_IN_LEVEL
- See Also:
- Constant Field Values
AddRolesProcessWrapper
public AddRolesProcessWrapper()
register
@PostConstruct
public void register()
startProcessIfNeeded
public StartProcessInstruction startProcessIfNeeded(ModelContext context,
Task task,
OperationResult result)
- Description copied from interface:
ProcessWrapper
- Determines whether to start a workflow process (and, if so, with what properties).
- Specified by:
startProcessIfNeeded
in interface ProcessWrapper
- Parameters:
context
- Context of the model operation.task
- Enclosing task to which results of the process will be stored. (todo ????????)
- Returns:
- Instruction to start the process, or null if no process should be started.
finishProcess
public boolean finishProcess(ModelContext context,
ProcessEvent event,
Task task,
OperationResult result)
- Description copied from interface:
ProcessWrapper
- Does a process-specific processing of wf result (i.e. of the final message from workflow).
- Specified by:
finishProcess
in interface ProcessWrapper
- Parameters:
context
- Current context of the model operation. (todo ??????????)event
- Message from the WfMStask
- Enclosing task to which results of the process were (and are) written. (todo ?????????)
- Returns:
- TODO xxxxxx
getProcessSpecificDetailsForTask
public String getProcessSpecificDetailsForTask(String instanceId,
Map<String,Object> vars)
- Specified by:
getProcessSpecificDetailsForTask
in interface ProcessWrapper
getProcessSpecificDetails
public String getProcessSpecificDetails(org.activiti.engine.history.HistoricProcessInstance instance,
Map<String,Object> vars)
- Specified by:
getProcessSpecificDetails
in interface ProcessWrapper
getProcessSpecificDetails
public String getProcessSpecificDetails(org.activiti.engine.runtime.ProcessInstance instance,
Map<String,Object> vars,
List<org.activiti.engine.task.Task> tasks)
- Specified by:
getProcessSpecificDetails
in interface ProcessWrapper
formatTimeIntervalBrief
public static String formatTimeIntervalBrief(AssignmentType assignment)
Copyright © 2013 evolveum. All Rights Reserved.