|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectorg.jasypt.hibernate.type.AbstractEncryptedAsStringType
public abstract class AbstractEncryptedAsStringType
Base class for Hibernate UserTypes to store values as encrypted strings.
| Field Summary | |
|---|---|
protected org.jasypt.encryption.pbe.PBEStringEncryptor |
encryptor
Deprecated. |
| Constructor Summary | |
|---|---|
AbstractEncryptedAsStringType()
Deprecated. |
|
| Method Summary | |
|---|---|
Object |
assemble(java.io.Serializable cached,
Object owner)
Deprecated. |
protected void |
checkInitialization()
Deprecated. |
protected abstract Object |
convertToObject(String string)
Deprecated. Converts given String to its Object form. |
protected String |
convertToString(Object object)
Deprecated. Converts given Object to its String form. |
Object |
deepCopy(Object value)
Deprecated. |
java.io.Serializable |
disassemble(Object value)
Deprecated. |
boolean |
equals(Object x,
Object y)
Deprecated. |
int |
hashCode(Object x)
Deprecated. |
boolean |
isMutable()
Deprecated. |
Object |
nullSafeGet(java.sql.ResultSet rs,
String[] names,
Object owner)
Deprecated. |
void |
nullSafeSet(java.sql.PreparedStatement st,
Object value,
int index)
Deprecated. |
Object |
replace(Object original,
Object target,
Object owner)
Deprecated. |
abstract Class |
returnedClass()
Deprecated. |
void |
setParameterValues(java.util.Properties parameters)
Deprecated. |
int[] |
sqlTypes()
Deprecated. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.jasypt.encryption.pbe.PBEStringEncryptor encryptor
| Constructor Detail |
|---|
public AbstractEncryptedAsStringType()
| Method Detail |
|---|
protected abstract Object convertToObject(String string)
string - the string value
protected String convertToString(Object object)
object - the object value
public final int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypepublic abstract Class returnedClass()
returnedClass in interface org.hibernate.usertype.UserType
public final boolean equals(Object x,
Object y)
throws org.hibernate.HibernateException
equals in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateException
public final Object deepCopy(Object value)
throws org.hibernate.HibernateException
deepCopy in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateException
public final Object assemble(java.io.Serializable cached,
Object owner)
throws org.hibernate.HibernateException
assemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateException
public final java.io.Serializable disassemble(Object value)
throws org.hibernate.HibernateException
disassemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic final boolean isMutable()
isMutable in interface org.hibernate.usertype.UserType
public final int hashCode(Object x)
throws org.hibernate.HibernateException
hashCode in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateException
public final Object replace(Object original,
Object target,
Object owner)
throws org.hibernate.HibernateException
replace in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateException
public final Object nullSafeGet(java.sql.ResultSet rs,
String[] names,
Object owner)
throws org.hibernate.HibernateException,
java.sql.SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateException
java.sql.SQLException
public final void nullSafeSet(java.sql.PreparedStatement st,
Object value,
int index)
throws org.hibernate.HibernateException,
java.sql.SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateException
java.sql.SQLExceptionpublic void setParameterValues(java.util.Properties parameters)
setParameterValues in interface org.hibernate.usertype.ParameterizedTypeprotected final void checkInitialization()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||