Class SelectorClause
java.lang.Object
com.evolveum.midpoint.schema.selector.spec.SelectorClause
- All Implemented Interfaces:
DebugDumpable,Serializable
- Direct Known Subclasses:
ArchetypeRefClause,AssigneeClause,CandidateAssigneeClause,DelegatorClause,FilterClause,OrgRefClause,OrgRelationClause,OwnerClause,ParentClause,RelatedObjectClause,RequesterClause,RoleRelationClause,SelfClause,SubtypeClause,TenantClause,TypeClause
A clause of a
ValueSelector.
Immutable.- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) abstract @NotNull StringgetName()Human-understandable name to be used e.g.abstract booleanmatches(@NotNull PrismValue value, @NotNull MatchingContext ctx) Returns `true` if the `value` matches this clause.abstract booleantoFilter(@NotNull FilteringContext ctx) Converts the clause intoObjectFilter(passed toFilteringContext.filterCollector).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
SelectorClause
public SelectorClause()
-
-
Method Details
-
matches
public abstract boolean matches(@NotNull @NotNull PrismValue value, @NotNull @NotNull MatchingContext ctx) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException Returns `true` if the `value` matches this clause. -
toFilter
public abstract boolean toFilter(@NotNull @NotNull FilteringContext ctx) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException Converts the clause intoObjectFilter(passed toFilteringContext.filterCollector). Returns `false` if the clause is not applicable to given situation. -
getName
Human-understandable name to be used e.g. in tracing messages. -
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-