Class IndexingManager
java.lang.Object
com.evolveum.midpoint.model.impl.lens.indexing.IndexingManager
- All Implemented Interfaces:
DeltaExecutionPreprocessor
Helps with searching through model-indexed values (currently, in identities/identity[X]/items/normalized container).
Only `String` and `PolyString` types are supported.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValueNormalizer
getNormalizerFor
(@Nullable QName matchingRuleName) static @NotNull String
<O extends ObjectType>
voidupdateIndexDataOnElementAdd
(O objectToAdd, @NotNull LensElementContext<O> elementContext, @NotNull Task task, @NotNull OperationResult result) Updates normalized (indexed) identity data on focus add.<O extends ObjectType>
voidupdateIndexDataOnElementModify
(O current, @NotNull ObjectDelta<O> delta, @NotNull Class<O> objectClass, @NotNull LensElementContext<O> elementContext, @NotNull Task task, @NotNull OperationResult result) Updates normalized (indexed) identity data on focus modification (by adding necessary changes to the `delta` parameter.)
-
Constructor Details
-
IndexingManager
public IndexingManager()
-
-
Method Details
-
updateIndexDataOnElementAdd
public <O extends ObjectType> void updateIndexDataOnElementAdd(@NotNull O objectToAdd, @NotNull @NotNull LensElementContext<O> elementContext, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws ConfigurationException, SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ObjectNotFoundException Updates normalized (indexed) identity data on focus add. -
updateIndexDataOnElementModify
public <O extends ObjectType> void updateIndexDataOnElementModify(O current, @NotNull @NotNull ObjectDelta<O> delta, @NotNull @NotNull Class<O> objectClass, @NotNull @NotNull LensElementContext<O> elementContext, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ConfigurationException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ObjectNotFoundException Updates normalized (indexed) identity data on focus modification (by adding necessary changes to the `delta` parameter.) -
getNormalizerFor
public static ValueNormalizer getNormalizerFor(@Nullable @Nullable QName matchingRuleName) throws SchemaException - Throws:
SchemaException
-
stringify
-