Package de.xima.fc.security.encryption
Class FCEncryptedIntegerType
java.lang.Object
de.xima.fc.security.encryption.FCEncryptedIntegerType
- All Implemented Interfaces:
 org.hibernate.usertype.ParameterizedType,org.hibernate.usertype.UserType
public class FCEncryptedIntegerType
extends Object
implements org.hibernate.usertype.UserType, org.hibernate.usertype.ParameterizedType
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner) convertToObject(String value) convertToString(Object object) disassemble(Object value) booleanprotected IDBStringEncryptorintbooleannullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) voidnullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) voidsetParameterValues(Properties parameters) int[]sqlTypes() 
- 
Field Details
- 
NAME
- See Also:
 
 - 
PARAM_DEFAULT_VALUE
- See Also:
 
 - 
LOG
protected static final org.slf4j.Logger LOG 
 - 
 - 
Constructor Details
- 
FCEncryptedIntegerType
public FCEncryptedIntegerType() 
 - 
 - 
Method Details
- 
returnedClass
- Specified by:
 returnedClassin interfaceorg.hibernate.usertype.UserType
 - 
sqlTypes
public int[] sqlTypes()- Specified by:
 sqlTypesin interfaceorg.hibernate.usertype.UserType
 - 
equals
- Specified by:
 equalsin interfaceorg.hibernate.usertype.UserType- Throws:
 org.hibernate.HibernateException
 - 
deepCopy
- Specified by:
 deepCopyin interfaceorg.hibernate.usertype.UserType- Throws:
 org.hibernate.HibernateException
 - 
assemble
- Specified by:
 assemblein interfaceorg.hibernate.usertype.UserType- Throws:
 org.hibernate.HibernateException
 - 
disassemble
- Specified by:
 disassemblein interfaceorg.hibernate.usertype.UserType- Throws:
 org.hibernate.HibernateException
 - 
isMutable
public boolean isMutable()- Specified by:
 isMutablein interfaceorg.hibernate.usertype.UserType
 - 
hashCode
- Specified by:
 hashCodein interfaceorg.hibernate.usertype.UserType- Throws:
 org.hibernate.HibernateException
 - 
replace
public Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException - Specified by:
 replacein interfaceorg.hibernate.usertype.UserType- Throws:
 org.hibernate.HibernateException
 - 
convertToObject
 - 
convertToString
 - 
getEncryptor
 - 
setParameterValues
- Specified by:
 setParameterValuesin interfaceorg.hibernate.usertype.ParameterizedType
 
 -