Interface defining all typical query GORM operations on class
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Number |
count() Counts the number of records returned by the query |
|
java.lang.Number |
count(java.util.Map args) Counts the number of records returned by the query |
|
java.lang.Number |
count(java.util.Map args, groovy.lang.Closure additionalCriteria) Counts the number of records returned by the query |
|
T |
find(java.util.Map args, groovy.lang.Closure additionalCriteria) Synonym for #get |
|
T |
find(java.util.Map args) Synonym for #get |
|
T |
find() Synonym for #get |
|
T |
get(java.util.Map args, groovy.lang.Closure additionalCriteria) Returns a single result matching the criterion contained within this DetachedCriteria instance |
|
T |
get(java.util.Map args) Returns a single result matching the criterion contained within this DetachedCriteria instance |
|
T |
get() Returns a single result matching the criterion contained within this DetachedCriteria instance |
|
java.util.List<T> |
list() Lists all records matching the criterion contained within this DetachedCriteria instance |
|
java.util.List<T> |
list(java.util.Map args) Lists all records matching the criterion contained within this DetachedCriteria instance |
|
java.util.List<T> |
list(java.util.Map args, groovy.lang.Closure additionalCriteria) Lists all records matching the criterion contained within this DetachedCriteria instance |
|
java.lang.Object |
methodMissing(java.lang.String methodName, java.lang.Object args) Method missing handler for dynamic finders |
Counts the number of records returned by the query
Counts the number of records returned by the query
args
- The argumentsCounts the number of records returned by the query
args
- The argumentsadditionalCriteria
- Any additional criteriaSynonym for #get
Synonym for #get
Synonym for #get
Returns a single result matching the criterion contained within this DetachedCriteria instance
args
- The argumentsadditionalCriteria
- Additional criteriaReturns a single result matching the criterion contained within this DetachedCriteria instance
args
- The argumentsReturns a single result matching the criterion contained within this DetachedCriteria instance
Lists all records matching the criterion contained within this DetachedCriteria instance
Lists all records matching the criterion contained within this DetachedCriteria instance
args
- The argumentsLists all records matching the criterion contained within this DetachedCriteria instance
args
- The argumentsadditionalCriteria
- The additional criteriaMethod missing handler for dynamic finders
methodName
- The method nameargs
- The arguments