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

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

public class HibernateSidUserType
extends java.lang.Object
implements net.sf.hibernate.CompositeUserType, java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String SID_TYPE_GRANTED_AUTHORITY
           
static java.lang.String SID_TYPE_GROUP_PRINCIPAL
           
static java.lang.String SID_TYPE_PRINCIPAL
           
 
Constructor Summary
HibernateSidUserType()
           
 
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
 

Field Detail

SID_TYPE_PRINCIPAL

public static final java.lang.String SID_TYPE_PRINCIPAL
See Also:
Constant Field Values

SID_TYPE_GROUP_PRINCIPAL

public static final java.lang.String SID_TYPE_GROUP_PRINCIPAL
See Also:
Constant Field Values

SID_TYPE_GRANTED_AUTHORITY

public static final java.lang.String SID_TYPE_GRANTED_AUTHORITY
See Also:
Constant Field Values
Constructor Detail

HibernateSidUserType

public HibernateSidUserType()
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 © 2010 Atlassian. All Rights Reserved.