@FunctionalInterface public interface BeforeConvertCallback<T> extends EntityCallback<T>
EntityCallback
that gets invoked before the aggregate is converted into a database change. The decision if
the change will be an insert or update is made before this callback gets called.Modifier and Type | Method and Description |
---|---|
T |
onBeforeConvert(T aggregate)
Entity callback method invoked before an aggregate root is converted to be persisted.
|
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.