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
public class RefItemFilterProcessor extends ItemValueFilterProcessor<ValueFilter<?,?>>
Filter processor for reference item paths embedded in table as three columns. OID is represented by UUID column, type by ID (seeMObjectType
) and relation by Integer (foreign key) toQUri
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RefItemFilterProcessor.ReferenceRowValue
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
context
-
-
Constructor Summary
Constructors Constructor Description RefItemFilterProcessor(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.querydsl.core.types.Predicate
process(ValueFilter<?,?> filter)
-
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
createBinaryCondition, fuzzyStringPredicate, getSingleValue, isIgnoreCaseFilter, operation, predicateWithNotTreated, rightHand, singleValuePredicate, singleValuePredicateWithNotTreated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.repo.sqlbase.filtering.FilterProcessor
process
-
-
-
-
Constructor Detail
-
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 Detail
-
process
public com.querydsl.core.types.Predicate process(ValueFilter<?,?> filter) throws RepositoryException
- Throws:
RepositoryException
-
-