LifecycleCallbackNotifier

Calls lifecycle callbacks for entities, ensuring that any given entity is only ever called once.

API

LifecycleCallbackNotifier.java
class LifecycleCallbackNotifier {
  void postCreate(ManagedObject entity)
  void postLoad(ManagedObject entity)
  void prePersist(Either<ManagedObject, ManagedObject> eitherWithOrWithoutOid)     (1)
  void postPersist(ManagedObject entity)
  void preUpdate(ManagedObject entity)
  void postUpdate(ManagedObject entity)
  void preRemove(ManagedObject entity)
}

Members

prePersist(Either)