Class AfterSaveEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.google.cloud.spring.data.datastore.core.mapping.event.SaveEvent
com.google.cloud.spring.data.datastore.core.mapping.event.AfterSaveEvent
- All Implemented Interfaces:
Serializable
An event published immediately after a save operation to Cloud Datastore.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAfterSaveEvent
(List<com.google.cloud.datastore.Entity> datastoreEntities, List javaEntities) Constructor. -
Method Summary
Methods inherited from class com.google.cloud.spring.data.datastore.core.mapping.event.SaveEvent
getTargetEntities
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AfterSaveEvent
Constructor.- Parameters:
datastoreEntities
- The Cloud Datastore entities that are being saved. These include any referenced or descendant entities of the original entities being saved.javaEntities
- The original Java entities being saved. Each entity may result in
-
-
Method Details