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 TypeMethodDescriptionvoidvoidcheckConsistence(boolean requireDefinitions) clone()Does a SHALLOW clone.voidcollectUsedPaths(TypedItemPath base, Consumer<TypedItemPath> pathConsumer, boolean expandReferences) static booleanequals(@Nullable ObjectFilter filter, @Nullable Object other, boolean exact) Utility method performingequals(Object, boolean)on two nullable objects.booleanbooleanmatch(PrismContainerValue<?> value, MatchingRuleRegistry matchingRuleRegistry) default booleanmatchesOnly(ItemPath... paths) Returns true, if filter processes only enumerated item paths and does not use referencedBy, ownedBy where path context changes drastically.voidrevive(PrismContext prismContext) TODO: Is revive necessary if prism context is static?Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods 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:RevivableTODO: 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 -
collectUsedPaths
void collectUsedPaths(TypedItemPath base, Consumer<TypedItemPath> pathConsumer, boolean expandReferences)
-