Package | Description |
---|---|
org.springframework.data.relational.core.conversion | |
org.springframework.data.relational.core.mapping.event |
Modifier and Type | Method and Description |
---|---|
static <T> MutableAggregateChange<T> |
MutableAggregateChange.forDelete(Class<T> entityClass,
T entity)
Factory method to create an
MutableAggregateChange for deleting entities. |
static <T> MutableAggregateChange<T> |
MutableAggregateChange.forDelete(T entity)
Factory method to create an
MutableAggregateChange for deleting entities. |
static <T> MutableAggregateChange<T> |
MutableAggregateChange.forSave(T entity)
Factory method to create an
MutableAggregateChange for saving entities. |
Modifier and Type | Method and Description |
---|---|
void |
RelationalEntityDeleteWriter.write(Object id,
MutableAggregateChange<?> aggregateChange)
Fills the provided
MutableAggregateChange with the necessary DbAction s to delete the aggregate root
identified by id . |
void |
RelationalEntityWriter.write(Object root,
MutableAggregateChange<?> aggregateChange) |
void |
RelationalEntityUpdateWriter.write(Object root,
MutableAggregateChange<?> aggregateChange) |
void |
RelationalEntityInsertWriter.write(Object root,
MutableAggregateChange<?> aggregateChange) |
Modifier and Type | Method and Description |
---|---|
T |
BeforeDeleteCallback.onBeforeDelete(T aggregate,
MutableAggregateChange<T> aggregateChange)
Entity callback method invoked before an aggregate root is deleted.
|
T |
BeforeSaveCallback.onBeforeSave(T aggregate,
MutableAggregateChange<T> aggregateChange)
Entity callback method invoked before an aggregate root is saved.
|
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.