@FunctionalInterface public interface BeforeConvertCallback<T> extends EntityCallback<T>
EntityCallbacks| Modifier and Type | Method and Description |
|---|---|
T |
onBeforeConvert(T entity,
String collection)
Entity callback method invoked before a domain object is converted to be persisted.
|
T onBeforeConvert(T entity, String collection)
entity - the domain object to save.collection - name of the collection.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.