Interface AfterDeleteEntityListener<T>


public interface AfterDeleteEntityListener<T>
Defines the contract for handling of entities after they have been deleted or marked as deleted in DB.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAfterDelete(T entity)
    Executes after the object has been deleted or marked as deleted in DB.
  • Method Details

    • onAfterDelete

      void onAfterDelete(T entity)
      Executes after the object has been deleted or marked as deleted in DB.

      Modification of the entity state or using EntityManager is impossible here.

      Parameters:
      entity - deleted entity