Liferay 6.0.5

com.liferay.portal.kernel.dao.orm
Class RestrictionsFactoryUtil

java.lang.Object
  extended by com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil

public class RestrictionsFactoryUtil
extends Object


Constructor Summary
RestrictionsFactoryUtil()
           
 
Method Summary
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<Object> 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictionsFactoryUtil

public RestrictionsFactoryUtil()
Method Detail

allEq

public static Criterion allEq(Map<String,Criterion> propertyNameValues)

and

public static Criterion and(Criterion lhs,
                            Criterion rhs)

between

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

conjunction

public static Conjunction conjunction()

disjunction

public static Disjunction disjunction()

eq

public static Criterion eq(String propertyName,
                           Object value)

eqProperty

public static Criterion eqProperty(String propertyName,
                                   String otherPropertyName)

ge

public static Criterion ge(String propertyName,
                           Object value)

geProperty

public static Criterion geProperty(String propertyName,
                                   String otherPropertyName)

getRestrictionsFactory

public static RestrictionsFactory getRestrictionsFactory()

gt

public static Criterion gt(String propertyName,
                           Object value)

gtProperty

public static Criterion gtProperty(String propertyName,
                                   String otherPropertyName)

ilike

public static Criterion ilike(String propertyName,
                              Object value)

in

public static Criterion in(String propertyName,
                           Collection<Object> values)

in

public static Criterion in(String propertyName,
                           Object[] values)

isEmpty

public static Criterion isEmpty(String propertyName)

isNotEmpty

public static Criterion isNotEmpty(String propertyName)

isNotNull

public static Criterion isNotNull(String propertyName)

isNull

public static Criterion isNull(String propertyName)

le

public static Criterion le(String propertyName,
                           Object value)

leProperty

public static Criterion leProperty(String propertyName,
                                   String otherPropertyName)

like

public static Criterion like(String propertyName,
                             Object value)

lt

public static Criterion lt(String propertyName,
                           Object value)

ltProperty

public static Criterion ltProperty(String propertyName,
                                   String otherPropertyName)

ne

public static Criterion ne(String propertyName,
                           Object value)

neProperty

public static Criterion neProperty(String propertyName,
                                   String otherPropertyName)

not

public static Criterion not(Criterion expression)

or

public static Criterion or(Criterion lhs,
                           Criterion rhs)

setRestrictionsFactory

public void setRestrictionsFactory(RestrictionsFactory restrictionsFactory)

sizeEq

public static Criterion sizeEq(String propertyName,
                               int size)

sizeGe

public static Criterion sizeGe(String propertyName,
                               int size)

sizeGt

public static Criterion sizeGt(String propertyName,
                               int size)

sizeLe

public static Criterion sizeLe(String propertyName,
                               int size)

sizeLt

public static Criterion sizeLt(String propertyName,
                               int size)

sizeNe

public static Criterion sizeNe(String propertyName,
                               int size)

Liferay 6.0.5