Methods
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) |