default Object |
Interceptor.getEntity(String entityName,
Serializable id) |
Deprecated.
|
default Object |
Interceptor.getEntity(String entityName,
Object id) |
Get a fully loaded entity instance that is cached externally.
|
default String |
Interceptor.getEntityName(Object object) |
Get the entity name for a persistent or transient instance.
|
Object |
EmptyInterceptor.instantiate(String entityName,
RepresentationMode representationMode,
Object id) |
Deprecated.
|
Object |
Interceptor.instantiate(String entityName,
RepresentationMode representationMode,
Object id) |
|
default Object |
Interceptor.instantiate(String entityName,
EntityRepresentationStrategy representationStrategy,
Object id) |
Instantiate the entity.
|
default void |
Interceptor.onCollectionRecreate(Object collection,
Serializable key) |
Deprecated.
|
default void |
Interceptor.onCollectionRecreate(Object collection,
Object key) |
Called before a collection is (re)created.
|
default void |
Interceptor.onCollectionRemove(Object collection,
Serializable key) |
Deprecated.
|
default void |
Interceptor.onCollectionRemove(Object collection,
Object key) |
Called before a collection is deleted.
|
default void |
Interceptor.onCollectionUpdate(Object collection,
Serializable key) |
Deprecated.
|
default void |
Interceptor.onCollectionUpdate(Object collection,
Object key) |
Called before a collection is updated.
|
default void |
Interceptor.onDelete(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types) |
Deprecated.
|
default void |
Interceptor.onDelete(Object entity,
Object id,
Object[] state,
String[] propertyNames,
Type[] types) |
Called before an object is deleted.
|
default boolean |
Interceptor.onFlushDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
Type[] types) |
Deprecated.
|
default boolean |
Interceptor.onFlushDirty(Object entity,
Object id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
Type[] types) |
Called when an object is detected to be dirty, during a flush.
|
default boolean |
Interceptor.onLoad(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types) |
Deprecated.
|
default boolean |
Interceptor.onLoad(Object entity,
Object id,
Object[] state,
String[] propertyNames,
Type[] types) |
Called just before an object is initialized.
|
boolean |
EmptyInterceptor.onSave(Object entity,
Object id,
Object[] state,
String[] propertyNames,
Type[] types) |
Deprecated.
|
boolean |
Interceptor.onSave(Object entity,
Object id,
Object[] state,
String[] propertyNames,
Type[] types) |
Called before an object is saved.
|
default void |
Interceptor.postFlush(Iterator<Object> entities) |
Called after a flush that actually ends in execution of the SQL statements required to synchronize
in-memory state with the database.
|
default void |
Interceptor.preFlush(Iterator<Object> entities) |
Called before a flush.
|