Class DirtiedHibernateSessionObjectRecorder
- java.lang.Object
-
- org.springframework.orm.hibernate.support.ChainedInterceptorSupport
-
- com.atlassian.bamboo.hibernate.cachehooks.DirtiedHibernateSessionObjectRecorder
-
- All Implemented Interfaces:
org.hibernate.Interceptor
public class DirtiedHibernateSessionObjectRecorder extends ChainedInterceptorSupport
-
-
Constructor Summary
Constructors Constructor Description DirtiedHibernateSessionObjectRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types)
boolean
onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, org.hibernate.type.Type[] types)
boolean
onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types)
-
Methods inherited from class org.springframework.orm.hibernate.support.ChainedInterceptorSupport
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, getNextInterceptor, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onLoad, onPrepareStatement, postFlush, preFlush, setIdOnNewEntity, setNextInterceptor
-
-
-
-
Method Detail
-
onFlushDirty
public boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, org.hibernate.type.Type[] types) throws org.hibernate.CallbackException
- Specified by:
onFlushDirty
in interfaceorg.hibernate.Interceptor
- Overrides:
onFlushDirty
in classChainedInterceptorSupport
- Throws:
org.hibernate.CallbackException
- See Also:
Interceptor.onFlushDirty(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
-
onSave
public boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types) throws org.hibernate.CallbackException
- Specified by:
onSave
in interfaceorg.hibernate.Interceptor
- Overrides:
onSave
in classChainedInterceptorSupport
- Throws:
org.hibernate.CallbackException
- See Also:
Interceptor.onSave(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
-
onDelete
public void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types) throws org.hibernate.CallbackException
- Specified by:
onDelete
in interfaceorg.hibernate.Interceptor
- Overrides:
onDelete
in classChainedInterceptorSupport
- Throws:
org.hibernate.CallbackException
- See Also:
Interceptor.onDelete(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
-
-