Interface ReactiveAfterConvertCallback<T>

All Superinterfaces:
EntityCallback<T>
All Known Implementing Classes:
ReactiveAuditingEntityCallback
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ReactiveAfterConvertCallback<T> extends EntityCallback<T>
Callback being invoked after a domain object is materialized from a CouchbaseDocument when reading results.
Since:
4.2
Author:
Jorge Rodríguez Martín
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<T>
    onAfterConvert(T entity, CouchbaseDocument document, String collection)
    Entity callback method invoked after a domain object is converted to be persisted.
  • Method Details

    • onAfterConvert

      org.reactivestreams.Publisher<T> onAfterConvert(T entity, CouchbaseDocument document, String collection)
      Entity callback method invoked after a domain object is converted to be persisted. Can return either the same of a modified instance of the domain object.
      Parameters:
      entity - the domain object to save.
      collection - name of the collection.
      Returns:
      a Publisher emitting the domain object to be persisted.