All Implemented Interfaces:
Serializable, RelationalEvent<E>, WithAggregateChange<E>, WithEntity<E>

public class AfterSaveEvent<E> extends RelationalSaveEvent<E>
Gets published after a new instance or a changed instance was saved in the database.
Author:
Jens Schauder
See Also:
  • Constructor Details

    • AfterSaveEvent

      public AfterSaveEvent(E instance, AggregateChange<E> change)
      Parameters:
      instance - the saved entity. Must not be null.
      change - the AggregateChange encoding the actions performed on the database as part of the delete. Must not be null.