Class Projector
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.Projector
-
@Component public class Projector extends Object
Projector recomputes the context. It takes the context with a few basic data as input. It uses all the policies and mappings to derive all the other data. E.g. a context with only a user (primary) delta. It applies user template, outbound mappings and the inbound mappings and then inbound and outbound mappings of other accounts and so on until all the data are computed. The output is the original context with all the computed delta. Primary deltas are in the input, secondary deltas are computed in projector. Projector "projects" primary deltas to the secondary deltas of user and accounts. Projector does NOT execute the deltas. It only recomputes the context. It may read a lot of objects (user, accounts, policies). But it does not change any of them.- Author:
- Radovan Semancik
-
-
Constructor Summary
Constructors Constructor Description Projector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <F extends ObjectType>
voidproject(@NotNull LensContext<F> context, @NotNull String activityDescription, @NotNull Task task, @NotNull OperationResult parentResult)
Runs one projection wave, starting at current execution wave.<F extends ObjectType>
voidprojectAllWaves(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Executes projector from current execution wave to the last computed wave.<F extends ObjectType>
voidresume(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Resumes projection at current projection wave.
-
-
-
Method Detail
-
project
public <F extends ObjectType> void project(@NotNull @NotNull LensContext<F> context, @NotNull @NotNull String activityDescription, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult parentResult) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException, ConflictDetectedException
Runs one projection wave, starting at current execution wave.
-
resume
public <F extends ObjectType> void resume(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException, ConflictDetectedException
Resumes projection at current projection wave.
-
projectAllWaves
public <F extends ObjectType> void projectAllWaves(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException, ConflictDetectedException
Executes projector from current execution wave to the last computed wave. Useful for change preview.
-
-