Class IdBucketInterceptor
java.lang.Object
org.hibernate.EmptyInterceptor
pl.matsuo.core.service.db.interceptor.AbstractEntityInterceptor
pl.matsuo.core.service.db.interceptor.IdBucketInterceptor
- All Implemented Interfaces:
Serializable,org.hibernate.Interceptor
public class IdBucketInterceptor extends AbstractEntityInterceptor
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class pl.matsuo.core.service.db.interceptor.AbstractEntityInterceptor
sessionStateFields inherited from class org.hibernate.EmptyInterceptor
INSTANCE -
Constructor Summary
Constructors Constructor Description IdBucketInterceptor() -
Method Summary
Modifier and Type Method Description booleanonSave(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types)Methods inherited from class pl.matsuo.core.service.db.interceptor.AbstractEntityInterceptor
getValue, onFlushDirty, setValueMethods inherited from class org.hibernate.EmptyInterceptor
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onLoad, onPrepareStatement, postFlush, preFlush
-
Constructor Details
-
IdBucketInterceptor
public IdBucketInterceptor()
-
-
Method Details
-
onSave
public boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types)- Specified by:
onSavein interfaceorg.hibernate.Interceptor- Overrides:
onSavein classAbstractEntityInterceptor
-