public class BeforeImageInterceptor
extends org.hibernate.EmptyInterceptor
| Constructor and Description |
|---|
BeforeImageInterceptor(to.etc.webapp.query.IBeforeImageCache cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionLoaded(org.hibernate.collection.PersistentCollection collection)
Called from
CopyCollectionEventListener when a lazy collection is loaded, this
initializes the "before" image of that collection. |
to.etc.webapp.query.IBeforeImageCache |
getCache() |
void |
onAfterLoad(org.hibernate.event.PostLoadEvent loadevent)
Whenever an entity is loaded make sure that a "before" image of it exists.
|
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onFlushDirty, onLoad, onPrepareStatement, onSave, postFlush, preFlushpublic BeforeImageInterceptor(@Nonnull to.etc.webapp.query.IBeforeImageCache cache)
@Nonnull public to.etc.webapp.query.IBeforeImageCache getCache()
public void onAfterLoad(@Nonnull org.hibernate.event.PostLoadEvent loadevent)
org.hibernate.EmptyInterceptor#onAfterLoad(org.hibernate.event.PostLoadEvent)public void collectionLoaded(@Nonnull org.hibernate.collection.PersistentCollection collection)
CopyCollectionEventListener when a lazy collection is loaded, this
initializes the "before" image of that collection.collection - Copyright © 2017 etc.to. All rights reserved.