java.lang.Object |
↳ |
com.atlassian.confluence.content.persistence.hibernate.PluginContentHibernateInterceptor |
Class Overview
Interceptor responsible for adding the pluggable content adapter to any content loaded from the database. Because
of loading order problems (the plugin system isn't available when hibernate is configured), responsibility for
providing the Plugin Accessor to this class is given to the PluginContentHibernateDao after it is initialised.
Summary
Public Methods |
int[]
|
findDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)
|
Object
|
instantiate(Class clazz, Serializable id)
|
Boolean
|
isUnsaved(Object entity)
|
void
|
onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
|
boolean
|
onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)
|
boolean
|
onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
|
boolean
|
onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
|
void
|
postFlush(Iterator entities)
|
void
|
preFlush(Iterator entities)
|
void
|
setContentTypeManager(ContentTypeManager contentTypeManager)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
net.sf.hibernate.Interceptor
int[]
|
findDirty(Object arg0, Serializable arg1, Object[] arg2, Object[] arg3, String[] arg4, Type[] arg5)
|
Object
|
instantiate(Class arg0, Serializable arg1)
|
Boolean
|
isUnsaved(Object arg0)
|
void
|
onDelete(Object arg0, Serializable arg1, Object[] arg2, String[] arg3, Type[] arg4)
|
boolean
|
onFlushDirty(Object arg0, Serializable arg1, Object[] arg2, Object[] arg3, String[] arg4, Type[] arg5)
|
boolean
|
onLoad(Object arg0, Serializable arg1, Object[] arg2, String[] arg3, Type[] arg4)
|
boolean
|
onSave(Object arg0, Serializable arg1, Object[] arg2, String[] arg3, Type[] arg4)
|
void
|
postFlush(Iterator arg0)
|
void
|
preFlush(Iterator arg0)
|
|
Public Constructors
public
PluginContentHibernateInterceptor
()
Public Methods
public
void
postFlush
(Iterator entities)
public
void
preFlush
(Iterator entities)