@CompileStatic class UpdateOneImplementer extends AbstractSaveImplementer implements SingleResultServiceImplementer<GormEntity>
Implements an update operation that returns the updated domain class
| Type | Name and description |
|---|---|
static List<String> |
HANDLED_PREFIXES |
| Constructor and description |
|---|
UpdateOneImplementer() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
doImplement(ClassNode domainClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, ClassNode targetClassNode) |
|
boolean |
doesImplement(ClassNode domainClass, MethodNode methodNode) |
|
Iterable<String> |
getHandledPrefixes() |
|
protected boolean |
isCompatibleReturnType(ClassNode domainClass, MethodNode methodNode, ClassNode returnType, String prefix) |
| Methods inherited from class | Name |
|---|---|
class AbstractSaveImplementer |
bindParametersAndSave |
class AbstractWriteOperationImplementer |
doImplement, doesEnhance, enhance, implement |
class AbstractServiceImplementer |
buildInstanceApiLookup, buildStaticApiLookup, copyClassAnnotations, datastore, doesImplement, findConnectionId, findInstanceApiForConnectionId, findStaticApiForConnectionId, getOrder, isCompatibleReturnType, isValidParameter, multiTenantDatastore, resolvePrefix, tenantService, transactionService, transactionalDatastore |
Groovy Documentation