Class SaveEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.google.cloud.spring.data.datastore.core.mapping.event.SaveEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AfterSaveEvent
,BeforeSaveEvent
public class SaveEvent
extends org.springframework.context.ApplicationEvent
An event published when entities are saved to Cloud Datastore.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the original Java objects that were saved.int
hashCode()
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
SaveEvent
Constructor.- Parameters:
entities
- The original Java entities being saved. Each entity may result in multiple Datastore entities being saved due to relationships.
-
-
Method Details