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
-
Method Summary
Modifier and TypeMethodDescriptiondebugDump
(int indent) abstract @NotNull String
getName()
Human-understandable name to be used e.g. in tracing messages.abstract boolean
matches
(@NotNull PrismValue value, @NotNull MatchingContext ctx) Returns `true` if the `value` matches this clause.boolean
Does this clause require full information about the object that is provided by the Projector?abstract boolean
toFilter
(@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, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
SelectorClause
public SelectorClause()
-
-
Method Details
-
requiresFullInformation
public boolean requiresFullInformation()Does this clause require full information about the object that is provided by the Projector? For example, any clauses referring to `parentOrgRef` or `tenantRef` need that information (which is computed from the assignments). -
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:
debugDump
in interfaceDebugDumpable
-