public class HibernateSidUserType extends Object implements org.hibernate.usertype.CompositeUserType, Serializable
Modifier and Type | Class and Description |
---|---|
class |
HibernateSidUserType.SerializableGrantedAuthoritySid |
class |
HibernateSidUserType.SerializableGroupPrincipalSid |
class |
HibernateSidUserType.SerializablePrincipalSid |
Modifier and Type | Field and Description |
---|---|
static String |
SID_TYPE_GRANTED_AUTHORITY |
static String |
SID_TYPE_GROUP_PRINCIPAL |
static String |
SID_TYPE_PRINCIPAL |
Constructor and Description |
---|
HibernateSidUserType() |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable serializable,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object object) |
Object |
deepCopy(Object object) |
Serializable |
disassemble(Object object,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
boolean |
equals(Object object,
Object object1) |
String[] |
getPropertyNames() |
org.hibernate.type.Type[] |
getPropertyTypes() |
Object |
getPropertyValue(Object object,
int i) |
int |
hashCode(Object x) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet resultSet,
String[] strings,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object object) |
void |
nullSafeSet(PreparedStatement preparedStatement,
Object object,
int i,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
Object |
replace(Object original,
Object target,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
Class |
returnedClass() |
void |
setPropertyValue(Object object,
int i,
Object object1) |
public static final String SID_TYPE_PRINCIPAL
public static final String SID_TYPE_GROUP_PRINCIPAL
public static final String SID_TYPE_GRANTED_AUTHORITY
public String[] getPropertyNames()
getPropertyNames
in interface org.hibernate.usertype.CompositeUserType
public org.hibernate.type.Type[] getPropertyTypes()
getPropertyTypes
in interface org.hibernate.usertype.CompositeUserType
public Object getPropertyValue(Object object, int i) throws org.hibernate.HibernateException
getPropertyValue
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public void setPropertyValue(Object object, int i, Object object1) throws org.hibernate.HibernateException
setPropertyValue
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public Class returnedClass()
returnedClass
in interface org.hibernate.usertype.CompositeUserType
public boolean equals(Object object, Object object1) throws org.hibernate.HibernateException
equals
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public Object nullSafeGet(ResultSet resultSet, String[] strings, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement preparedStatement, Object object, int i, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
SQLException
public Object deepCopy(Object object) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.CompositeUserType
public Serializable disassemble(Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
disassemble
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public Object assemble(Serializable serializable, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException
assemble
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public Object replace(Object original, Object target, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws org.hibernate.HibernateException
replace
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
public int hashCode(Object x) throws org.hibernate.HibernateException
hashCode
in interface org.hibernate.usertype.CompositeUserType
org.hibernate.HibernateException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.