Class ContextLoader
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.ContextLoader
-
- All Implemented Interfaces:
ProjectorProcessor
@Component public class ContextLoader extends Object implements ProjectorProcessor
Context loader loads the missing parts of the context. The context enters the projector with just the minimum information. Context loader gets missing data such as accounts. It gets them from the repository or provisioning as necessary. It follows the account links in focus (linkRef) and focus deltas.- Author:
- Radovan Semancik
-
-
Constructor Summary
Constructors Constructor Description ContextLoader()
-
Method Summary
-
-
-
Field Detail
-
CLASS_DOT
public static final String CLASS_DOT
-
-
Method Detail
-
loadFocusContext
public <O extends ObjectType> void loadFocusContext(LensContext<O> context, Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
determineArchetypePolicy
public <F extends ObjectType> ArchetypePolicyType determineArchetypePolicy(LensContext<F> context, OperationResult result) throws SchemaException, ConfigurationException
-
updateArchetype
public <F extends AssignmentHolderType> void updateArchetype(LensContext<F> context, Task task, OperationResult result) throws SchemaException, ConfigurationException
-
updateArchetypePolicy
public <F extends ObjectType> void updateArchetypePolicy(LensContext<F> context, OperationResult result) throws SchemaException, ConfigurationException
-
updateFocusTemplate
public <F extends ObjectType> void updateFocusTemplate(LensContext<F> context, OperationResult result) throws ObjectNotFoundException, SchemaException
-
loadFullShadow
public void loadFullShadow(@NotNull @NotNull LensProjectionContext projCtx, String reason, Task task, OperationResult parentResult) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
reloadSecurityPolicyIfNeeded
public <F extends FocusType> void reloadSecurityPolicyIfNeeded(@NotNull @NotNull LensContext<F> context, @NotNull @NotNull LensFocusContext<F> focusContext, Task task, OperationResult result) throws ExpressionEvaluationException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException
-
loadSecurityPolicy
public <F extends ObjectType> void loadSecurityPolicy(LensContext<F> context, Task task, OperationResult result) throws ExpressionEvaluationException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException
-
-