站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 identity management component 英文版文档

PermissionUserType (jbpm-identity-3.0.4) - JBoss JBPM 3.0.4 identity management component 英文版文档


org.jbpm.identity.hibernate
Class PermissionUserType

java.lang.Object
  extended byorg.jbpm.identity.hibernate.PermissionUserType
All Implemented Interfaces:
org.hibernate.usertype.CompositeUserType

public class PermissionUserType
extends java.lang.Object
implements org.hibernate.usertype.CompositeUserType


Constructor Summary
PermissionUserType()
           
 
Method Summary
 java.lang.Object assemble(java.io.Serializable cached, org.hibernate.engine.SessionImplementor session, java.lang.Object owner)
           
 java.lang.Object deepCopy(java.lang.Object permission)
           
 java.io.Serializable disassemble(java.lang.Object value, org.hibernate.engine.SessionImplementor session)
           
 boolean equals(java.lang.Object left, java.lang.Object right)
           
 java.lang.String[] getPropertyNames()
           
 org.hibernate.type.Type[] getPropertyTypes()
           
 java.lang.Object getPropertyValue(java.lang.Object component, int property)
           
 int hashCode(java.lang.Object permission)
           
 boolean isMutable()
           
 java.lang.Object nullSafeGet(java.sql.ResultSet resultSet, java.lang.String[] names, org.hibernate.engine.SessionImplementor session, java.lang.Object owner)
           
 void nullSafeSet(java.sql.PreparedStatement preparedStatement, java.lang.Object value, int index, org.hibernate.engine.SessionImplementor session)
           
 java.lang.Object replace(java.lang.Object original, java.lang.Object target, org.hibernate.engine.SessionImplementor session, java.lang.Object owner)
           
 java.lang.Class returnedClass()
           
 void setPropertyValue(java.lang.Object arg0, int arg1, java.lang.Object arg2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionUserType

public PermissionUserType()
Method Detail

getPropertyNames

public java.lang.String[] getPropertyNames()
Specified by:
getPropertyNames in interface org.hibernate.usertype.CompositeUserType

getPropertyTypes

public org.hibernate.type.Type[] getPropertyTypes()
Specified by:
getPropertyTypes in interface org.hibernate.usertype.CompositeUserType

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object component,
                                         int property)
                                  throws org.hibernate.HibernateException
Specified by:
getPropertyValue in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException

setPropertyValue

public void setPropertyValue(java.lang.Object arg0,
                             int arg1,
                             java.lang.Object arg2)
                      throws org.hibernate.HibernateException
Specified by:
setPropertyValue in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException

returnedClass

public java.lang.Class returnedClass()
Specified by:
returnedClass in interface org.hibernate.usertype.CompositeUserType

equals

public boolean equals(java.lang.Object left,
                      java.lang.Object right)
               throws org.hibernate.HibernateException
Specified by:
equals in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException

hashCode

public int hashCode(java.lang.Object permission)
             throws org.hibernate.HibernateException
Specified by:
hashCode in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException

nullSafeGet

public java.lang.Object nullSafeGet(java.sql.ResultSet resultSet,
                                    java.lang.String[] names,
                                    org.hibernate.engine.SessionImplementor session,
                                    java.lang.Object owner)
                             throws org.hibernate.HibernateException,
                                    java.sql.SQLException
Specified by:
nullSafeGet in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException
java.sql.SQLException

nullSafeSet

public void nullSafeSet(java.sql.PreparedStatement preparedStatement,
                        java.lang.Object value,
                        int index,
                        org.hibernate.engine.SessionImplementor session)
                 throws org.hibernate.HibernateException,
                        java.sql.SQLException
Specified by:
nullSafeSet in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException
java.sql.SQLException

deepCopy

public java.lang.Object deepCopy(java.lang.Object permission)
                          throws org.hibernate.HibernateException
Specified by:
deepCopy in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException

isMutable

public boolean isMutable()
Specified by:
isMutable in interface org.hibernate.usertype.CompositeUserType

disassemble

public java.io.Serializable disassemble(java.lang.Object value,
                                        org.hibernate.engine.SessionImplementor session)
                                 throws org.hibernate.HibernateException
Specified by:
disassemble in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException

assemble

public java.lang.Object assemble(java.io.Serializable cached,
                                 org.hibernate.engine.SessionImplementor session,
                                 java.lang.Object owner)
                          throws org.hibernate.HibernateException
Specified by:
assemble in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException

replace

public java.lang.Object replace(java.lang.Object original,
                                java.lang.Object target,
                                org.hibernate.engine.SessionImplementor session,
                                java.lang.Object owner)
                         throws org.hibernate.HibernateException
Specified by:
replace in interface org.hibernate.usertype.CompositeUserType
Throws:
org.hibernate.HibernateException


Version : jbpm-identity-3.0.4