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