org.codehaus.groovy.grails.orm.hibernate.metaclass
Class AbstractClausedStaticPersistentMethod

java.lang.Object
  extended by org.codehaus.groovy.grails.commons.metaclass.AbstractStaticMethodInvocation
      extended by org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod
          extended by org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod
All Implemented Interfaces:
StaticMethodInvocation
Direct Known Subclasses:
CountByPersistentMethod, FindAllByPersistentMethod, FindByPersistentMethod

public abstract class AbstractClausedStaticPersistentMethod
extends AbstractStaticPersistentMethod

Since:
31-Aug-2005
Author:
Graeme Rocher

Nested Class Summary
protected static class AbstractClausedStaticPersistentMethod.GrailsMethodExpression
           
 
Field Summary
protected  GrailsApplication application
           
 
Constructor Summary
AbstractClausedStaticPersistentMethod(GrailsApplication application, org.hibernate.SessionFactory sessionFactory, ClassLoader classLoader, Pattern pattern, String[] operators)
           
 
Method Summary
protected  Object doInvokeInternal(Class clazz, String methodName, groovy.lang.Closure additionalCriteria, Object[] arguments)
           
protected abstract  Object doInvokeInternalWithExpressions(Class clazz, String methodName, Object[] arguments, List expressions, String operatorInUse, groovy.lang.Closure additionalCriteria)
           
 
Methods inherited from class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod
getCriteria, getHibernateTemplate, invoke, invoke
 
Methods inherited from class org.codehaus.groovy.grails.commons.metaclass.AbstractStaticMethodInvocation
getPattern, isMethodMatch, setPattern, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

application

protected final GrailsApplication application
Constructor Detail

AbstractClausedStaticPersistentMethod

public AbstractClausedStaticPersistentMethod(GrailsApplication application,
                                             org.hibernate.SessionFactory sessionFactory,
                                             ClassLoader classLoader,
                                             Pattern pattern,
                                             String[] operators)
Method Detail

doInvokeInternal

protected Object doInvokeInternal(Class clazz,
                                  String methodName,
                                  groovy.lang.Closure additionalCriteria,
                                  Object[] arguments)
Specified by:
doInvokeInternal in class AbstractStaticPersistentMethod

doInvokeInternalWithExpressions

protected abstract Object doInvokeInternalWithExpressions(Class clazz,
                                                          String methodName,
                                                          Object[] arguments,
                                                          List expressions,
                                                          String operatorInUse,
                                                          groovy.lang.Closure additionalCriteria)


Copyright (c) 2005-2009 The Grails project