Class AfterDeleteEvent
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.AfterDeleteEvent
- All Implemented Interfaces:
Serializable
An event published just after Spring Data Cloud Datastore performs a delete operation.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAfterDeleteEvent
(com.google.cloud.datastore.Key[] keysToDelete, Class targetEntityClass, Iterable targetIds, Iterable targetEntities) Constructor. -
Method Summary
Methods inherited from class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
equals, getKeys, getOptionalTargetEntities, getOptionalTargetEntityClass, getOptionalTargetIds, hashCode
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AfterDeleteEvent
public AfterDeleteEvent(com.google.cloud.datastore.Key[] keysToDelete, Class targetEntityClass, Iterable targetIds, Iterable targetEntities) Constructor.- Parameters:
keysToDelete
- The keys that are deleted in this operation (nevernull
).targetEntityClass
- The target entity type deleted. This may benull
depending on the specific delete operation.targetIds
- The target entity ID values deleted. This may benull
depending on the specific delete operation.targetEntities
- The target entity objects deleted. This may benull
depending on the specific
-