@Component public class ChangePasswordAspect extends BasePrimaryChangeAspect
baseConfigurationHelper, changeProcessor, primaryChangeAspectHelper, processInterfaceFinder, repositoryService, wfTaskUtil
Constructor and Description |
---|
ChangePasswordAspect() |
Modifier and Type | Method and Description |
---|---|
List<PcpChildJobCreationInstruction> |
prepareJobCreationInstructions(ModelContext<?> modelContext,
com.evolveum.midpoint.xml.ns._public.common.common_3.WfConfigurationType wfConfigurationType,
ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> change,
Task taskFromModel,
OperationResult result)
Examines the change and determines whether there are pieces that require (change type specific)
approval, for example, if there are roles added.
|
PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.common_forms_3.QuestionFormType> |
prepareQuestionForm(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result)
Returns a PrismObject containing information about a work item to be processed by the user.
|
PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
prepareRelatedObject(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result)
Returns a object related to the work item at hand.
|
externalizeProcessInstanceState, getBeanName, getChangeProcessor, init, isEnabled, isEnabledByDefault, prepareApprovedBy, prepareDeltaOut, setBeanName
public List<PcpChildJobCreationInstruction> prepareJobCreationInstructions(ModelContext<?> modelContext, com.evolveum.midpoint.xml.ns._public.common.common_3.WfConfigurationType wfConfigurationType, ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> change, Task taskFromModel, OperationResult result) throws SchemaException
PrimaryChangeAspect
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 by implementation of this methodtaskFromModel
- 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?) @return list of start process instructionsSchemaException
JobCreationInstruction
public PrismObject<? extends com.evolveum.midpoint.xml.ns.model.workflow.common_forms_3.QuestionFormType> prepareQuestionForm(org.activiti.engine.task.Task task, Map<String,Object> variables, OperationResult result)
PrimaryChangeAspect
task
- activiti task corresponding to the work item that is being displayedvariables
- process instance variables at the point of invoking the work item (activiti task)result
- operation result where the operation status should be reportedpublic PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> prepareRelatedObject(org.activiti.engine.task.Task task, Map<String,Object> variables, OperationResult result)
PrimaryChangeAspect
task
- activiti task corresponding to the work item that is being displayedvariables
- process instance variables at the point of invoking the work item (activiti task)result
- operation result where the operation status should be reportedCopyright © 2015 evolveum. All rights reserved.