@Component(value="addRoleAssignmentWrapper") public class AddRoleAssignmentWrapper extends AbstractUserWrapper
GENERAL_APPROVAL_PROCESS
Constructor and Description |
---|
AddRoleAssignmentWrapper() |
Modifier and Type | Method and Description |
---|---|
static String |
formatTimeIntervalBrief(AssignmentType assignment) |
PrismObject<? extends ObjectType> |
getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
PrismObject<? extends ObjectType> |
getRequestSpecificData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
List<StartProcessInstructionForPrimaryStage> |
prepareProcessesToStart(ModelContext<?,?> modelContext,
ObjectDelta<? extends ObjectType> change,
Task task,
OperationResult result)
Examines the change and determines whether there are pieces that require (change type specific)
approval, for example, if there are roles added.
|
resolveObjectRef
getApprovedBy, getChangeProcessor, getProcessInstanceDetailsPanelName, prepareDeltaOut, setChangeProcessor, setDeltaProcessVariable
public List<StartProcessInstructionForPrimaryStage> prepareProcessesToStart(ModelContext<?,?> modelContext, ObjectDelta<? extends ObjectType> change, Task task, OperationResult result)
PrimaryApprovalProcessWrapper
modelContext
- Original model context (e.g. to be able to get information about whole context of the operation)change
- Change to be examined and modified (as a side effect!)task
- General context of the operation - the method should not modify the task.result
- Operation result - the method should report any errors here (TODO what about creating subresults?)public PrismObject<? extends ObjectType> getRequestSpecificData(org.activiti.engine.task.Task task, Map<String,Object> variables, OperationResult result) throws SchemaException, ObjectNotFoundException
public static String formatTimeIntervalBrief(AssignmentType assignment)
public PrismObject<? extends ObjectType> getAdditionalData(org.activiti.engine.task.Task task, Map<String,Object> variables, OperationResult result) throws SchemaException, ObjectNotFoundException
Copyright © 2013 evolveum. All rights reserved.