com.liferay.portal.dao.orm.hibernate
Class RestrictionsFactoryImpl
java.lang.Object
com.liferay.portal.dao.orm.hibernate.RestrictionsFactoryImpl
- All Implemented Interfaces:
- RestrictionsFactory
public class RestrictionsFactoryImpl
- extends Object
- implements RestrictionsFactory
Method Summary |
Criterion |
allEq(Map<String,Criterion> propertyNameValues)
|
Criterion |
and(Criterion lhs,
Criterion rhs)
|
Criterion |
between(String propertyName,
Object lo,
Object hi)
|
Conjunction |
conjunction()
|
Disjunction |
disjunction()
|
Criterion |
eq(String propertyName,
Object value)
|
Criterion |
eqProperty(String propertyName,
String otherPropertyName)
|
Criterion |
ge(String propertyName,
Object value)
|
Criterion |
geProperty(String propertyName,
String otherPropertyName)
|
Criterion |
gt(String propertyName,
Object value)
|
Criterion |
gtProperty(String propertyName,
String otherPropertyName)
|
Criterion |
ilike(String propertyName,
Object value)
|
Criterion |
in(String propertyName,
Collection<?> values)
|
Criterion |
in(String propertyName,
Object[] values)
|
Criterion |
isEmpty(String propertyName)
|
Criterion |
isNotEmpty(String propertyName)
|
Criterion |
isNotNull(String propertyName)
|
Criterion |
isNull(String propertyName)
|
Criterion |
le(String propertyName,
Object value)
|
Criterion |
leProperty(String propertyName,
String otherPropertyName)
|
Criterion |
like(String propertyName,
Object value)
|
Criterion |
lt(String propertyName,
Object value)
|
Criterion |
ltProperty(String propertyName,
String otherPropertyName)
|
Criterion |
ne(String propertyName,
Object value)
|
Criterion |
neProperty(String propertyName,
String otherPropertyName)
|
Criterion |
not(Criterion expression)
|
Criterion |
or(Criterion lhs,
Criterion rhs)
|
Criterion |
sizeEq(String propertyName,
int size)
|
Criterion |
sizeGe(String propertyName,
int size)
|
Criterion |
sizeGt(String propertyName,
int size)
|
Criterion |
sizeLe(String propertyName,
int size)
|
Criterion |
sizeLt(String propertyName,
int size)
|
Criterion |
sizeNe(String propertyName,
int size)
|
Criterion |
sqlRestriction(String sql)
|
Criterion |
sqlRestriction(String sql,
Object[] values,
Type[] types)
|
Criterion |
sqlRestriction(String sql,
Object value,
Type type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestrictionsFactoryImpl
public RestrictionsFactoryImpl()
allEq
public Criterion allEq(Map<String,Criterion> propertyNameValues)
- Specified by:
allEq
in interface RestrictionsFactory
and
public Criterion and(Criterion lhs,
Criterion rhs)
- Specified by:
and
in interface RestrictionsFactory
between
public Criterion between(String propertyName,
Object lo,
Object hi)
- Specified by:
between
in interface RestrictionsFactory
conjunction
public Conjunction conjunction()
- Specified by:
conjunction
in interface RestrictionsFactory
disjunction
public Disjunction disjunction()
- Specified by:
disjunction
in interface RestrictionsFactory
eq
public Criterion eq(String propertyName,
Object value)
- Specified by:
eq
in interface RestrictionsFactory
eqProperty
public Criterion eqProperty(String propertyName,
String otherPropertyName)
- Specified by:
eqProperty
in interface RestrictionsFactory
ge
public Criterion ge(String propertyName,
Object value)
- Specified by:
ge
in interface RestrictionsFactory
geProperty
public Criterion geProperty(String propertyName,
String otherPropertyName)
- Specified by:
geProperty
in interface RestrictionsFactory
gt
public Criterion gt(String propertyName,
Object value)
- Specified by:
gt
in interface RestrictionsFactory
gtProperty
public Criterion gtProperty(String propertyName,
String otherPropertyName)
- Specified by:
gtProperty
in interface RestrictionsFactory
ilike
public Criterion ilike(String propertyName,
Object value)
- Specified by:
ilike
in interface RestrictionsFactory
in
public Criterion in(String propertyName,
Collection<?> values)
- Specified by:
in
in interface RestrictionsFactory
in
public Criterion in(String propertyName,
Object[] values)
- Specified by:
in
in interface RestrictionsFactory
isEmpty
public Criterion isEmpty(String propertyName)
- Specified by:
isEmpty
in interface RestrictionsFactory
isNotEmpty
public Criterion isNotEmpty(String propertyName)
- Specified by:
isNotEmpty
in interface RestrictionsFactory
isNotNull
public Criterion isNotNull(String propertyName)
- Specified by:
isNotNull
in interface RestrictionsFactory
isNull
public Criterion isNull(String propertyName)
- Specified by:
isNull
in interface RestrictionsFactory
le
public Criterion le(String propertyName,
Object value)
- Specified by:
le
in interface RestrictionsFactory
leProperty
public Criterion leProperty(String propertyName,
String otherPropertyName)
- Specified by:
leProperty
in interface RestrictionsFactory
like
public Criterion like(String propertyName,
Object value)
- Specified by:
like
in interface RestrictionsFactory
lt
public Criterion lt(String propertyName,
Object value)
- Specified by:
lt
in interface RestrictionsFactory
ltProperty
public Criterion ltProperty(String propertyName,
String otherPropertyName)
- Specified by:
ltProperty
in interface RestrictionsFactory
ne
public Criterion ne(String propertyName,
Object value)
- Specified by:
ne
in interface RestrictionsFactory
neProperty
public Criterion neProperty(String propertyName,
String otherPropertyName)
- Specified by:
neProperty
in interface RestrictionsFactory
not
public Criterion not(Criterion expression)
- Specified by:
not
in interface RestrictionsFactory
or
public Criterion or(Criterion lhs,
Criterion rhs)
- Specified by:
or
in interface RestrictionsFactory
sizeEq
public Criterion sizeEq(String propertyName,
int size)
- Specified by:
sizeEq
in interface RestrictionsFactory
sizeGe
public Criterion sizeGe(String propertyName,
int size)
- Specified by:
sizeGe
in interface RestrictionsFactory
sizeGt
public Criterion sizeGt(String propertyName,
int size)
- Specified by:
sizeGt
in interface RestrictionsFactory
sizeLe
public Criterion sizeLe(String propertyName,
int size)
- Specified by:
sizeLe
in interface RestrictionsFactory
sizeLt
public Criterion sizeLt(String propertyName,
int size)
- Specified by:
sizeLt
in interface RestrictionsFactory
sizeNe
public Criterion sizeNe(String propertyName,
int size)
- Specified by:
sizeNe
in interface RestrictionsFactory
sqlRestriction
public Criterion sqlRestriction(String sql)
- Specified by:
sqlRestriction
in interface RestrictionsFactory
sqlRestriction
public Criterion sqlRestriction(String sql,
Object value,
Type type)
- Specified by:
sqlRestriction
in interface RestrictionsFactory
sqlRestriction
public Criterion sqlRestriction(String sql,
Object[] values,
Type[] types)
- Specified by:
sqlRestriction
in interface RestrictionsFactory