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|
|Modifier and Type||Method and Description|
Fills the provided
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".
id- May be
aggregateChange- Must not be
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.