@FunctionalInterface public interface AfterDeleteCallback<T> extends EntityCallback<T>
EntityCallback
that gets called after an aggregate got deleted. This callback gets only invoked if the
method deleting the aggregate received an instance of that aggregate as an argument. Methods deleting entities by id
or without any parameter don't invoke this callback.Modifier and Type | Method and Description |
---|---|
T |
onAfterDelete(T aggregate)
Entity callback method invoked after an aggregate root was deleted.
|
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.