@FunctionalInterface public interface ReactiveAfterSaveCallback<T> extends EntityCallback<T>
Document.ReactiveEntityCallbacks| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<T> |
onAfterSave(T entity,
org.bson.Document document,
String collection)
Entity callback method invoked after a domain object is saved.
|
org.reactivestreams.Publisher<T> onAfterSave(T entity, org.bson.Document document, String collection)
entity - the domain object that was saved.document - Document representing the entity.collection - name of the collection.Publisher emitting the domain object to be returned to the caller.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.