public void onPostDelete(PostDeleteEvent event) { final Object entity = event.getEntity(); AbstractSavePersistentMethod.clearDisabledValidations(entity); if (postDeleteEventListener == null) { return; } doWithManualSession( event, new Closure(this) { @Override public Object call() { postDeleteEventListener.call(entity); return null; } }); }
public void onPostDelete(PostDeleteEvent event) { Object entity = event.getEntity(); callbackRegistry.postRemove(entity); }
@Override public void onPostDelete(PostDeleteEvent event) { evictCache(event.getEntity(), event.getPersister(), event.getSession(), null); }