@groovy.transform.CompileStatic abstract class AbstractWriteOperationImplementer extends AbstractServiceImplementer
Abstract implementer for write operations
| Type | Name and description |
|---|---|
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) |
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) |
| Methods inherited from class | Name |
|---|---|
class AbstractServiceImplementer |
buildInstanceApiLookup, buildStaticApiLookup, copyClassAnnotations, datastore, doesImplement, findConnectionId, findInstanceApiForConnectionId, findStaticApiForConnectionId, isCompatibleReturnType, isValidParameter, multiTenantDatastore, resolvePrefix, tenantService, transactionService, transactionalDatastore |
Subclasses should override to add the logic that implements the method
targetClassNode - The target classabstractMethodNode - The abstract methodnewMethodNode - The newly added method