The "findAll<booleanProperty>By*" 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.
| Modifiers | Name | Description | 
|---|---|---|
| static java.lang.String | METHOD_PATTERN | 
| Fields inherited from class | Fields | 
|---|---|
| class DynamicFinder | ARGUMENT_CACHE, ARGUMENT_FETCH, ARGUMENT_FETCH_SIZE, ARGUMENT_FLUSH_MODE, ARGUMENT_IGNORE_CASE, ARGUMENT_LOCK, ARGUMENT_MAX, ARGUMENT_OFFSET, ARGUMENT_ORDER, ARGUMENT_READ_ONLY, ARGUMENT_SORT, ARGUMENT_TIMEOUT, ORDER_ASC, ORDER_DESC, mappingContext, pattern | 
| class AbstractFinder | datastore | 
| Constructor and description | 
|---|
| FindAllByBooleanFinder
                                (Datastore datastore) | 
| FindAllByBooleanFinder
                                (MappingContext mappingContext) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | boolean | firstExpressionIsRequiredBoolean() | 
| Methods inherited from class | Name | 
|---|---|
| class FindAllByFinder | buildQuery, buildQuery, doInvokeInternal, firstExpressionIsRequiredBoolean, invokeQuery | 
| class DynamicFinder | applyDetachedCriteria, applySortForMap, buildMatchSpec, configureQueryWithArguments, createFinderInvocation, doInvokeInternal, findMethodExpression, findMethodExpression, getFetchMode, invoke, invoke, invoke, isMethodMatch, populateArgumentsForCriteria, populateArgumentsForCriteria, registerNewMethodExpression, setPattern | 
| class AbstractFinder | applyAdditionalCriteria, execute, execute | 
| class java.lang.Object | java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |