E - the entity typepublic interface PreDeleteContext<E>
| Modifier and Type | Method and Description |
|---|---|
Config |
getConfig()
Returns the configuration.
|
EntityType<E> |
getEntityType()
Returns the entity description.
|
java.lang.reflect.Method |
getMethod()
The method that is annotated with
Delete. |
E |
getNewEntity()
Returns the new entity.
|
void |
setNewEntity(E newEntity)
Sets the new entity.
|
EntityType<E> getEntityType()
java.lang.reflect.Method getMethod()
Delete.Config getConfig()
E getNewEntity()
void setNewEntity(E newEntity)
This method is available, when the entity is immutable.
newEntity - the entityDomaNullPointerException - if newEntity is null