@FunctionalInterface public interface BeforeSaveCallback<T> extends EntityCallback<T>
Documentcontents. This method is called after converting the
Documentso effectively the document is used as outcome of invoking this callback. Changes to the domain object are not taken into account for saving, only changes to the document. Only transient fields of the entity should be changed in this callback. To change persistent the entity before being converted, use the
entity- the domain object to save.
collection- name of the collection.
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.