Class WMEntityInterceptor
- java.lang.Object
-
- org.hibernate.EmptyInterceptor
-
- com.wavemaker.runtime.data.interceptors.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
-
-
Constructor Summary
Constructors Constructor Description WMEntityInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonDelete(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)booleanonFlushDirty(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)booleanonLoad(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)booleanonSave(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
-
-
-
-
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:
onDeletein interfaceorg.hibernate.Interceptor- Overrides:
onDeletein classorg.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:
onFlushDirtyin interfaceorg.hibernate.Interceptor- Overrides:
onFlushDirtyin classorg.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:
onLoadin interfaceorg.hibernate.Interceptor- Overrides:
onLoadin classorg.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:
onSavein interfaceorg.hibernate.Interceptor- Overrides:
onSavein classorg.hibernate.EmptyInterceptor
-
-