Interface AfterSaveCallback<T>
- All Superinterfaces:
EntityCallback<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Entity callback triggered after save of an entity.
- Since:
- 4.0
- Author:
- Roman Puchkovskiy
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiononAfterSave
(T entity, IndexCoordinates index) Entity callback method invoked after a domain object is saved.
-
Method Details
-
onAfterSave
Entity callback method invoked after a domain object is saved. Can return either the same or a modified instance of the domain object.- Parameters:
entity
- the domain object that was saved.index
- must not be null.- Returns:
- the domain object that was persisted.
-