Module jakarta.data

Class PostInsertEvent<E>

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

public class PostInsertEvent<E> extends LifecycleEvent<E>
An event that occurs when an Insert lifecycle method is called, after each record is inserted into the datastore.
  • Constructor Details

    • PostInsertEvent

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