Liferay 6.2-ce-ga5

com.liferay.portal.kernel.dao.orm
Interface RestrictionsFactory


public interface 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)
           
 

Method Detail

allEq

Criterion allEq(Map<String,Criterion> propertyNameValues)

and

Criterion and(Criterion lhs,
              Criterion rhs)

between

Criterion between(String propertyName,
                  Object lo,
                  Object hi)

conjunction

Conjunction conjunction()

disjunction

Disjunction disjunction()

eq

Criterion eq(String propertyName,
             Object value)

eqProperty

Criterion eqProperty(String propertyName,
                     String otherPropertyName)

ge

Criterion ge(String propertyName,
             Object value)

geProperty

Criterion geProperty(String propertyName,
                     String otherPropertyName)

gt

Criterion gt(String propertyName,
             Object value)

gtProperty

Criterion gtProperty(String propertyName,
                     String otherPropertyName)

ilike

Criterion ilike(String propertyName,
                Object value)

in

Criterion in(String propertyName,
             Collection<?> values)

in

Criterion in(String propertyName,
             Object[] values)

isEmpty

Criterion isEmpty(String propertyName)

isNotEmpty

Criterion isNotEmpty(String propertyName)

isNotNull

Criterion isNotNull(String propertyName)

isNull

Criterion isNull(String propertyName)

le

Criterion le(String propertyName,
             Object value)

leProperty

Criterion leProperty(String propertyName,
                     String otherPropertyName)

like

Criterion like(String propertyName,
               Object value)

lt

Criterion lt(String propertyName,
             Object value)

ltProperty

Criterion ltProperty(String propertyName,
                     String otherPropertyName)

ne

Criterion ne(String propertyName,
             Object value)

neProperty

Criterion neProperty(String propertyName,
                     String otherPropertyName)

not

Criterion not(Criterion expression)

or

Criterion or(Criterion lhs,
             Criterion rhs)

sizeEq

Criterion sizeEq(String propertyName,
                 int size)

sizeGe

Criterion sizeGe(String propertyName,
                 int size)

sizeGt

Criterion sizeGt(String propertyName,
                 int size)

sizeLe

Criterion sizeLe(String propertyName,
                 int size)

sizeLt

Criterion sizeLt(String propertyName,
                 int size)

sizeNe

Criterion sizeNe(String propertyName,
                 int size)

sqlRestriction

Criterion sqlRestriction(String sql)

sqlRestriction

Criterion sqlRestriction(String sql,
                         Object value,
                         Type type)

sqlRestriction

Criterion sqlRestriction(String sql,
                         Object[] values,
                         Type[] types)

Liferay 6.2-ce-ga5