public class ListResultFinder extends java.lang.Object implements FinderMethod, QueryBuildingFinder
Implements every dynamic finder that returns a list of results: findAllBy* and the
findAll<booleanProperty>By* boolean-clause form - configured via static factory methods
rather than subclassed, composing a DynamicFinder grammar instead of extending it.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Query |
buildQuery(DynamicFinderInvocation invocation, Session session) |
|
public static ListResultFinder |
findAllBy(Datastore datastore) |
|
public static ListResultFinder |
findAllBy(DatastoreResolver datastoreResolver, MappingContext mappingContext) |
|
public static ListResultFinder |
findAllBy(MappingContext mappingContext) |
|
public static ListResultFinder |
findAllByBoolean(Datastore datastore) |
|
public static ListResultFinder |
findAllByBoolean(DatastoreResolver datastoreResolver, MappingContext mappingContext) |
|
public static ListResultFinder |
findAllByBoolean(MappingContext mappingContext) |
|
public java.lang.Object |
invoke(java.lang.Class clazz, java.lang.String methodName, java.lang.Object[] arguments) |
|
public java.lang.Object |
invoke(java.lang.Class clazz, java.lang.String methodName, Closure additionalCriteria, java.lang.Object[] arguments) |
|
public java.lang.Object |
invoke(java.lang.Class clazz, java.lang.String methodName, DetachedCriteria detachedCriteria, java.lang.Object[] arguments)Not part of FinderMethod - called reflectively (dynamic Groovy dispatch) by AbstractDetachedCriteria.methodMissing. |
|
public boolean |
isMethodMatch(java.lang.String methodName) |
|
public void |
setPattern(java.lang.String pattern) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Not part of FinderMethod - called reflectively (dynamic Groovy dispatch) by AbstractDetachedCriteria.methodMissing. See SingleResultFinder.invoke for the full rationale.
clazz - The persistent classmethodName - The method namedetachedCriteria - The detached criteria to merge into the built queryarguments - The method call arguments