ObjectLifecyclePublisherDefault

Default implementation of ObjectLifecyclePublisher .

API

ObjectLifecyclePublisherDefault.java
class ObjectLifecyclePublisherDefault {
  void onPostCreate(ManagedObject entity)
  void onPostLoad(ManagedObject entity)
  void onPrePersist(Either<ManagedObject, ManagedObject> eitherWithOrWithoutOid)
  void onPostPersist(ManagedObject entity)
  void onPreUpdate(ManagedObject entity, Function<ManagedObject, Can<PropertyChangeRecord>> propertyChangeRecordSupplier)
  void onPostUpdate(ManagedObject entity)
  void onPreRemove(ManagedObject entity)
}