Abstract support for String-based queries
Type Params | Return Type | Name and description |
---|---|---|
|
protected org.codehaus.groovy.ast.stmt.Statement |
buildQueryReturnStatement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.expr.Expression args) Builds the query return statement |
|
protected QueryStringTransformer |
createQueryStringTransformer(org.codehaus.groovy.control.SourceUnit sourceUnit, org.codehaus.groovy.ast.VariableScope scope) Creates the query string transformer |
|
void |
doImplement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode) |
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
|
protected java.lang.Iterable<java.lang.String> |
getHandledPrefixes() |
|
int |
getOrder() |
Methods inherited from class | Name |
---|---|
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() |
Builds the query return statement
domainClassNode
- The domain classargs
- The argumentsCreates the query string transformer
sourceUnit
- The source unitscope
- the variable scope