@Component public class ChangePasswordAspect extends BasePrimaryChangeAspect
baseConfigurationHelper, baseModelInvocationProcessingHelper, changeProcessor, miscDataUtil, primaryChangeAspectHelper, processInterfaceFinder, repositoryService, wfTaskUtil
Constructor and Description |
---|
ChangePasswordAspect() |
Modifier and Type | Method and Description |
---|---|
List<PcpChildWfTaskCreationInstruction> |
prepareTasks(ModelContext<?> modelContext,
com.evolveum.midpoint.xml.ns._public.common.common_3.PrimaryChangeProcessorConfigurationType wfConfigurationType,
ObjectTreeDeltas objectTreeDeltas,
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.
|
getBeanName, getChangeProcessor, init, isEnabled, isEnabledByDefault, prepareApprovedBy, prepareDeltaOut, setBeanName
public List<PcpChildWfTaskCreationInstruction> prepareTasks(ModelContext<?> modelContext, com.evolveum.midpoint.xml.ns._public.common.common_3.PrimaryChangeProcessorConfigurationType wfConfigurationType, ObjectTreeDeltas objectTreeDeltas, 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)objectTreeDeltas
- 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
WfTaskCreationInstruction
Copyright © 2016 evolveum. All rights reserved.