org.trails.hibernate
Class TrailsSecurityInterceptor
java.lang.Object
org.hibernate.EmptyInterceptor
org.trails.hibernate.TrailsInterceptor
org.trails.hibernate.TrailsSecurityInterceptor
- All Implemented Interfaces:
- java.io.Serializable, org.hibernate.Interceptor
public class TrailsSecurityInterceptor
- extends TrailsInterceptor
- See Also:
- Serialized Form
| Fields inherited from class org.hibernate.EmptyInterceptor |
INSTANCE |
|
Method Summary |
void |
onDelete(java.lang.Object entity,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.String[] arg3,
org.hibernate.type.Type[] arg4)
|
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 |
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, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onPrepareStatement, postFlush, preFlush |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.Interceptor |
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onPrepareStatement, postFlush, preFlush |
TrailsSecurityInterceptor
public TrailsSecurityInterceptor()
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)
throws org.hibernate.CallbackException
- Specified by:
onFlushDirty in interface org.hibernate.Interceptor- Overrides:
onFlushDirty in class TrailsInterceptor
- Throws:
org.hibernate.CallbackException
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)
throws org.hibernate.CallbackException
- Specified by:
onSave in interface org.hibernate.Interceptor- Overrides:
onSave in class TrailsInterceptor
- Throws:
org.hibernate.CallbackException
onDelete
public void onDelete(java.lang.Object entity,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.String[] arg3,
org.hibernate.type.Type[] arg4)
throws org.hibernate.CallbackException
- Specified by:
onDelete in interface org.hibernate.Interceptor- Overrides:
onDelete in class org.hibernate.EmptyInterceptor
- Throws:
org.hibernate.CallbackException
Copyright © 2004-2008. All Rights Reserved.