Class NaryLogicalRestriction<T extends NaryLogicalFilter>
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.query2.restriction.Restriction<T>
-
- com.evolveum.midpoint.repo.sql.query2.restriction.LogicalRestriction<T>
-
- com.evolveum.midpoint.repo.sql.query2.restriction.NaryLogicalRestriction<T>
-
- Direct Known Subclasses:
AndRestriction
,OrRestriction
public abstract class NaryLogicalRestriction<T extends NaryLogicalFilter> extends LogicalRestriction<T>
- Author:
- lazyman
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.sql.query2.restriction.Restriction
context, filter, parent
-
-
Constructor Summary
Constructors Constructor Description NaryLogicalRestriction(InterpretationContext context, T filter, JpaEntityDefinition baseEntityDefinition, Restriction parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Restriction>
getRestrictions()
protected void
updateJunction(List<? extends ObjectFilter> subfilters, JunctionCondition junction)
protected void
validateFilter()
-
Methods inherited from class com.evolveum.midpoint.repo.sql.query2.restriction.Restriction
getBaseHqlEntity, getBaseHqlEntityForChildren, getContext, getFilter, getItemPathResolver, getParent, interpret, isNegated, nameOf
-
-
-
-
Constructor Detail
-
NaryLogicalRestriction
public NaryLogicalRestriction(InterpretationContext context, T filter, JpaEntityDefinition baseEntityDefinition, Restriction parent)
-
-
Method Detail
-
getRestrictions
public List<Restriction> getRestrictions()
-
validateFilter
protected void validateFilter() throws QueryException
- Throws:
QueryException
-
updateJunction
protected void updateJunction(List<? extends ObjectFilter> subfilters, JunctionCondition junction) throws QueryException
- Throws:
QueryException
-
-