Class SelectorToFilterTranslator
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.query.SelectorToFilterTranslator
-
@Experimental public class SelectorToFilterTranslator extends Object
Translates a selector (ObjectSelectorType) to appropriate ObjectFilter. See also SecurityEnforcerImpl#computeSecurityFilterPhase.
-
-
Constructor Summary
Constructors Constructor Description SelectorToFilterTranslator(@NotNull ObjectSelectorType selector, @NotNull Class<? extends ObjectType> targetType, @NotNull String contextDescription, @NotNull PrismContext prismContext, @NotNull ExpressionFactory expressionFactory, @NotNull Task task, @NotNull OperationResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ObjectFilter
createFilter()
Class<? extends ObjectType>
getNarrowedTargetType()
-
-
-
Constructor Detail
-
SelectorToFilterTranslator
public SelectorToFilterTranslator(@NotNull @NotNull ObjectSelectorType selector, @NotNull @NotNull Class<? extends ObjectType> targetType, @NotNull @NotNull String contextDescription, @NotNull @NotNull PrismContext prismContext, @NotNull @NotNull ExpressionFactory expressionFactory, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
-
-
Method Detail
-
createFilter
@NotNull public @NotNull ObjectFilter createFilter() throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException, SecurityViolationException, ExpressionEvaluationException
-
getNarrowedTargetType
public Class<? extends ObjectType> getNarrowedTargetType()
-
-