org.codehaus.groovy.grails.orm.hibernate.metaclass
Class FindAllWherePersistentMethod
java.lang.Object
org.codehaus.groovy.grails.commons.metaclass.AbstractStaticMethodInvocation
org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod
org.codehaus.groovy.grails.orm.hibernate.metaclass.FindAllWherePersistentMethod
- All Implemented Interfaces:
- StaticMethodInvocation
public class FindAllWherePersistentMethod
- extends AbstractStaticPersistentMethod
The "findAllWhere" persistent static method. This method takes a map with the
keys being the property names and the values being the values of those properties
and locates all instances that matches the criteria.
eg. Account.findAllWhere( [ "holder":"Joe Bloggs", branch:"London" ] );
- Author:
- Graeme Rocher, Drew Varner
Method Summary |
protected java.lang.Object |
doInvokeInternal(java.lang.Class clazz,
java.lang.String methodName,
java.lang.Object[] arguments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FindAllWherePersistentMethod
public FindAllWherePersistentMethod(org.hibernate.SessionFactory sessionFactory,
java.lang.ClassLoader classLoader)
doInvokeInternal
protected java.lang.Object doInvokeInternal(java.lang.Class clazz,
java.lang.String methodName,
java.lang.Object[] arguments)
- Specified by:
doInvokeInternal
in class AbstractStaticPersistentMethod
Copyright (c) 2005-2006 The Grails project