Class AfterSaveEvent<E>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.relational.core.mapping.event.AbstractRelationalEvent<E>
org.springframework.data.relational.core.mapping.event.RelationalEventWithEntity<E>
org.springframework.data.relational.core.mapping.event.RelationalSaveEvent<E>
org.springframework.data.relational.core.mapping.event.AfterSaveEvent<E>
- All Implemented Interfaces:
Serializable
,RelationalEvent<E>
,WithAggregateChange<E>
,WithEntity<E>
Gets published after a new instance or a changed instance was saved in the database.
- Author:
- Jens Schauder
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.data.relational.core.mapping.event.RelationalSaveEvent
getAggregateChange
Methods inherited from class org.springframework.data.relational.core.mapping.event.RelationalEventWithEntity
getEntity, getType
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.data.relational.core.mapping.event.RelationalEvent
getType
-
Constructor Details
-
AfterSaveEvent
- Parameters:
instance
- the saved entity. Must not be null.change
- theAggregateChange
encoding the actions performed on the database as part of the delete. Must not be null.
-