Interface ObjectFilter
- All Superinterfaces:
DebugDumpable
,Freezable
,PrismContextSensitive
,Revivable
,Serializable
- All Known Subinterfaces:
AllFilter
,AndFilter
,AnyInFilter<T>
,ComparativeFilter<T>
,EqualFilter<T>
,ExistsFilter
,FullTextFilter
,FuzzyStringMatchFilter<T>
,GreaterFilter<T>
,InOidFilter
,LessFilter<T>
,LogicalFilter
,NaryLogicalFilter
,NoneFilter
,NotFilter
,OrFilter
,OrgFilter
,OwnedByFilter
,PropertyValueFilter<T>
,ReferencedByFilter
,RefFilter
,SubstringFilter<T>
,TypeFilter
,UnaryLogicalFilter
,UndefinedFilter
,ValueFilter<V,
D>
public interface ObjectFilter
extends DebugDumpable, Serializable, Revivable, Freezable, PrismContextSensitive
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
checkConsistence
(boolean requireDefinitions) clone()
Does a SHALLOW clone.static boolean
equals
(@Nullable ObjectFilter filter, @Nullable Object other, boolean exact) Utility method performingequals(Object, boolean)
on two nullable objects.boolean
boolean
match
(PrismContainerValue<?> value, MatchingRuleRegistry matchingRuleRegistry) default boolean
matchesOnly
(ItemPath... paths) Returns true, if filter processes only enumerated item paths and does not use referencedBy, ownedBy where path context changes drastically.void
revive
(PrismContext prismContext) TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary)Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Method Details
-
clone
ObjectFilter clone()Does a SHALLOW clone. -
match
boolean match(PrismContainerValue<?> value, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException - Throws:
SchemaException
-
accept
-
revive
Description copied from interface:Revivable
TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary) -
checkConsistence
void checkConsistence(boolean requireDefinitions) -
equals
-
equals
static boolean equals(@Nullable @Nullable ObjectFilter filter, @Nullable @Nullable Object other, boolean exact) Utility method performingequals(Object, boolean)
on two nullable objects. -
matchesOnly
Returns true, if filter processes only enumerated item paths and does not use referencedBy, ownedBy where path context changes drastically. Useful to find if filter could be executed with limited set of information (e.g. only access to target name inRefFilter
-