use of com.evolveum.midpoint.repo.sql.query2.hqm.condition.Condition in project midpoint by Evolveum.
the class NotRestriction method interpret.
@Override
public Condition interpret() throws QueryException {
validateFilter();
Condition condition = interpretChildFilter();
return getContext().getHibernateQuery().createNot(condition);
}
use of com.evolveum.midpoint.repo.sql.query2.hqm.condition.Condition in project midpoint by Evolveum.
the class OrRestriction method interpret.
@Override
public Condition interpret() throws QueryException {
validateFilter();
OrCondition disjunction = getContext().getHibernateQuery().createOr();
updateJunction(filter.getConditions(), disjunction);
return disjunction;
}
Aggregations