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
-
determineFocusContext
public <O extends ObjectType> void determineFocusContext(LensContext<O> context, Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
try to load focus context from oid, delta, projections (e.g. by determining account owners)
-
updateSystemConfigurationInContext
@Nullable public <F extends ObjectType> @Nullable PrismObject<SystemConfigurationType> updateSystemConfigurationInContext(LensContext<F> context, OperationResult result) throws SchemaException
- Throws:
SchemaException
-
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, Task task, OperationResult result) throws SchemaException, ConfigurationException
-
updateFocusTemplate
public <F extends ObjectType> void updateFocusTemplate(LensContext<F> context, OperationResult result) throws ObjectNotFoundException, SchemaException
-
loadFullShadow
public <F extends ObjectType> void loadFullShadow(LensContext<F> context, 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
-
-