public abstract class PrivilegedStringType
extends org.hibernate.type.AbstractSingleColumnStandardBasicType<java.lang.String>
implements org.hibernate.type.DiscriminatorType<java.lang.String>
null values.| Modifier and Type | Class and Description |
|---|---|
static class |
PrivilegedStringType.FilteredFullAdmin
String type for which users read
null except for full administrators. |
static class |
PrivilegedStringType.FilteredFullAdminHidden
String type for which users read a dummy value except for full administrators.
|
static class |
PrivilegedStringType.FilteredFullAdminUUID
String type for which users read a dummy UUID except for full administrators.
|
static class |
PrivilegedStringType.FilteredRelatedUser
String type for which users read
null except for (potentially) related users. |
static class |
PrivilegedStringType.FilteredRelatedUserHidden
String type for which users read a dummy value except for (potentially) related users.
|
| Constructor and Description |
|---|
PrivilegedStringType(org.hibernate.type.descriptor.sql.VarcharTypeDescriptor sqlInstance,
PrivilegedStringTypeDescriptor javaInstance) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
objectToSQLString(java.lang.String value,
org.hibernate.dialect.Dialect dialect) |
java.lang.String |
stringToObject(java.lang.String xml) |
java.lang.String |
toString(java.lang.String value) |
get, nullSafeGet, nullSafeSet, nullSafeSet, set, sqlTypeassemble, beforeAssemble, compare, deepCopy, deepCopy, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getHashCode, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getRegistrationKeys, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isEqual, isModified, isMutable, isSame, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, registerUnderJavaType, replace, replace, resolve, semiResolve, set, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassemble, beforeAssemble, compare, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableStringpublic PrivilegedStringType(org.hibernate.type.descriptor.sql.VarcharTypeDescriptor sqlInstance,
PrivilegedStringTypeDescriptor javaInstance)
sqlInstance - the SQL type of the privileged stringsjavaInstance - the Java type of the privileged stringspublic java.lang.String getName()
getName in interface org.hibernate.type.Typepublic java.lang.String objectToSQLString(java.lang.String value,
org.hibernate.dialect.Dialect dialect)
throws java.lang.Exception
objectToSQLString in interface org.hibernate.type.LiteralType<java.lang.String>java.lang.Exceptionpublic java.lang.String stringToObject(java.lang.String xml)
throws java.lang.Exception
stringToObject in interface org.hibernate.type.IdentifierType<java.lang.String>java.lang.Exceptionpublic java.lang.String toString(java.lang.String value)
toString in interface org.hibernate.type.SingleColumnType<java.lang.String>toString in interface org.hibernate.type.StringRepresentableType<java.lang.String>toString in class org.hibernate.type.AbstractStandardBasicType<java.lang.String>