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
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
accept(Visitor visitor)
void
checkConsistence(boolean requireDefinitions)
ObjectFilter
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
equals(Object o, boolean exact)
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 Detail
-
clone
ObjectFilter clone()
Does a SHALLOW clone.
-
match
boolean match(PrismContainerValue<?> value, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
- Throws:
SchemaException
-
accept
void accept(Visitor visitor)
-
revive
void revive(PrismContext prismContext)
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
boolean equals(Object o, boolean exact)
-
equals
static boolean equals(@Nullable @Nullable ObjectFilter filter, @Nullable @Nullable Object other, boolean exact)
Utility method performingequals(Object, boolean)
on two nullable objects.
-
matchesOnly
@Experimental 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. Useful to find if filter could be executed with limited set of information (e.g. only access to target name inRefFilter
-
-