public class BeforeSaveEvent<E> extends MongoMappingEvent<E>
MongoMappingEvent triggered before save of a document.source| Constructor and Description |
|---|
BeforeSaveEvent(E source,
com.mongodb.DBObject dbo)
Deprecated.
since 1.8. Please use
BeforeSaveEvent(Object, DBObject, String). |
BeforeSaveEvent(E source,
com.mongodb.DBObject dbo,
String collectionName)
Creates new
BeforeSaveEvent. |
getCollectionName, getDBObject, getSourcegetTimestamptoString@Deprecated public BeforeSaveEvent(E source, com.mongodb.DBObject dbo)
BeforeSaveEvent(Object, DBObject, String).BeforeSaveEvent.source - must not be null.dbo - can be null.public BeforeSaveEvent(E source, com.mongodb.DBObject dbo, String collectionName)
BeforeSaveEvent.source - must not be null.dbo - can be null.collectionName - can be null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.