net.smartlab.web.history
Class Interceptor
java.lang.Object
net.smartlab.web.history.Interceptor
- All Implemented Interfaces:
- org.hibernate.Interceptor
public class Interceptor
- extends java.lang.Object
- implements org.hibernate.Interceptor
TODO documentation
- Author:
- rlogiacco
Field Summary |
protected org.apache.commons.logging.Log |
logger
Logger for this class |
Method Summary |
void |
afterTransactionBegin(org.hibernate.Transaction arg0)
|
void |
afterTransactionCompletion(org.hibernate.Transaction arg0)
|
void |
beforeTransactionCompletion(org.hibernate.Transaction arg0)
|
int[] |
findDirty(java.lang.Object arg0,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.Object[] arg3,
java.lang.String[] arg4,
org.hibernate.type.Type[] arg5)
|
java.lang.Object |
getEntity(java.lang.String arg0,
java.io.Serializable arg1)
|
java.lang.String |
getEntityName(java.lang.Object arg0)
|
java.lang.Object |
instantiate(java.lang.String arg0,
org.hibernate.EntityMode arg1,
java.io.Serializable arg2)
|
java.lang.Boolean |
isTransient(java.lang.Object arg0)
|
void |
onCollectionRecreate(java.lang.Object arg0,
java.io.Serializable arg1)
|
void |
onCollectionRemove(java.lang.Object arg0,
java.io.Serializable arg1)
|
void |
onCollectionUpdate(java.lang.Object arg0,
java.io.Serializable arg1)
|
void |
onDelete(java.lang.Object arg0,
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 key,
java.lang.Object[] current,
java.lang.Object[] previous,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
|
boolean |
onLoad(java.lang.Object arg0,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.String[] arg3,
org.hibernate.type.Type[] arg4)
|
java.lang.String |
onPrepareStatement(java.lang.String arg0)
|
boolean |
onSave(java.lang.Object arg0,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.String[] arg3,
org.hibernate.type.Type[] arg4)
|
void |
postFlush(java.util.Iterator arg0)
|
void |
preFlush(java.util.Iterator arg0)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
- Logger for this class
Interceptor
public Interceptor()
onLoad
public boolean onLoad(java.lang.Object arg0,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.String[] arg3,
org.hibernate.type.Type[] arg4)
throws org.hibernate.CallbackException
- Specified by:
onLoad
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
onFlushDirty
public boolean onFlushDirty(java.lang.Object entity,
java.io.Serializable key,
java.lang.Object[] current,
java.lang.Object[] previous,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
throws org.hibernate.CallbackException
- Specified by:
onFlushDirty
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
onSave
public boolean onSave(java.lang.Object arg0,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.String[] arg3,
org.hibernate.type.Type[] arg4)
throws org.hibernate.CallbackException
- Specified by:
onSave
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
onDelete
public void onDelete(java.lang.Object arg0,
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
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
onCollectionRecreate
public void onCollectionRecreate(java.lang.Object arg0,
java.io.Serializable arg1)
throws org.hibernate.CallbackException
- Specified by:
onCollectionRecreate
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
onCollectionRemove
public void onCollectionRemove(java.lang.Object arg0,
java.io.Serializable arg1)
throws org.hibernate.CallbackException
- Specified by:
onCollectionRemove
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
onCollectionUpdate
public void onCollectionUpdate(java.lang.Object arg0,
java.io.Serializable arg1)
throws org.hibernate.CallbackException
- Specified by:
onCollectionUpdate
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
preFlush
public void preFlush(java.util.Iterator arg0)
throws org.hibernate.CallbackException
- Specified by:
preFlush
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
postFlush
public void postFlush(java.util.Iterator arg0)
throws org.hibernate.CallbackException
- Specified by:
postFlush
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
isTransient
public java.lang.Boolean isTransient(java.lang.Object arg0)
- Specified by:
isTransient
in interface org.hibernate.Interceptor
- See Also:
TODO implement
findDirty
public int[] findDirty(java.lang.Object arg0,
java.io.Serializable arg1,
java.lang.Object[] arg2,
java.lang.Object[] arg3,
java.lang.String[] arg4,
org.hibernate.type.Type[] arg5)
- Specified by:
findDirty
in interface org.hibernate.Interceptor
- See Also:
TODO implement
instantiate
public java.lang.Object instantiate(java.lang.String arg0,
org.hibernate.EntityMode arg1,
java.io.Serializable arg2)
throws org.hibernate.CallbackException
- Specified by:
instantiate
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
getEntityName
public java.lang.String getEntityName(java.lang.Object arg0)
throws org.hibernate.CallbackException
- Specified by:
getEntityName
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
getEntity
public java.lang.Object getEntity(java.lang.String arg0,
java.io.Serializable arg1)
throws org.hibernate.CallbackException
- Specified by:
getEntity
in interface org.hibernate.Interceptor
- Throws:
org.hibernate.CallbackException
- See Also:
TODO implement
afterTransactionBegin
public void afterTransactionBegin(org.hibernate.Transaction arg0)
- Specified by:
afterTransactionBegin
in interface org.hibernate.Interceptor
- See Also:
TODO implement
beforeTransactionCompletion
public void beforeTransactionCompletion(org.hibernate.Transaction arg0)
- Specified by:
beforeTransactionCompletion
in interface org.hibernate.Interceptor
- See Also:
TODO implement
afterTransactionCompletion
public void afterTransactionCompletion(org.hibernate.Transaction arg0)
- Specified by:
afterTransactionCompletion
in interface org.hibernate.Interceptor
- See Also:
TODO implement
onPrepareStatement
public java.lang.String onPrepareStatement(java.lang.String arg0)
- Specified by:
onPrepareStatement
in interface org.hibernate.Interceptor
- See Also:
TODO implement
Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.