Interface BeforeDeleteEntityListener<T>

All Known Implementing Classes:
ImapMailboxListener

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

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

    • onBeforeDelete

      void onBeforeDelete(T entity)
      Executes before the object has been deleted or marked as deleted in DB.
      Parameters:
      entity - deleted entity instance