Class BeforeDeleteEvent<T>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent<Document>
org.springframework.data.mongodb.core.mapping.event.AbstractDeleteEvent<T>
org.springframework.data.mongodb.core.mapping.event.BeforeDeleteEvent<T>
- All Implemented Interfaces:
Serializable
Event being thrown before a document is deleted. The
Document held in the event will represent the query
document before being mapped based on the domain class handled.- Author:
- Martin Baumgartner, Christoph Strobl, Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newBeforeDeleteEventfor the givenDocument, type and collectionName. -
Method Summary
Methods inherited from class AbstractDeleteEvent
getTypeMethods inherited from class MongoMappingEvent
getCollectionName, getDocument, getSourceMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
toString
-
Constructor Details
-
BeforeDeleteEvent
-