Class AssignmentProcessor
java.lang.Object
com.evolveum.midpoint.model.impl.lens.projector.focus.AssignmentProcessor
- All Implemented Interfaces:
ProjectorProcessor
Assignment processor is recomputing user assignments. It recomputes all the assignments whether they are direct
or indirect (roles).
Processor does not do the complete recompute. Only the account "existence" is recomputed. I.e. the processor determines
what accounts should be added, deleted or kept as they are. The result is marked in account context SynchronizationPolicyDecision.
This step does not create any deltas. It recomputes the attributes to delta set triples but does not "refine" them to deltas yet.
It cannot create deltas as other mapping may interfere, e.g. outbound mappings. These need to be computed before we can
create the final deltas (because there may be mapping exclusions, interference of weak mappings, etc.)
The result of assignment processor are intermediary data in the context such as LensContext.evaluatedAssignmentTriple and
LensProjectionContext.accountConstructionDeltaSetTriple.
- Author:
- Radovan Semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<O extends ObjectType,
AH extends AssignmentHolderType>
voidprocessAssignments
(LensContext<O> context, XMLGregorianCalendar now, Task task, OperationResult parentResult) Processing all the assignments.void
processAssignmentsAccountValues
(LensProjectionContext ignored1, OperationResult ignored2)
-
Constructor Details
-
AssignmentProcessor
public AssignmentProcessor()
-
-
Method Details
-
processAssignments
public <O extends ObjectType,AH extends AssignmentHolderType> void processAssignments(LensContext<O> context, XMLGregorianCalendar now, Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, ExpressionEvaluationException, PolicyViolationException, CommunicationException, ConfigurationException, SecurityViolationException Processing all the assignments. -
processAssignmentsAccountValues
public void processAssignmentsAccountValues(LensProjectionContext ignored1, OperationResult ignored2)
-