@groovy.transform.CompileStatic class SoftDeleteEntityDataFetcher<T> extends DeleteEntityDataFetcher<T>
Used to soft delete entity instances. Alternative to DeleteEntityDataFetcher to allow users to register their own instances.
Type | Name and description |
---|---|
org.grails.datastore.mapping.model.MappingContext |
mappingContext |
java.lang.String |
propertyName |
java.lang.Object |
value |
Constructor and description |
---|
SoftDeleteEntityDataFetcher
(org.grails.datastore.mapping.model.PersistentEntity entity, java.lang.String propertyName, java.lang.Object value) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
deleteInstance(org.grails.datastore.gorm.GormEntity instance) |
Groovy Documentation