public class CompositeInterceptor extends Object implements net.sf.hibernate.Interceptor
Constructor and Description |
---|
CompositeInterceptor(List<net.sf.hibernate.Interceptor> delegates) |
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) |
public CompositeInterceptor(List<net.sf.hibernate.Interceptor> delegates)
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.Interceptor
net.sf.hibernate.CallbackException
public 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.Interceptor
net.sf.hibernate.CallbackException
public 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.Interceptor
net.sf.hibernate.CallbackException
public 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.Interceptor
net.sf.hibernate.CallbackException
public void preFlush(Iterator entities) throws net.sf.hibernate.CallbackException
preFlush
in interface net.sf.hibernate.Interceptor
net.sf.hibernate.CallbackException
public void postFlush(Iterator entities) throws net.sf.hibernate.CallbackException
postFlush
in interface net.sf.hibernate.Interceptor
net.sf.hibernate.CallbackException
public Boolean isUnsaved(Object entity)
isUnsaved
in interface net.sf.hibernate.Interceptor
public int[] findDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, net.sf.hibernate.type.Type[] types)
findDirty
in interface net.sf.hibernate.Interceptor
public Object instantiate(Class clazz, Serializable id) throws net.sf.hibernate.CallbackException
instantiate
in interface net.sf.hibernate.Interceptor
net.sf.hibernate.CallbackException
Copyright © 2003–2015 Atlassian. All rights reserved.