Class WMEntityInterceptor

  • All Implemented Interfaces:
    java.io.Serializable, org.hibernate.Interceptor

    public class WMEntityInterceptor
    extends org.hibernate.EmptyInterceptor
    Since:
    20/6/16
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.hibernate.EmptyInterceptor

        INSTANCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onDelete​(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.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, org.hibernate.type.Type[] types)  
      boolean onLoad​(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)  
      boolean onSave​(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)  
      • Methods inherited from class org.hibernate.EmptyInterceptor

        afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onPrepareStatement, postFlush, preFlush
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WMEntityInterceptor

        public WMEntityInterceptor()
    • Method Detail

      • onDelete

        public void onDelete​(java.lang.Object entity,
                             java.io.Serializable id,
                             java.lang.Object[] state,
                             java.lang.String[] propertyNames,
                             org.hibernate.type.Type[] types)
        Specified by:
        onDelete in interface org.hibernate.Interceptor
        Overrides:
        onDelete in class org.hibernate.EmptyInterceptor
      • onFlushDirty

        public boolean onFlushDirty​(java.lang.Object entity,
                                    java.io.Serializable id,
                                    java.lang.Object[] currentState,
                                    java.lang.Object[] previousState,
                                    java.lang.String[] propertyNames,
                                    org.hibernate.type.Type[] types)
        Specified by:
        onFlushDirty in interface org.hibernate.Interceptor
        Overrides:
        onFlushDirty in class org.hibernate.EmptyInterceptor
      • onLoad

        public boolean onLoad​(java.lang.Object entity,
                              java.io.Serializable id,
                              java.lang.Object[] state,
                              java.lang.String[] propertyNames,
                              org.hibernate.type.Type[] types)
        Specified by:
        onLoad in interface org.hibernate.Interceptor
        Overrides:
        onLoad in class org.hibernate.EmptyInterceptor
      • onSave

        public boolean onSave​(java.lang.Object entity,
                              java.io.Serializable id,
                              java.lang.Object[] state,
                              java.lang.String[] propertyNames,
                              org.hibernate.type.Type[] types)
        Specified by:
        onSave in interface org.hibernate.Interceptor
        Overrides:
        onSave in class org.hibernate.EmptyInterceptor