Module jakarta.data

Class PreUpdateEvent<E>

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

public class PreUpdateEvent<E> extends LifecycleEvent<E>
An event that occurs when an Update lifecycle method is called, but before each entity is updated in the datastore.
  • Constructor Details

    • PreUpdateEvent

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