Class ValidationInterceptor
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.validation.ValidationInterceptor
- All Implemented Interfaces:
org.hibernate.Interceptor
Interceptor
that validates entities upon save and update (flush).-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.Interceptor
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, findDirty, getEntity, getEntity, getEntityName, instantiate, instantiate, isTransient, onCollectionRecreate, onCollectionRecreate, onCollectionRemove, onCollectionRemove, onCollectionUpdate, onCollectionUpdate, onDelete, onDelete, onFlushDirty, onFlushDirty, onLoad, onLoad, onSave, onSave
-
Constructor Details
-
ValidationInterceptor
-
-
Method Details
-
preFlush
- Specified by:
preFlush
in interfaceorg.hibernate.Interceptor
-
postFlush
- Specified by:
postFlush
in interfaceorg.hibernate.Interceptor
-
isDirty
-