Package com.atlassian.bamboo.hibernate
Class ReadOnlyGetMethodEnforcer
java.lang.Object
org.springframework.orm.hibernate.support.ChainedInterceptorSupport
com.atlassian.bamboo.hibernate.ReadOnlyGetMethodEnforcer
- All Implemented Interfaces:
org.hibernate.Interceptor
-
Field Summary
Fields inherited from class org.springframework.orm.hibernate.support.ChainedInterceptorSupport
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEntityCreationAllowed
(Object entity, Object[] state, String[] propertyNames) void
onDelete
(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types) boolean
onFlushDirty
(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, org.hibernate.type.Type[] types) boolean
onSave
(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types) Methods inherited from class org.springframework.orm.hibernate.support.ChainedInterceptorSupport
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, getNextInterceptor, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onLoad, onPrepareStatement, postFlush, preFlush, setIdOnNewEntity, setNextInterceptor
-
Constructor Details
-
ReadOnlyGetMethodEnforcer
public ReadOnlyGetMethodEnforcer()
-
-
Method Details
-
onFlushDirty
public boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, org.hibernate.type.Type[] types) throws org.hibernate.CallbackException - Specified by:
onFlushDirty
in interfaceorg.hibernate.Interceptor
- Overrides:
onFlushDirty
in classChainedInterceptorSupport
- Throws:
org.hibernate.CallbackException
- See Also:
-
Interceptor.onFlushDirty(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
-
onSave
public boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types) throws org.hibernate.CallbackException - Specified by:
onSave
in interfaceorg.hibernate.Interceptor
- Overrides:
onSave
in classChainedInterceptorSupport
- Throws:
org.hibernate.CallbackException
- See Also:
-
Interceptor.onSave(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
-
onDelete
public void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types) throws org.hibernate.CallbackException - Specified by:
onDelete
in interfaceorg.hibernate.Interceptor
- Overrides:
onDelete
in classChainedInterceptorSupport
- Throws:
org.hibernate.CallbackException
- See Also:
-
Interceptor.onDelete(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
-
isEntityCreationAllowed
-