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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEntityCreationAllowed(Object entity, Object[] state, String[] propertyNames) voidonDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, org.hibernate.type.Type[] types) booleanonFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, org.hibernate.type.Type[] types) booleanonSave(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:
onFlushDirtyin interfaceorg.hibernate.Interceptor- Overrides:
onFlushDirtyin 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:
onSavein interfaceorg.hibernate.Interceptor- Overrides:
onSavein 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:
onDeletein interfaceorg.hibernate.Interceptor- Overrides:
onDeletein 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
-