Interface LogicalFilter
-
- All Superinterfaces:
DebugDumpable,Freezable,ObjectFilter,PrismContextSensitive,Revivable,Serializable
- All Known Subinterfaces:
AndFilter,NaryLogicalFilter,NotFilter,OrFilter,UnaryLogicalFilter
public interface LogicalFilter extends ObjectFilter
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(Visitor visitor)voidaddCondition(ObjectFilter condition)voidcheckConsistence(boolean requireDefinitions)LogicalFiltercloneEmpty()booleancontains(ObjectFilter condition)List<ObjectFilter>getConditions()booleanisEmpty()default booleanmatchesOnly(ItemPath... paths)Returns true, if filter processes only enumerated item paths and does not use referencedBy, ownedBy where path context changes drastically.voidsetConditions(List<ObjectFilter> condition)-
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.query.ObjectFilter
clone, equals, match, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
-
-
-
Method Detail
-
getConditions
List<ObjectFilter> getConditions()
-
setConditions
void setConditions(List<ObjectFilter> condition)
-
addCondition
void addCondition(ObjectFilter condition)
-
contains
boolean contains(ObjectFilter condition)
-
cloneEmpty
LogicalFilter cloneEmpty()
-
isEmpty
boolean isEmpty()
-
checkConsistence
void checkConsistence(boolean requireDefinitions)
- Specified by:
checkConsistencein interfaceObjectFilter
-
accept
void accept(Visitor visitor)
- Specified by:
acceptin interfaceObjectFilter
-
matchesOnly
default boolean matchesOnly(ItemPath... paths)
Description copied from interface:ObjectFilterReturns 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- Specified by:
matchesOnlyin interfaceObjectFilter
-
-