@groovy.transform.CompileStatic class FindAllImplementer extends AbstractDetachedCriteriaServiceImplementor implements IterableServiceImplementer<GormEntity>, Ordered
Automatically implements Service interface methods that start with "list" and return an iterable of domain classes
Modifiers | Name | Description |
---|---|---|
private static java.util.List<java.lang.String> |
HANDLED_PREFIXES |
Fields inherited from class | Fields |
---|---|
class AbstractDetachedCriteriaServiceImplementor |
DETACHED_CRITERIA |
Type | Name and description |
---|---|
static java.util.List<java.lang.String> |
HANDLED_PREFIXES |
Constructor and description |
---|
FindAllImplementer
() |
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) |
Groovy Documentation