@CompileStatic abstract class AbstractWriteOperationImplementer extends AbstractServiceImplementer implements ServiceEnhancer
Abstract implementer for write operations
| Constructor and description |
|---|
AbstractWriteOperationImplementer() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract void |
doImplement(ClassNode domainClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, ClassNode targetClassNode)Subclasses should override to add the logic that implements the method |
|
boolean |
doesEnhance(ClassNode domainClass, MethodNode methodNode) |
|
void |
enhance(ClassNode domainClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, ClassNode targetClassNode) |
|
final void |
implement(ClassNode domainClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, ClassNode targetClassNode) |
| Methods inherited from class | Name |
|---|---|
class AbstractServiceImplementer |
buildInstanceApiLookup, buildStaticApiLookup, copyClassAnnotations, datastore, doesImplement, findConnectionId, findInstanceApiForConnectionId, findStaticApiForConnectionId, getOrder, 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