@CompileStatic class DelegatingGormEntityApi<D> extends Object implements GormEntityApi<D>
A delegating implementation of GormEntityApi
| Type | Name and description |
|---|---|
GormInstanceApi<D> |
instanceApi |
D |
target |
| Constructor and description |
|---|
DelegatingGormEntityApi(GormInstanceApi<D> instanceApi, D target) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
D |
attach() |
|
void |
delete() |
|
void |
delete(Map params) |
|
void |
discard() |
|
Serializable |
ident() |
|
D |
insert() |
|
D |
insert(Map params) |
|
boolean |
instanceOf(Class cls) |
|
boolean |
isAttached() |
|
boolean |
isDirty(String fieldName) |
|
boolean |
isDirty() |
|
D |
lock() |
|
D |
merge() |
|
D |
merge(Map params) |
|
Object |
mutex(Closure callable) |
|
D |
refresh() |
|
D |
save() |
|
D |
save(boolean validate) |
|
D |
save(Map params) |
Groovy Documentation