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

public class AfterSaveEvent extends SaveEvent
An event published immediately after a save operation to Cloud Datastore.
See Also:
  • Constructor Details

    • AfterSaveEvent

      public AfterSaveEvent(List<com.google.cloud.datastore.Entity> datastoreEntities, List javaEntities)
      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

    • getDatastoreEntities

      public List<com.google.cloud.datastore.Entity> getDatastoreEntities()
      Get the Cloud Datastore entities that were saved.
      Returns:
      The entities that were saved in Cloud Datastore.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class SaveEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SaveEvent