public interface BeforeUpdateEntityListener<T extends Entity>
Modifier and Type | Method and Description |
---|---|
void |
onBeforeUpdate(T entity,
EntityManager entityManager)
Executes before the object has been updated in DB.
|
void onBeforeUpdate(T entity, EntityManager entityManager)
entity
- updated entity instanceentityManager
- EntityManager that owns the entity instance