Class SelectorToFilterTranslator
java.lang.Object
com.evolveum.midpoint.repo.common.query.SelectorToFilterTranslator
Translates a selector (
ObjectSelectorType
) to appropriate ObjectFilter
.
Actually, uses ValueSelector.computeFilter(FilteringContext)
to do that.- See Also:
-
Constructor Summary
ConstructorDescriptionSelectorToFilterTranslator
(@NotNull ObjectSelectorType selectorBean, @NotNull Class<? extends ObjectType> targetType, @NotNull String contextDescription, @NotNull Trace logger, @NotNull Task task) -
Method Summary
Modifier and TypeMethodDescriptioncreateFilter
(@NotNull OperationResult result) Class<? extends ObjectType>
-
Constructor Details
-
SelectorToFilterTranslator
public SelectorToFilterTranslator(@NotNull @NotNull ObjectSelectorType selectorBean, @NotNull @NotNull Class<? extends ObjectType> targetType, @NotNull @NotNull String contextDescription, @NotNull @NotNull Trace logger, @NotNull @NotNull Task task) throws ConfigurationException - Throws:
ConfigurationException
-
-
Method Details
-
createFilter
public ObjectFilter createFilter(@NotNull @NotNull OperationResult result) throws ConfigurationException, SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ObjectNotFoundException -
getNarrowedTargetType
- Throws:
ConfigurationException
-