Class BeforeSaveEvent<E>

All Implemented Interfaces:
Serializable

public class BeforeSaveEvent<E> extends MongoMappingEvent<E>
MongoMappingEvent triggered before save of a document.
Author:
Jon Brisbin, Christoph Strobl, Mark Paluch
See Also:
  • Constructor Details

    • BeforeSaveEvent

      public BeforeSaveEvent(E source, org.bson.Document document, String collectionName)
      Creates new BeforeSaveEvent.
      Parameters:
      source - must not be null.
      document - must not be null.
      collectionName - must not be null.
      Since:
      1.8