public class RestrictionsFactoryUtil
extends Object
Constructor and Description |
---|
RestrictionsFactoryUtil() |
Modifier and Type | Method and Description |
---|---|
static Criterion |
allEq(Map<String,Criterion> propertyNameValues) |
static Criterion |
and(Criterion lhs,
Criterion rhs) |
static Criterion |
between(String propertyName,
Object lo,
Object hi) |
static Conjunction |
conjunction() |
static Disjunction |
disjunction() |
static Criterion |
eq(String propertyName,
Object value) |
static Criterion |
eqProperty(String propertyName,
String otherPropertyName) |
static Criterion |
ge(String propertyName,
Object value) |
static Criterion |
geProperty(String propertyName,
String otherPropertyName) |
static RestrictionsFactory |
getRestrictionsFactory() |
static Criterion |
gt(String propertyName,
Object value) |
static Criterion |
gtProperty(String propertyName,
String otherPropertyName) |
static Criterion |
ilike(String propertyName,
Object value) |
static Criterion |
in(String propertyName,
Collection<?> values) |
static Criterion |
in(String propertyName,
Object[] values) |
static Criterion |
isEmpty(String propertyName) |
static Criterion |
isNotEmpty(String propertyName) |
static Criterion |
isNotNull(String propertyName) |
static Criterion |
isNull(String propertyName) |
static Criterion |
le(String propertyName,
Object value) |
static Criterion |
leProperty(String propertyName,
String otherPropertyName) |
static Criterion |
like(String propertyName,
Object value) |
static Criterion |
lt(String propertyName,
Object value) |
static Criterion |
ltProperty(String propertyName,
String otherPropertyName) |
static Criterion |
ne(String propertyName,
Object value) |
static Criterion |
neProperty(String propertyName,
String otherPropertyName) |
static Criterion |
not(Criterion expression) |
static Criterion |
or(Criterion lhs,
Criterion rhs) |
void |
setRestrictionsFactory(RestrictionsFactory restrictionsFactory) |
static Criterion |
sizeEq(String propertyName,
int size) |
static Criterion |
sizeGe(String propertyName,
int size) |
static Criterion |
sizeGt(String propertyName,
int size) |
static Criterion |
sizeLe(String propertyName,
int size) |
static Criterion |
sizeLt(String propertyName,
int size) |
static Criterion |
sizeNe(String propertyName,
int size) |
static Criterion |
sqlRestriction(String sql) |
static Criterion |
sqlRestriction(String sql,
Object[] values,
Type[] types) |
static Criterion |
sqlRestriction(String sql,
Object value,
Type type) |
public static Criterion between(String propertyName, Object lo, Object hi)
public static Conjunction conjunction()
public static Disjunction disjunction()
public static Criterion eq(String propertyName, Object value)
public static Criterion eqProperty(String propertyName, String otherPropertyName)
public static Criterion ge(String propertyName, Object value)
public static Criterion geProperty(String propertyName, String otherPropertyName)
public static RestrictionsFactory getRestrictionsFactory()
public static Criterion gt(String propertyName, Object value)
public static Criterion gtProperty(String propertyName, String otherPropertyName)
public static Criterion ilike(String propertyName, Object value)
public static Criterion in(String propertyName, Collection<?> values)
public static Criterion in(String propertyName, Object[] values)
public static Criterion isEmpty(String propertyName)
public static Criterion isNotEmpty(String propertyName)
public static Criterion isNotNull(String propertyName)
public static Criterion isNull(String propertyName)
public static Criterion le(String propertyName, Object value)
public static Criterion leProperty(String propertyName, String otherPropertyName)
public static Criterion like(String propertyName, Object value)
public static Criterion lt(String propertyName, Object value)
public static Criterion ltProperty(String propertyName, String otherPropertyName)
public static Criterion ne(String propertyName, Object value)
public static Criterion neProperty(String propertyName, String otherPropertyName)
public static Criterion sizeEq(String propertyName, int size)
public static Criterion sizeGe(String propertyName, int size)
public static Criterion sizeGt(String propertyName, int size)
public static Criterion sizeLe(String propertyName, int size)
public static Criterion sizeLt(String propertyName, int size)
public static Criterion sizeNe(String propertyName, int size)
public static Criterion sqlRestriction(String sql)
public void setRestrictionsFactory(RestrictionsFactory restrictionsFactory)