@groovy.transform.CompileStatic class FindAllImplementer extends AbstractDetachedCriteriaServiceImplementor
Automatically implements Service interface methods that start with "list" and return an iterable of domain classes
Fields inherited from class | Fields |
---|---|
class AbstractDetachedCriteriaServiceImplementor |
DETACHED_CRITERIA |
Type | Name and description |
---|---|
static java.util.List<java.lang.String> |
HANDLED_PREFIXES |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Iterable<java.lang.String> |
getHandledPrefixes() |
|
void |
implementById(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode, org.codehaus.groovy.ast.stmt.BlockStatement body, org.codehaus.groovy.ast.expr.Expression byIdLookup) |
|
void |
implementWithQuery(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode, org.codehaus.groovy.ast.stmt.BlockStatement body, org.codehaus.groovy.ast.expr.VariableExpression detachedCriteriaVar, org.codehaus.groovy.ast.expr.Expression queryArgs) |
|
protected boolean |
isCompatibleReturnType(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.ClassNode returnType, java.lang.String prefix) |
|
protected boolean |
lookupById() |
|
protected org.codehaus.groovy.ast.ClassNode |
resolveDomainClassFromSignature(org.codehaus.groovy.ast.ClassNode currentDomainClassNode, org.codehaus.groovy.ast.MethodNode methodNode) |
Methods inherited from class | Name |
---|---|
class AbstractDetachedCriteriaServiceImplementor |
doImplement, getDetachedCriteriaType, implementById, implementWithQuery, lookupById |
class AbstractReadOperationImplementer |
applyDefaultTransactionHandling, doImplement, doesEnhance, enhance, findArgsExpression, implement, resolveDomainClassFromSignature |
class AbstractServiceImplementer |
copyClassAnnotations, doesImplement, getHandledPrefixes, isCompatibleReturnType, isValidParameter |
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() |