public interface PersistentEventHandler<P extends Persistent>
StoreUtil.addEventHandler(PersistentEventHandler, Class[])
Modifier and Type | Method and Description |
---|---|
default void |
afterDelete(P o)
Called after the object has been deleted from the database.
|
default void |
afterInsert(P o)
Called after the object has been inserted into the database.
|
default void |
afterRead(P o)
Called after the object is read from database.
|
default void |
afterUpdate(P o)
Called after the object has been updated in the database.
|
default void |
beforeDelete(P o)
Called before the object is deleted from the database.
|
default void |
beforeInsert(P o)
Called before the object is inserted into the database.
|
default void |
beforeUpdate(P o)
Called before the object is updated in the database.
|
default void beforeInsert(P o)
o
- the object to be inserteddefault void beforeUpdate(P o)
o
- the object to be updateddefault void beforeDelete(P o)
o
- the object to be deleteddefault void afterInsert(P o)
o
- the inserted objectdefault void afterUpdate(P o)
o
- the updated objectdefault void afterDelete(P o)
o
- the deleted objectdefault void afterRead(P o)
o
- the object, which has been read@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.