WEB-INF.cftags.component coldbox.system.orm.hibernate.BaseBuilder coldbox.system.orm.hibernate.CriteriaBuilder
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
array
|
criterias
|
true
|
false
|
|
string
|
queryCacheRegion
|
criterias.{entityName}
|
true
|
false
|
boolean
|
useQueryCaching
|
false
|
true
|
false
|
Constructor Summary | |
---|---|
init(string entityName, [boolean useQueryCaching='false'], [string queryCacheRegion=''], any ORMService)
|
Method Summary | |
---|---|
array
|
GETCRITERIAS()
|
string
|
GETQUERYCACHEREGION()
|
boolean
|
GETUSEQUERYCACHING()
|
CriteriaBuilder
|
SETCRITERIAS(array criterias)
|
CriteriaBuilder
|
SETQUERYCACHEREGION(string queryCacheRegion)
|
CriteriaBuilder
|
SETUSEQUERYCACHING(boolean useQueryCaching)
|
any
|
cache(boolean cache='true', [string cacheRegion])
|
any
|
cacheRegion(string cacheRegion)
|
numeric
|
count([any propertyName=''])
Get the record count using hibernate projections for the given criterias. |
any
|
createSubcriteria(string entityName, [string alias=''])
|
any
|
fetchSize(numeric fetchSize)
|
any
|
firstResult(numeric firstResult)
|
any
|
get()
|
private any
|
getORMUtil()
Get ORM Util. |
any
|
list([numeric offset='0'], [numeric max='0'], [numeric timeout='0'], [string sortOrder=''], [boolean ignoreCase='false'], [boolean asQuery='false'])
Execute the criteria queries you have defined and return the results, you can pass optional parameters or define them via our methods. |
any
|
maxResults(numeric maxResults)
|
any
|
onMissingMethod(string missingMethodName, struct missingMethodArguments)
|
any
|
readOnly([boolean readOnly='true'])
|
any
|
timeout(numeric timeout)
|
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
entityName
useQueryCaching
queryCacheRegion
ORMService
Property Detail |
---|
serializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseMethod Detail |
---|
criterias
queryCacheRegion
useQueryCaching
cache
cacheRegion
cacheRegion
Get the record count using hibernate projections for the given criterias
propertyName
- The name of the property to do the count on or do it for all row results insteadentityName
alias
fetchSize
firstResult
Get ORM Util
Execute the criteria queries you have defined and return the results, you can pass optional parameters or define them via our methods
offset
max
timeout
sortOrder
ignoreCase
asQuery
maxResults
missingMethodName
missingMethodArguments
readOnly
timeout