List of usage examples for org.hibernate Interceptor onDelete
void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) throws CallbackException;
From source file:org.riotfamily.common.hibernate.ChainedInterceptor.java
License:Apache License
public void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) { for (Interceptor interceptor : interceptors) { interceptor.onDelete(entity, id, state, propertyNames, types); }/*from ww w . j av a 2s . c om*/ }
From source file:org.unitedinternet.cosmo.hibernate.CompoundInterceptor.java
License:Apache License
@Override public void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) { for (Interceptor i : interceptors) { i.onDelete(entity, id, state, propertyNames, types); }//from ww w.ja v a 2 s .co m }