public class ListOrderByFinder extends AbstractFinder
The "listOrderBy*" static persistent method. Allows ordered listing of instances based on their properties. eg. Account.listOrderByHolder(); Account.listOrderByHolder(max); // max results
Fields inherited from class | Fields |
---|---|
class AbstractFinder |
datastore |
Constructor and description |
---|
ListOrderByFinder(Datastore datastore) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.Object |
doInSession(Session session) |
|
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, groovy.lang.Closure additionalCriteria, java.lang.Object[] arguments) |
|
protected java.lang.Object |
invokeQuery(Query q) |
|
public boolean |
isMethodMatch(java.lang.String methodName) |
|
public void |
setPattern(java.lang.String pattern) |
Methods inherited from class | Name |
---|---|
class AbstractFinder |
applyAdditionalCriteria, execute, execute |