Class RefItemFilterProcessor
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor<ValueFilter<?,?>>
com.evolveum.midpoint.repo.sqale.filtering.RefItemFilterProcessor
- All Implemented Interfaces:
FilterProcessor<ValueFilter<?,,?>> RightHandProcessor
Filter processor for reference item paths embedded in table as three columns.
OID is represented by UUID column, type by ID (see
MObjectType) and relation
by Integer (foreign key) to QUri.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
context -
Constructor Summary
ConstructorsConstructorDescriptionRefItemFilterProcessor(SqlQueryContext<?, Q, R> context, Function<Q, UuidPath> rootToOidPath, @Nullable Function<Q, com.querydsl.core.types.dsl.EnumPath<MObjectType>> rootToTypePath, @Nullable Function<Q, com.querydsl.core.types.dsl.NumberPath<Integer>> rootToRelationIdPath, @Nullable Function<Q, com.querydsl.core.types.dsl.StringPath> rootToTargetNamePath) -
Method Summary
Modifier and TypeMethodDescriptioncom.querydsl.core.types.dsl.NumberPath<Integer>com.querydsl.core.types.dsl.EnumPath<MObjectType>com.querydsl.core.types.Predicateprocess(ValueFilter<?, ?> filter) Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
createBinaryCondition, createUnsupportedMatchingRuleException, createUnsupportedMatchingRuleException, fuzzyStringPredicate, getSingleValue, isIgnoreCaseFilter, operation, predicateWithNotTreated, rightHand, singleValuePredicate, singleValuePredicateWithNotTreatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.sqlbase.filtering.FilterProcessor
process
-
Constructor Details
-
RefItemFilterProcessor
public RefItemFilterProcessor(SqlQueryContext<?, Q, R> context, Function<Q, UuidPath> rootToOidPath, @Nullable @Nullable Function<Q, com.querydsl.core.types.dsl.EnumPath<MObjectType>> rootToTypePath, @Nullable @Nullable Function<Q, com.querydsl.core.types.dsl.NumberPath<Integer>> rootToRelationIdPath, @Nullable @Nullable Function<Q, com.querydsl.core.types.dsl.StringPath> rootToTargetNamePath)
-
-
Method Details
-
process
public com.querydsl.core.types.Predicate process(ValueFilter<?, ?> filter) throws RepositoryException- Throws:
RepositoryException
-
getOidPath
-
getRelationIdPath
-
getTypePath
-