com.atlassian.bamboo.hibernate
Class DirtiedHibernateSessionObjectRecorder

java.lang.Object
  extended by org.springframework.orm.hibernate.support.ChainedInterceptorSupport
      extended by com.atlassian.bamboo.hibernate.DirtiedHibernateSessionObjectRecorder
All Implemented Interfaces:
net.sf.hibernate.Interceptor

public class DirtiedHibernateSessionObjectRecorder
extends ChainedInterceptorSupport


Field Summary
 
Fields inherited from class org.springframework.orm.hibernate.support.ChainedInterceptorSupport
log
 
Constructor Summary
DirtiedHibernateSessionObjectRecorder()
           
 
Method Summary
static void addCustomAfterCommitHandler(java.lang.Runnable customAfterCommitHandler)
           
 void onDelete(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, net.sf.hibernate.type.Type[] types)
           
 boolean onFlushDirty(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.String[] propertyNames, net.sf.hibernate.type.Type[] types)
           
 boolean onSave(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, net.sf.hibernate.type.Type[] types)
           
 
Methods inherited from class org.springframework.orm.hibernate.support.ChainedInterceptorSupport
findDirty, getNextInterceptor, instantiate, isUnsaved, onLoad, postFlush, preFlush, setIdOnNewEntity, setNextInterceptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirtiedHibernateSessionObjectRecorder

public DirtiedHibernateSessionObjectRecorder()
Method Detail

addCustomAfterCommitHandler

public static void addCustomAfterCommitHandler(java.lang.Runnable customAfterCommitHandler)

onFlushDirty

public boolean onFlushDirty(java.lang.Object entity,
                            java.io.Serializable id,
                            java.lang.Object[] currentState,
                            java.lang.Object[] previousState,
                            java.lang.String[] propertyNames,
                            net.sf.hibernate.type.Type[] types)
                     throws net.sf.hibernate.CallbackException
Specified by:
onFlushDirty in interface net.sf.hibernate.Interceptor
Overrides:
onFlushDirty in class ChainedInterceptorSupport
Throws:
net.sf.hibernate.CallbackException
See Also:
Interceptor.onFlushDirty(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.Object[], java.lang.String[], net.sf.hibernate.type.Type[])

onSave

public boolean onSave(java.lang.Object entity,
                      java.io.Serializable id,
                      java.lang.Object[] state,
                      java.lang.String[] propertyNames,
                      net.sf.hibernate.type.Type[] types)
               throws net.sf.hibernate.CallbackException
Specified by:
onSave in interface net.sf.hibernate.Interceptor
Overrides:
onSave in class ChainedInterceptorSupport
Throws:
net.sf.hibernate.CallbackException
See Also:
Interceptor.onSave(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], net.sf.hibernate.type.Type[])

onDelete

public void onDelete(java.lang.Object entity,
                     java.io.Serializable id,
                     java.lang.Object[] state,
                     java.lang.String[] propertyNames,
                     net.sf.hibernate.type.Type[] types)
              throws net.sf.hibernate.CallbackException
Specified by:
onDelete in interface net.sf.hibernate.Interceptor
Overrides:
onDelete in class ChainedInterceptorSupport
Throws:
net.sf.hibernate.CallbackException
See Also:
Interceptor.onDelete(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], net.sf.hibernate.type.Type[])


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.