coldbox.system.orm.hibernate.criterion

Class Restrictions

WEB-INF.cftags.component
        extended by coldbox.system.orm.hibernate.criterion.Restrictions
Class Attributes:
  • singleton
  •  
    Direct Known Subclasses:
    Subqueries

    ******************************************************************************* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Author : Michael McKellip , Luis Majano Description : A proxy to hibernate org.hibernate.criterion.Restrictions object to allow for criteria based querying

    Constructor Summary
    init()
    Method Summary
    any $and()
    any $or()
    any between(string property, any minValue, any maxValue)
    any conjunction(array restrictionValues)
    any disjunction(array restrictionValues)
    any eqProperty(string property, string otherProperty)
    any geProperty(string property, string otherProperty)
    any getNativeClass()
    any gtProperty(string property, string otherProperty)
    any idEQ(any propertyValue)
    any ilike(string property, string propertyValue)
    any isEmpty(string property)
    any isEq(string property, any propertyValue)
    any isFalse(string property)
    any isGe(string property, any propertyValue)
    any isGt(string property, any propertyValue)
    any isIn(string property, any propertyValue)
    any isNot(any criterion)
    any isNotEmpty(string property)
    any isNotNull(string property)
    any isNull(string property)
    any isTrue(string property)
    any isle(string property, any propertyValue)
    any islt(string property, any propertyValue)
    any leProperty(string property, string otherProperty)
    any like(string property, string propertyValue)
    any ltProperty(string property, string otherProperty)
    any ne(string property, any propertyValue)
    any neProperty(string property, any otherProperty)
    any onMissingMethod(string missingMethodName, struct missingMethodArguments)
    any sizeEq(string property, any propertyValue)
    any sizeGE(string property, any propertyValue)
    any sizeGT(string property, any propertyValue)
    any sizeLE(string property, any propertyValue)
    any sizeLT(string property, any propertyValue)
    any sizeNE(string property, any propertyValue)
    any sqlRestriction(string sql)
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Constructor Detail

    init

    public init()


    Method Detail

    $and

    public any $and()


    $or

    public any $or()


    between

    public any between(string property, any minValue, any maxValue)

    Parameters:
    property
    minValue
    maxValue

    conjunction

    public any conjunction(array restrictionValues)

    Parameters:
    restrictionValues

    disjunction

    public any disjunction(array restrictionValues)

    Parameters:
    restrictionValues

    eqProperty

    public any eqProperty(string property, string otherProperty)

    Parameters:
    property
    otherProperty

    geProperty

    public any geProperty(string property, string otherProperty)

    Parameters:
    property
    otherProperty

    getNativeClass

    public any getNativeClass()


    gtProperty

    public any gtProperty(string property, string otherProperty)

    Parameters:
    property
    otherProperty

    idEQ

    public any idEQ(any propertyValue)

    Parameters:
    propertyValue

    ilike

    public any ilike(string property, string propertyValue)

    Parameters:
    property
    propertyValue

    isEmpty

    public any isEmpty(string property)

    Parameters:
    property

    isEq

    public any isEq(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    isFalse

    public any isFalse(string property)

    Parameters:
    property

    isGe

    public any isGe(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    isGt

    public any isGt(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    isIn

    public any isIn(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    isNot

    public any isNot(any criterion)

    Parameters:
    criterion

    isNotEmpty

    public any isNotEmpty(string property)

    Parameters:
    property

    isNotNull

    public any isNotNull(string property)

    Parameters:
    property

    isNull

    public any isNull(string property)

    Parameters:
    property

    isTrue

    public any isTrue(string property)

    Parameters:
    property

    isle

    public any isle(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    islt

    public any islt(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    leProperty

    public any leProperty(string property, string otherProperty)

    Parameters:
    property
    otherProperty

    like

    public any like(string property, string propertyValue)

    Parameters:
    property
    propertyValue

    ltProperty

    public any ltProperty(string property, string otherProperty)

    Parameters:
    property
    otherProperty

    ne

    public any ne(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    neProperty

    public any neProperty(string property, any otherProperty)

    Parameters:
    property
    otherProperty

    onMissingMethod

    public any onMissingMethod(string missingMethodName, struct missingMethodArguments)

    Parameters:
    missingMethodName
    missingMethodArguments

    sizeEq

    public any sizeEq(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    sizeGE

    public any sizeGE(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    sizeGT

    public any sizeGT(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    sizeLE

    public any sizeLE(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    sizeLT

    public any sizeLT(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    sizeNE

    public any sizeNE(string property, any propertyValue)

    Parameters:
    property
    propertyValue

    sqlRestriction

    public any sqlRestriction(string sql)

    Parameters:
    sql