public class BeforeSaveEvent<E> extends MongoMappingEvent<E>
MongoMappingEvent triggered before save of a document.source| Constructor and Description |
|---|
BeforeSaveEvent(E source,
org.bson.Document document,
String collectionName)
Creates new
BeforeSaveEvent. |
getCollectionName, getDocument, getSourcegetTimestamptoStringpublic BeforeSaveEvent(E source, org.bson.Document document, String collectionName)
BeforeSaveEvent.source - must not be null.document - must not be null.collectionName - must not be null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.