public abstract class ItemValueRestriction<T extends ValueFilter> extends ItemRestriction<T>
hqlDataInstance, itemDefinition, itemPath
baseHqlEntity, context, filter, parent
Constructor and Description |
---|
ItemValueRestriction(InterpretationContext context,
T filter,
JpaEntityDefinition baseEntityDefinition,
Restriction parent) |
Modifier and Type | Method and Description |
---|---|
protected Condition |
addIsNotNullIfNecessary(Condition condition,
String propertyPath)
Filter of type NOT(PROPERTY=VALUE) causes problems when there are entities with PROPERTY set to NULL.
|
protected Condition |
createPropertyVsConstantCondition(String hqlPropertyPath,
Object value,
ValueFilter filter) |
protected ItemRestrictionOperation |
findOperationForFilter(ValueFilter filter) |
protected Object |
getValue(PropertyValueFilter filter) |
Condition |
interpret() |
abstract Condition |
interpretInternal() |
getHqlDataInstance, getItemPath, setHqlDataInstance
getBaseHqlEntity, getBaseHqlEntityForChildren, getContext, getFilter, getItemPathResolver, getParent, isNegated, nameOf
public ItemValueRestriction(InterpretationContext context, T filter, JpaEntityDefinition baseEntityDefinition, Restriction parent)
public Condition interpret() throws QueryException
interpret
in class Restriction<T extends ValueFilter>
QueryException
public abstract Condition interpretInternal() throws QueryException
QueryException
protected Condition createPropertyVsConstantCondition(String hqlPropertyPath, Object value, ValueFilter filter) throws QueryException
QueryException
protected ItemRestrictionOperation findOperationForFilter(ValueFilter filter) throws QueryException
QueryException
protected Object getValue(PropertyValueFilter filter) throws QueryException
QueryException
protected Condition addIsNotNullIfNecessary(Condition condition, String propertyPath)
Copyright © 2016 evolveum. All rights reserved.