public class PluginContentHibernateInterceptor extends Object implements net.sf.hibernate.Interceptor
| Constructor and Description |
|---|
PluginContentHibernateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
findDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
net.sf.hibernate.type.Type[] types) |
Object |
instantiate(Class clazz,
Serializable id) |
Boolean |
isUnsaved(Object entity) |
void |
onDelete(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
net.sf.hibernate.type.Type[] types) |
boolean |
onFlushDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
net.sf.hibernate.type.Type[] types) |
boolean |
onLoad(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
net.sf.hibernate.type.Type[] types) |
boolean |
onSave(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
net.sf.hibernate.type.Type[] types) |
void |
postFlush(Iterator entities) |
void |
preFlush(Iterator entities) |
void |
setContentTypeManager(ContentTypeManager contentTypeManager) |
public boolean onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, net.sf.hibernate.type.Type[] types) throws net.sf.hibernate.CallbackException
onLoad in interface net.sf.hibernate.Interceptornet.sf.hibernate.CallbackExceptionpublic boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, net.sf.hibernate.type.Type[] types) throws net.sf.hibernate.CallbackException
onFlushDirty in interface net.sf.hibernate.Interceptornet.sf.hibernate.CallbackExceptionpublic boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, net.sf.hibernate.type.Type[] types) throws net.sf.hibernate.CallbackException
onSave in interface net.sf.hibernate.Interceptornet.sf.hibernate.CallbackExceptionpublic void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, net.sf.hibernate.type.Type[] types) throws net.sf.hibernate.CallbackException
onDelete in interface net.sf.hibernate.Interceptornet.sf.hibernate.CallbackExceptionpublic void preFlush(Iterator entities) throws net.sf.hibernate.CallbackException
preFlush in interface net.sf.hibernate.Interceptornet.sf.hibernate.CallbackExceptionpublic void postFlush(Iterator entities) throws net.sf.hibernate.CallbackException
postFlush in interface net.sf.hibernate.Interceptornet.sf.hibernate.CallbackExceptionpublic Boolean isUnsaved(Object entity)
isUnsaved in interface net.sf.hibernate.Interceptorpublic int[] findDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, net.sf.hibernate.type.Type[] types)
findDirty in interface net.sf.hibernate.Interceptorpublic Object instantiate(Class clazz, Serializable id) throws net.sf.hibernate.CallbackException
instantiate in interface net.sf.hibernate.Interceptornet.sf.hibernate.CallbackExceptionpublic void setContentTypeManager(ContentTypeManager contentTypeManager)
Copyright © 2003–2016 Atlassian. All rights reserved.