Uses of Class
com.evolveum.midpoint.model.impl.lens.LensContext
Packages that use LensContext
Package
Description
Implements gathering and evaluation of inbound mappings: both during clockwork and before it (for correlation purposes).
Prepares inbound mappings related to a _single projection_ (shadow) for evaluation.
-
Uses of LensContext in com.evolveum.midpoint.model.impl.lens
Subclasses of LensContext in com.evolveum.midpoint.model.impl.lensModifier and TypeClassDescriptionclass
LensContextPlaceholder<F extends ObjectType>
This class does nothing.Fields in com.evolveum.midpoint.model.impl.lens declared as LensContextModifier and TypeFieldDescriptionprotected final @NotNull LensContext<? extends ObjectType>
LensElementContext.lensContext
Link to the parent context.Methods in com.evolveum.midpoint.model.impl.lens that return LensContextModifier and TypeMethodDescriptionLensContext.clone()
<F extends ObjectType>
LensContext<F>ContextFactory.createContext
(@NotNull Collection<ObjectDelta<? extends ObjectType>> deltas, @Nullable ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result) Creates aLensContext
from a set of deltas (to be executed or previewed).<F extends ObjectType,
O extends ObjectType>
LensContext<F>ContextFactory.createRecomputeContext
(@NotNull PrismObject<O> object, ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result) <F extends ObjectType>
LensContext<F>ContextFactory.createSyncContext
(Class<F> focusClass, ResourceObjectShadowChangeDescription change, Task task) Creates empty lens context for synchronization purposes, filling in only the very basic metadata (such as channel).static <T extends ObjectType>
LensContext<T>LensContext.fromLensContextBean
(LensContextType bean, Task task, OperationResult parentResult) @NotNull LensContext<? extends ObjectType>
LensElementContext.getLensContext()
@NotNull LensContext<O>
LensFocusContext.getLensContext()
Methods in com.evolveum.midpoint.model.impl.lens with parameters of type LensContextModifier and TypeMethodDescriptionvoid
OperationalDataManager.addExternalAssignmentProvenance
(LensContext<?> context, Task task) Adds provenance metadata to assignments being explicitly added (via primary delta).<T extends ObjectType>
voidOperationalDataManager.applyMetadataOnObjectAddOp
(LensContext<?> context, PrismObject<T> objectToAdd, XMLGregorianCalendar now, Task task) Sets object and assignment metadata on object ADD operation.<T extends ObjectType>
voidOperationalDataManager.applyMetadataOnObjectModifyOp
(@NotNull ObjectDelta<T> objectDelta, @NotNull LensElementContext<T> elementContext, @NotNull XMLGregorianCalendar now, @NotNull Task task, @NotNull LensContext<?> context) Creates deltas for object and assignment metadata on object MODIFY operation.void
ClockworkAuditHelper.auditRequestDenied
(@NotNull LensContext<? extends ObjectType> context, @NotNull Task task, @NotNull OperationResult opResult, @NotNull OperationResult execResult) The request was denied before its execution was even started.static <F extends ObjectType>
voidClockworkRequestAuthorizer.authorizeContextRequest
(LensContext<F> context, boolean fullInformationAvailable, Task task, OperationResult parentResult) static <F extends ObjectType>
voidLensUtil.checkContextSanity
(LensContext<F> context, String activityDescription) <F extends ObjectType>
@NotNull HookOperationModeClockwork.click
(@NotNull LensContext<F> context, @NotNull Task task, @NotNull OperationResult result) <F extends ObjectType>
voidClockworkMedic.clockworkFinish
(LensContext<F> context) <F extends ObjectType>
voidClockworkMedic.clockworkStateSwitch
(LensContext<F> contextBefore, ModelState newState) LensFocusContext.clone
(LensContext<O> lensContext) LensProjectionContext.clone
(LensContext<? extends ObjectType> lensContext) static AssignmentType
LensUtil.cloneResolveResource
(AssignmentType assignmentBean, LensContext<?> lensContext) <O extends ObjectType>
voidClockworkConflictResolver.createConflictWatcherAfterFocusAddition
(LensContext<O> context, String oid, String expectedVersion) <F extends ObjectType>
ValueMetadataTypeOperationalDataManager.createCreateMetadata
(LensContext<F> context, XMLGregorianCalendar now, Task task) Currently used for the credentials.<T extends ObjectType>
Collection<ItemDelta<?,?>> OperationalDataManager.createCredentialsModificationRelatedStorageMetadataDeltas
(@NotNull LensContext<?> context, @NotNull ItemPath credentialContainerPath, @Nullable AbstractCredentialType currentObject, @NotNull Class<T> objectType, @NotNull XMLGregorianCalendar now, @NotNull Task task) static ShadowDiscriminatorType
LensUtil.createDiscriminatorBean
(ProjectionContextKey key, LensContext<?> lensContext) Collection<ItemDelta<?,
?>> OperationalDataManager.createObjectModificationRelatedStorageMetadataDeltas
(LensContext<?> context, @NotNull ObjectType currentObject, XMLGregorianCalendar now, Task task) Creates deltas for object-modification-related STORAGE metadata.LensMetadataUtil.createValueMetadataConsolidationComputer
(@NotNull ItemPath itemPath, ItemDefinition<?> itemDefinition, LensContext<?> lensContext, ModelBeans beans, MappingEvaluationEnvironment env, OperationResult result) static <F extends ObjectType>
booleanLensUtil.evaluateIterationCondition
(LensContext<F> context, LensElementContext<?> elementContext, IterationSpecificationType iterationSpecification, int iteration, String iterationToken, boolean beforeIteration, ExpressionFactory expressionFactory, VariablesMap variables, Task task, OperationResult result) <O extends ObjectType>
voidChangeExecutor.executeChanges
(LensContext<O> context, Task task, OperationResult parentResult) static <F extends ObjectType>
ObjectDelta<ShadowType>LensUtil.findAPrioriDelta
(LensContext<F> context, LensProjectionContext projCtx) Extracts the delta from this projection context and also from all other projection contexts that have equivalent discriminator.static <F extends ObjectType>
StringLensUtil.getChannel
(LensContext<F> context, Task task) static <F extends ObjectType>
@NotNull LensContext.GetOrCreateProjectionContextResultLensContext.getOrCreateProjectionContext
(LensContext<F> context, ProjectionContextKey contextKey) TODO not sure if this method should be here or inProjectionsLoadOperation
(that is currently the only client) The reason for being here is the similarity togetOrCreateProjectionContext(LensContext, ConstructionTargetKey, boolean)
and coupling withgetOrCreateProjectionContext(LensContext, HumanReadableDescribable, Supplier, Supplier)
.static <F extends ObjectType>
@NotNull LensContext.GetOrCreateProjectionContextResultLensContext.getOrCreateProjectionContext
(LensContext<F> context, ConstructionTargetKey targetKey, boolean acceptReaping) static <F extends ObjectType>
ResourceTypeLensUtil.getResourceReadOnly
(LensContext<F> context, String resourceOid, ProvisioningService provisioningService, Task task, OperationResult result) <F extends ObjectType>
voidClockworkHookHelper.invokePreview
(LensContext<F> context, Task task, OperationResult result) boolean
ClockworkMedic.partialExecute
(String componentName, @Nullable ProjectorProcessor processor, ProjectionAwareProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult) boolean
ClockworkMedic.partialExecute
(String componentName, ProjectorProcessor processor, ProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, @NotNull String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult) boolean
ClockworkMedic.partialExecute
(String componentName, ProjectorProcessor processor, SimplifiedProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, XMLGregorianCalendar now, Task task, OperationResult parentResult) void
ClockworkMedic.partialExecute
(String baseComponentName, ProjectorComponentRunnable runnable, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, LensProjectionContext projectionContext, OperationResult initialParentResult) <F extends ObjectType>
voidClockworkMedic.projectorFinish
(LensContext<F> context) <F extends ObjectType>
voidClockworkMedic.projectorStart
(LensContext<F> context) static <F extends ObjectType>
voidLensUtil.reclaimSequences
(LensContext<F> context, RepositoryService repositoryService, OperationResult result) <F extends ObjectType>
HookOperationModeClockwork.run
(LensContext<F> context, Task task, OperationResult parentResult) static <T extends ObjectType,
F extends ObjectType>
voidLensUtil.setContextOid
(LensContext<F> context, LensElementContext<T> objectContext, String oid) <O extends ObjectType>
booleanClockworkConflictResolver.shouldCreatePrecondition
(LensContext<O> context, ConflictResolutionType conflictResolution) <F extends ObjectType>
voidClockworkMedic.traceContext
(Trace logger, String activity, String phase, boolean important, LensContext<F> context, boolean showTriples) Constructors in com.evolveum.midpoint.model.impl.lens with parameters of type LensContextModifierConstructorDescriptionLensElementContext
(@NotNull Class<O> objectTypeClass, @NotNull LensContext<? extends ObjectType> lensContext) LensFocusContext
(Class<O> objectTypeClass, LensContext<O> lensContext) LensOwnerResolver
(LensContext<F> context, ObjectResolver objectResolver, Task task, OperationResult result) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.assignments
Methods in com.evolveum.midpoint.model.impl.lens.assignments with parameters of type LensContext -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.construction
Fields in com.evolveum.midpoint.model.impl.lens.construction declared as LensContextModifier and TypeFieldDescriptionprotected final @NotNull LensContext<AH>
AbstractConstruction.lensContext
Lens context in which this construction is collected and evaluated.Methods in com.evolveum.midpoint.model.impl.lens.construction that return LensContextMethods in com.evolveum.midpoint.model.impl.lens.construction with parameters of type LensContext -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector
Methods in com.evolveum.midpoint.model.impl.lens.projector that return LensContextMethods in com.evolveum.midpoint.model.impl.lens.projector with parameters of type LensContextModifier and TypeMethodDescription<F extends FocusType>
voidProjectionValuesProcessor.process
(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result) <F extends ObjectType>
voidProjector.project
(@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>
voidProjector.resume
(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult) Resumes projection at current projection wave.void
ShadowConstraintsChecker.setContext
(LensContext<F> context) <F extends ObjectType>
voidDependencyProcessor.sortProjectionsToWaves
(LensContext<F> context, Task task, OperationResult parentResult) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.credentials
Methods in com.evolveum.midpoint.model.impl.lens.projector.credentials with parameters of type LensContextModifier and TypeMethodDescriptionCredentialPolicyEvaluator.Builder.context
(LensContext<F> val) <F extends FocusType>
voidCredentialsProcessor.processFocusCredentials
(LensContext<F> context, XMLGregorianCalendar now, Task task, OperationResult result) <F extends FocusType>
voidProjectionCredentialsProcessor.processProjectionCredentials
(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.focus
Methods in com.evolveum.midpoint.model.impl.lens.projector.focus that return LensContextMethods in com.evolveum.midpoint.model.impl.lens.projector.focus with parameters of type LensContextModifier and TypeMethodDescriptionAssignmentTripleEvaluator.Builder.context
(LensContext<AH> val) FocalMappingSetEvaluationBuilder.context
(LensContext<F> val) static <F extends AssignmentHolderType,
T extends AssignmentHolderType>
TemplateMappingsEvaluation<F,T> TemplateMappingsEvaluation.createForPersonaTemplate
(ModelBeans beans, LensContext<F> context, ObjectDeltaObject<F> focusOdoAbsolute, ObjectTemplateType template, @NotNull PrismObject<T> targetObject, ObjectDelta<T> targetAPrioriDelta, String contextDescription, XMLGregorianCalendar now, Task task, OperationResult result) <F extends AssignmentHolderType>
voidFocusLifecycleProcessor.process
(LensContext<F> context, XMLGregorianCalendar now, Task task, OperationResult result) <O extends ObjectType,
AH extends AssignmentHolderType>
voidAssignmentProcessor.processAssignments
(LensContext<O> context, XMLGregorianCalendar now, Task task, OperationResult parentResult) Processing all the assignments.<AH extends AssignmentHolderType>
voidAssignmentHolderProcessor.processFocus
(LensContext<AH> context, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result) <AH extends AssignmentHolderType>
voidObjectTemplateProcessor.processTemplateAfterProjections
(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result) void
FocusConstraintsChecker.setContext
(LensContext<AH> context) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.focus.consolidation
Constructors in com.evolveum.midpoint.model.impl.lens.projector.focus.consolidation with parameters of type LensContextModifierConstructorDescriptionDeltaSetTripleMapConsolidation
(@NotNull DeltaSetTripleIvwoMap outputTripleMap, @Nullable PrismContainerValue<T> targetPcv, @NotNull DeltaSetTripleMapConsolidation.APrioriDeltaProvider aPrioriItemDeltaProvider, @NotNull Function<ItemPath, Boolean> itemDeltaExistsProvider, @Nullable Boolean addUnchangedValuesOverride, Consumer<IvwoConsolidatorBuilder<?, ?, ?>> consolidatorCustomizer, DeltaSetTripleMapConsolidation.ItemDefinitionProvider itemDefinitionProvider, MappingEvaluationEnvironment env, @Nullable LensContext<?> lensContext, OperationResult parentResult) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds
Constructors in com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds with parameters of type LensContextModifierConstructorDescriptionFullInboundsProcessing
(@NotNull LensContext<F> lensContext, @NotNull MappingEvaluationEnvironment env) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.prep
Constructors in com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds.prep with parameters of type LensContextModifierConstructorDescriptionFullInboundsContext
(@NotNull LensContext<?> lensContext, @NotNull MappingEvaluationEnvironment env) FullInboundsTarget
(@NotNull LensContext<F> lensContext, @Nullable PrismObject<F> focus, @NotNull PrismObjectDefinition<F> focusDefinition, @NotNull PathKeyedMap<ItemDefinition<?>> itemDefinitionMap, @NotNull ItemPath targetPathPrefix) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.loader
Methods in com.evolveum.midpoint.model.impl.lens.projector.loader with parameters of type LensContextModifier and TypeMethodDescription<F extends ObjectType>
voidContextLoader.load
(@NotNull LensContext<F> context, @NotNull String activityDescription, XMLGregorianCalendar ignored, @NotNull Task task, @NotNull OperationResult result) Loads the whole context.<O extends ObjectType>
voidContextLoader.loadFocusContext
(LensContext<O> context, Task task, OperationResult result) Loads just the focus context; projections are ignored at this moment.<F extends FocusType>
voidContextLoader.reloadSecurityPolicyIfNeeded
(@NotNull LensContext<F> context, @NotNull LensFocusContext<F> focusContext, Task task, OperationResult result) <F extends ObjectType>
voidContextLoader.updateProjectionContext
(LensContext<F> context, LensProjectionContext projectionContext, Task task, OperationResult result) Updates the projection context. -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.mappings
Methods in com.evolveum.midpoint.model.impl.lens.projector.mappings that return LensContextMethods in com.evolveum.midpoint.model.impl.lens.projector.mappings with parameters of type LensContext -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.mappings.predefinedActivationMapping
Methods in com.evolveum.midpoint.model.impl.lens.projector.mappings.predefinedActivationMapping with parameters of type LensContextModifier and TypeMethodDescription<F extends FocusType>
voidPredefinedActivationMappingEvaluator.defineActivationProperty
(LensContext<F> context, LensProjectionContext projCtx, ItemPath path, Task task, OperationResult result) Create a delta for specified account activation property (`path`), if needed.<F extends FocusType>
voidDisableInsteadOfDeleteEvaluator.defineAdministratorStatus
(LensContext<F> context, LensProjectionContext projCtx, Task task, OperationResult result) protected <F extends FocusType>
voidPredefinedActivationMappingEvaluator.defineAdministratorStatus
(LensContext<F> context, LensProjectionContext projCtx, Task task, OperationResult result) <F extends FocusType>
booleanDelayedDeleteEvaluator.defineExistence
(LensContext<F> context, LensProjectionContext projCtx) <F extends FocusType>
booleanDisableInsteadOfDeleteEvaluator.defineExistence
(LensContext<F> context, LensProjectionContext projCtx) abstract <F extends FocusType>
booleanPredefinedActivationMappingEvaluator.defineExistence
(LensContext<F> context, LensProjectionContext projCtx) <F extends FocusType>
booleanPreProvisionEvaluator.defineExistence
(LensContext<F> context, LensProjectionContext projCtx) <F extends FocusType>
XMLGregorianCalendarPredefinedActivationMappingEvaluator.getNextRecomputeTime
(LensContext<F> context, LensProjectionContext projCtx, ItemPath path, XMLGregorianCalendar now) <F extends FocusType>
XMLGregorianCalendarDelayedDeleteEvaluator.getNextRecomputeTimeForExistence
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) protected <F extends FocusType>
XMLGregorianCalendarPredefinedActivationMappingEvaluator.getNextRecomputeTimeForExistence
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) <F extends FocusType>
XMLGregorianCalendarPreProvisionEvaluator.getNextRecomputeTimeForExistence
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) <F extends FocusType>
booleanDelayedDeleteEvaluator.isApplicable
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) <F extends FocusType>
booleanDisableInsteadOfDeleteEvaluator.isApplicable
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) abstract <F extends FocusType>
booleanPredefinedActivationMappingEvaluator.isApplicable
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) <F extends FocusType>
booleanPreProvisionEvaluator.isApplicable
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.policy
Fields in com.evolveum.midpoint.model.impl.lens.projector.policy declared as LensContextModifier and TypeFieldDescriptionfinal @NotNull LensContext<?>
PolicyRuleEvaluationContext.lensContext
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy with parameters of type LensContextModifier and TypeMethodDescription<O extends ObjectType>
voidPolicyRuleProcessor.enforce
(@NotNull LensContext<O> context, OperationResult parentResult) <AH extends AssignmentHolderType>
voidPolicyRuleProcessor.evaluateAndRecordFocusPolicyRules
(LensContext<AH> context, XMLGregorianCalendar ignoredNow, Task task, OperationResult result) <AH extends AssignmentHolderType>
voidPolicyRuleProcessor.evaluateProjectionPolicyRules
(LensContext<AH> ignoredContext, LensProjectionContext projectionContext, String ignoredActivityDescription, XMLGregorianCalendar ignoredNow, Task task, OperationResult result) <AH extends AssignmentHolderType>
voidPolicyRuleProcessor.updateCounters
(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result) Updates counters for policy rules, with the goal of determining if rules' thresholds have been reached. -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.policy.scriptExecutor
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy.scriptExecutor with parameters of type LensContextModifier and TypeMethodDescriptionvoid
PolicyRuleScriptExecutor.execute
(@NotNull LensContext<?> context, Task task, OperationResult parentResult) -
Uses of LensContext in com.evolveum.midpoint.model.impl.lens.projector.util
Methods in com.evolveum.midpoint.model.impl.lens.projector.util with parameters of type LensContextModifier and TypeMethodDescriptionvoid
ProcessorMethodRef.run
(@NotNull LensContext<X> lensContext, @NotNull String activityDescription, @NotNull XMLGregorianCalendar now, @NotNull Task task, @NotNull OperationResult result) void
ProjectionAwareProcessorMethodRef.run
(LensContext<X> lensContext, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result) void
SimplifiedProcessorMethodRef.run
(LensContext<X> lensContext, XMLGregorianCalendar now, Task task, OperationResult result) -
Uses of LensContext in com.evolveum.midpoint.model.impl.migrator
Methods in com.evolveum.midpoint.model.impl.migrator with parameters of type LensContextModifier and TypeMethodDescription<F extends ObjectType>
voidMigrator.executeAfterOperationMigration
(LensContext<F> context, OperationResult result) -
Uses of LensContext in com.evolveum.midpoint.model.impl.simulation
Methods in com.evolveum.midpoint.model.impl.simulation that return LensContextModifier and TypeMethodDescription@NotNull LensContext<?>
FullOperationSimulationDataImpl.getLensContext()
Methods in com.evolveum.midpoint.model.impl.simulation with parameters of type LensContextModifier and TypeMethodDescriptionFullOperationSimulationDataImpl.with
(@NotNull LensContext<?> lensContext, @NotNull OperationResult resultToRecord) -
Uses of LensContext in com.evolveum.midpoint.model.impl.sync.action
Methods in com.evolveum.midpoint.model.impl.sync.action with parameters of type LensContextModifier and TypeMethodDescriptionvoid
DeleteResourceObjectAction.prepareContext
(@NotNull LensContext<F> context, @NotNull OperationResult result) void
UnlinkAction.prepareContext
(@NotNull LensContext<F> context, @NotNull OperationResult result) -
Uses of LensContext in com.evolveum.midpoint.model.impl.util
Methods in com.evolveum.midpoint.model.impl.util with parameters of type LensContextModifier and TypeMethodDescriptionstatic <V extends PrismValue,
F extends ObjectType>
@NotNull List<V>ModelImplUtils.evaluateScript
(ScriptExpression scriptExpression, LensContext<F> lensContext, VariablesMap variables, boolean useNew, String shortDesc, Task task, OperationResult parentResult) static <F extends ObjectType>
@NotNull List<ObjectPolicyConfigurationType>ModelImplUtils.getApplicablePolicies
(LensContext<F> context) static <F extends ObjectType>
ConflictResolutionTypeModelImplUtils.getConflictResolution
(LensContext<F> context) static VariablesMap
ModelImplUtils.getDefaultVariablesMap
(@NotNull LensContext<?> context, @Nullable LensProjectionContext projCtx, boolean focusOdoAbsolute) static void
ModelImplUtils.setRequestee
(Task task, LensContext<?> context)