org.grails.datastore.gorm.finders
Class FindAllByBooleanFinder

java.lang.Object
  extended by org.grails.datastore.gorm.finders.DynamicFinder
      extended by org.grails.datastore.gorm.finders.FindAllByFinder
          extended by org.grails.datastore.gorm.finders.FindAllByBooleanFinder
All Implemented Interfaces:
FinderMethod

public class FindAllByBooleanFinder
extends FindAllByFinder

The "findAllBy*" static persistent method. This method allows querying for instances of grails domain classes based on a boolean property and any other arbitrary properties. eg. Account.findAllActiveByHolder("Joe Blogs"); // Where class "Account" has a properties called "active" and "holder" Account.findAllActiveByHolderAndBranch("Joe Blogs", "London"); // Where class "Account" has a properties called "active', "holder" and "branch" In both of those queries, the query will only select Account objects where active=true.


Field Summary
 
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
 
Constructor Summary
FindAllByBooleanFinder(Datastore datastore)
           
 
Method Summary
 
Methods inherited from class org.grails.datastore.gorm.finders.FindAllByFinder
doInvokeInternalWithExpressions
 
Methods inherited from class org.grails.datastore.gorm.finders.DynamicFinder
applyAdditionalCriteria, configureQueryWithArguments, invoke, invoke, isMethodMatch, populateArgumentsForCriteria, setPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindAllByBooleanFinder

public FindAllByBooleanFinder(Datastore datastore)