Module jakarta.data

Class PostDeleteEvent<E>

java.lang.Object
jakarta.data.event.LifecycleEvent<E>
jakarta.data.event.PostDeleteEvent<E>
Type Parameters:
E - the entity type

public class PostDeleteEvent<E> extends LifecycleEvent<E>
An event that occurs when a Delete lifecycle method is called, after each record is deleted from the datastore.
  • Constructor Details

    • PostDeleteEvent

      public PostDeleteEvent(@Nonnull E entity)
      Constructs a PostDeleteEvent for the given entity.
      Parameters:
      entity - entity instance
      Throws:
      NullPointerException - if the given entity is null