public class AfterDeleteEvent extends RelationalEventWithId
Identifier.Specifiedidentifier. If the entity is empty or not depends on the delete method used.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the aggregate root the event was triggered for.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public AfterDeleteEvent(Identifier.Specified id, Optional<Object> instance, AggregateChange change)
id- of the entity.
instance- the deleted entity if it is available.
AggregateChangeencoding the actions that were performed on the database as part of the delete operation.
public AggregateChange getChange()
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.