public class RelationalEntityDeleteWriter extends Object implements EntityWriter<Object,AggregateChange<?>>
DbActions inside a
AggregateChangethat need to be executed against the database to recreate the appropriate state in the database.
|Constructor and Description|
public RelationalEntityDeleteWriter(RelationalMappingContext context)
public void write(@Nullable Object id, AggregateChange<?> aggregateChange)
AggregateChangewith the necessary
DbActions to delete the aggregate root identified by
nullit is interpreted as "Delete all aggregates of the type indicated by the aggregateChange".
Copyright © 2017–2018 Pivotal Software, Inc.. All rights reserved.