当前页面: 
在线文档首页 > 
JBoss Seam  1.2.0 API 英文版文档
HibernateSecurityInterceptor (JBoss Seam API Documentation) - JBoss Seam  1.2.0 API 英文版文档
org.jboss.seam.security
Class HibernateSecurityInterceptor
java.lang.Object
   org.hibernate.EmptyInterceptor
org.hibernate.EmptyInterceptor
       org.jboss.seam.security.HibernateSecurityInterceptor
org.jboss.seam.security.HibernateSecurityInterceptor
- All Implemented Interfaces: 
- Serializable, org.hibernate.Interceptor
- public class HibernateSecurityInterceptor 
- extends org.hibernate.EmptyInterceptor
Facilitates security checks for Hibernate entities
- Author:
- Shane Bryzak
- See Also:
- Serialized Form
 
| Fields inherited from class org.hibernate.EmptyInterceptor | 
| INSTANCE | 
 
 
| Method Summary | 
|  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 | onLoad(Object entity,
       Serializable id,
       Object[] state,
       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.hibernate.EmptyInterceptor | 
| afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onPrepareStatement, postFlush, preFlush | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HibernateSecurityInterceptor
public HibernateSecurityInterceptor(org.hibernate.Interceptor wrappedInterceptor)
onLoad
public boolean onLoad(Object entity,
                      Serializable id,
                      Object[] state,
                      String[] propertyNames,
                      org.hibernate.type.Type[] types)
- 
- Specified by:
- onLoadin interface- org.hibernate.Interceptor
- Overrides:
- onLoadin class- org.hibernate.EmptyInterceptor
 
- 
 
onDelete
public void onDelete(Object entity,
                     Serializable id,
                     Object[] state,
                     String[] propertyNames,
                     org.hibernate.type.Type[] types)
- 
- Specified by:
- onDeletein interface- org.hibernate.Interceptor
- Overrides:
- onDeletein class- org.hibernate.EmptyInterceptor
 
- 
 
onFlushDirty
public boolean onFlushDirty(Object entity,
                            Serializable id,
                            Object[] currentState,
                            Object[] previousState,
                            String[] propertyNames,
                            org.hibernate.type.Type[] types)
- 
- Specified by:
- onFlushDirtyin interface- org.hibernate.Interceptor
- Overrides:
- onFlushDirtyin class- org.hibernate.EmptyInterceptor
 
- 
 
onSave
public boolean onSave(Object entity,
                      Serializable id,
                      Object[] state,
                      String[] propertyNames,
                      org.hibernate.type.Type[] types)
- 
- Specified by:
- onSavein interface- org.hibernate.Interceptor
- Overrides:
- onSavein class- org.hibernate.EmptyInterceptor
 
-