Class IndexingManager
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.indexing.IndexingManager
-
@Component public class IndexingManager extends Object
Helps with searching through model-indexed values (currently, in identities/identity[X]/items/normalized container). Only `String` and `PolyString` types are supported.
-
-
Constructor Summary
Constructors Constructor Description IndexingManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValueNormalizer
getNormalizerFor(@Nullable QName matchingRuleName)
static @NotNull String
stringify(Object value)
<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.)
-
-
-
Method Detail
-
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
-
-