java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
com.google.cloud.spring.data.datastore.core.mapping.event.BeforeDeleteEvent
All Implemented Interfaces:
Serializable

public class BeforeDeleteEvent extends DeleteEvent
An event published just before Spring Data Cloud Datastore performs a delete operation.
See Also:
  • Constructor Details

    • BeforeDeleteEvent

      public BeforeDeleteEvent(com.google.cloud.datastore.Key[] keysToDelete, Class targetEntityClass, Iterable targetIds, Iterable targetEntities)
      Constructor.
      Parameters:
      keysToDelete - The keys that are deleted in this operation (never null).
      targetEntityClass - The target entity type deleted. This may be null depending on the specific delete operation.
      targetIds - The target entity ID values deleted. This may be null depending on the specific delete operation.
      targetEntities - The target entity objects deleted. This may be null depending on the specific