public class BeforeDeleteEvent<T> extends AbstractDeleteEvent<T>
Document held in the event will represent the query
document before being mapped based on the domain class handled.source| Constructor and Description |
|---|
BeforeDeleteEvent(org.bson.Document document,
Class<T> type,
String collectionName)
Creates a new
BeforeDeleteEvent for the given Document, type and collectionName. |
getTypegetCollectionName, getDocument, getSourcegetTimestamptoStringpublic BeforeDeleteEvent(org.bson.Document document,
@Nullable
Class<T> type,
String collectionName)
BeforeDeleteEvent for the given Document, type and collectionName.document - must not be null.type - may be null.collectionName - must not be null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.