@groovy.transform.CompileStatic abstract class AbstractReadOperationImplementer extends AbstractServiceImplementer
Abstract implementor for read operations
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
applyDefaultTransactionHandling(org.codehaus.groovy.ast.MethodNode newMethodNode) |
|
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) Subclasses should override to add the logic that implements the method |
|
boolean |
doesEnhance(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
void |
enhance(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode) |
|
protected org.codehaus.groovy.ast.expr.Expression |
findArgsExpression(org.codehaus.groovy.ast.MethodNode newMethodNode) |
|
void |
implement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode) |
|
protected org.codehaus.groovy.ast.ClassNode |
resolveDomainClassFromSignature(org.codehaus.groovy.ast.ClassNode currentDomainClassNode, org.codehaus.groovy.ast.MethodNode methodNode) Subclasses can override to provide resolution of the domain class from the method signature |
Methods inherited from class | Name |
---|---|
class AbstractServiceImplementer |
buildInstanceApiLookup, buildStaticApiLookup, copyClassAnnotations, datastore, doesImplement, findConnectionId, findInstanceApiForConnectionId, findStaticApiForConnectionId, getOrder, isCompatibleReturnType, isValidParameter, multiTenantDatastore, resolvePrefix, tenantService, transactionService, transactionalDatastore |
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() |
Subclasses should override to add the logic that implements the method
targetClassNode
- The target classabstractMethodNode
- The abstract methodnewMethodNode
- The newly added methodSubclasses can override to provide resolution of the domain class from the method signature
currentDomainClassNode
- The current defined domain class nodemethodNode
- The method node