Interface LogicalFilter
- All Superinterfaces:
DebugDumpable,Freezable,ObjectFilter,Revivable,Serializable
- All Known Subinterfaces:
AndFilter,NaryLogicalFilter,NotFilter,OrFilter,UnaryLogicalFilter
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddCondition(ObjectFilter condition) voidcheckConsistence(boolean requireDefinitions) default voidcollectUsedPaths(TypedItemPath base, Consumer<TypedItemPath> pathConsumer, boolean expandReferences) booleancontains(ObjectFilter condition) 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) default voidtransformItemPaths(ItemPath parentPath, ItemDefinition<?> parentDef, FilterItemPathTransformer transformer) Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Method Details
-
getConditions
List<ObjectFilter> getConditions() -
setConditions
-
addCondition
-
contains
-
cloneEmpty
LogicalFilter cloneEmpty() -
isEmpty
boolean isEmpty() -
checkConsistence
void checkConsistence(boolean requireDefinitions) - Specified by:
checkConsistencein interfaceObjectFilter
-
accept
- Specified by:
acceptin interfaceObjectFilter
-
matchesOnly
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
-
collectUsedPaths
default void collectUsedPaths(TypedItemPath base, Consumer<TypedItemPath> pathConsumer, boolean expandReferences) - Specified by:
collectUsedPathsin interfaceObjectFilter
-
transformItemPaths
default void transformItemPaths(ItemPath parentPath, ItemDefinition<?> parentDef, FilterItemPathTransformer transformer) - Specified by:
transformItemPathsin interfaceObjectFilter
-