org.grails.datastore.gorm.finders
Class CountByFinder
java.lang.Object
org.grails.datastore.gorm.finders.DynamicFinder
org.grails.datastore.gorm.finders.CountByFinder
- All Implemented Interfaces:
- FinderMethod
public class CountByFinder
- extends DynamicFinder
Supports counting objects. For example Book.countByTitle("The Stand")
Fields inherited from class org.grails.datastore.gorm.finders.DynamicFinder |
ARGUMENT_CACHE, ARGUMENT_FETCH, ARGUMENT_IGNORE_CASE, ARGUMENT_LOCK, ARGUMENT_MAX, ARGUMENT_OFFSET, ARGUMENT_ORDER, ARGUMENT_SORT, ORDER_ASC, ORDER_DESC, pattern |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountByFinder
public CountByFinder(Datastore datastore)
doInvokeInternalWithExpressions
protected Object doInvokeInternalWithExpressions(Class clazz,
String methodName,
Object[] remainingArguments,
List<MethodExpression> expressions,
Closure additionalCriteria,
String operatorInUse)
- Specified by:
doInvokeInternalWithExpressions
in class DynamicFinder