com.atlassian.bamboo.security.acegi.acls
Class HibernateObjectIdentityUserType

java.lang.Object
  extended by com.atlassian.bamboo.security.acegi.acls.HibernateObjectIdentityUserType
All Implemented Interfaces:
net.sf.hibernate.CompositeUserType

public class HibernateObjectIdentityUserType
extends java.lang.Object
implements net.sf.hibernate.CompositeUserType


Constructor Summary
HibernateObjectIdentityUserType()
           
 
Method Summary
 java.lang.Object assemble(java.io.Serializable serializable, net.sf.hibernate.engine.SessionImplementor sessionImplementor, java.lang.Object object)
           
 java.lang.Object deepCopy(java.lang.Object object)
           
 java.io.Serializable disassemble(java.lang.Object object, net.sf.hibernate.engine.SessionImplementor sessionImplementor)
           
 boolean equals(java.lang.Object object, java.lang.Object object1)
           
 java.lang.String[] getPropertyNames()
           
 net.sf.hibernate.type.Type[] getPropertyTypes()
           
 java.lang.Object getPropertyValue(java.lang.Object object, int i)
           
 boolean isMutable()
           
 java.lang.Object nullSafeGet(java.sql.ResultSet resultSet, java.lang.String[] strings, net.sf.hibernate.engine.SessionImplementor sessionImplementor, java.lang.Object object)
           
 void nullSafeSet(java.sql.PreparedStatement preparedStatement, java.lang.Object object, int i, net.sf.hibernate.engine.SessionImplementor sessionImplementor)
           
 java.lang.Class returnedClass()
           
 void setPropertyValue(java.lang.Object object, int i, java.lang.Object object1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateObjectIdentityUserType

public HibernateObjectIdentityUserType()
Method Detail

getPropertyNames

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

getPropertyTypes

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

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object object,
                                         int i)
                                  throws net.sf.hibernate.HibernateException
Specified by:
getPropertyValue in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

setPropertyValue

public void setPropertyValue(java.lang.Object object,
                             int i,
                             java.lang.Object object1)
                      throws net.sf.hibernate.HibernateException
Specified by:
setPropertyValue in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

returnedClass

public java.lang.Class returnedClass()
Specified by:
returnedClass in interface net.sf.hibernate.CompositeUserType

equals

public boolean equals(java.lang.Object object,
                      java.lang.Object object1)
               throws net.sf.hibernate.HibernateException
Specified by:
equals in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

nullSafeGet

public java.lang.Object nullSafeGet(java.sql.ResultSet resultSet,
                                    java.lang.String[] strings,
                                    net.sf.hibernate.engine.SessionImplementor sessionImplementor,
                                    java.lang.Object object)
                             throws net.sf.hibernate.HibernateException,
                                    java.sql.SQLException
Specified by:
nullSafeGet in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException

nullSafeSet

public void nullSafeSet(java.sql.PreparedStatement preparedStatement,
                        java.lang.Object object,
                        int i,
                        net.sf.hibernate.engine.SessionImplementor sessionImplementor)
                 throws net.sf.hibernate.HibernateException,
                        java.sql.SQLException
Specified by:
nullSafeSet in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException

deepCopy

public java.lang.Object deepCopy(java.lang.Object object)
                          throws net.sf.hibernate.HibernateException
Specified by:
deepCopy in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

isMutable

public boolean isMutable()
Specified by:
isMutable in interface net.sf.hibernate.CompositeUserType

disassemble

public java.io.Serializable disassemble(java.lang.Object object,
                                        net.sf.hibernate.engine.SessionImplementor sessionImplementor)
                                 throws net.sf.hibernate.HibernateException
Specified by:
disassemble in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

assemble

public java.lang.Object assemble(java.io.Serializable serializable,
                                 net.sf.hibernate.engine.SessionImplementor sessionImplementor,
                                 java.lang.Object object)
                          throws net.sf.hibernate.HibernateException
Specified by:
assemble in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.