Interface AfterConvertCallback<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.

@FunctionalInterface public interface AfterConvertCallback<T> extends EntityCallback<T>
An EntityCallback that gets invoked after an aggregate was converted from the database into an entity.
Since:
2.3
Author:
Jens Schauder
  • Method Summary

    Modifier and Type
    Method
    Description
    onAfterConvert(T aggregate)
    Entity callback method invoked after an aggregate root was converted.
  • Method Details

    • onAfterConvert

      T onAfterConvert(T aggregate)
      Entity callback method invoked after an aggregate root was converted. Can return either the same or a modified instance of the domain object.
      Parameters:
      aggregate - the converted aggregate.
      Returns:
      the converted and possibly modified aggregate.