public class TransformGZipBytes extends Object implements JdbcCpoTransform<byte[],byte[]>
| Constructor and Description |
|---|
TransformGZipBytes() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
transformIn(byte[] inBytes)
Transforms the datasource object into an object required by the class
|
byte[] |
transformOut(byte[] j) |
byte[] |
transformOut(JdbcCallableStatementFactory jpsf,
byte[] attributeObject) |
byte[] |
transformOut(JdbcPreparedStatementFactory jpsf,
byte[] attributeObject)
Transforms the data from the class attribute to the object required by the datasource
|
public byte[] transformIn(byte[] inBytes)
throws CpoException
transformIn in interface CpoTransform<byte[],byte[]>cpoAdapter - The CpoAdapter for the datasource where the attribute is being retrievedparentObject - The object that contains the attribute being retrieved.The - object that represents the datasource object being retrievedCpoExceptionpublic byte[] transformOut(JdbcPreparedStatementFactory jpsf, byte[] attributeObject) throws CpoException
transformOut in interface JdbcCpoTransform<byte[],byte[]>cpoAdapter - The CpoAdapter for the datasource where the attribute is being persistedparentObject - The object that contains the attribute being persisted.attributeObject - The object that represents the attribute being persisted.CpoExceptionpublic byte[] transformOut(JdbcCallableStatementFactory jpsf, byte[] attributeObject) throws CpoException, UnsupportedOperationException
transformOut in interface JdbcCpoTransform<byte[],byte[]>CpoExceptionUnsupportedOperationExceptionpublic byte[] transformOut(byte[] j)
throws CpoException,
UnsupportedOperationException
transformOut in interface CpoTransform<byte[],byte[]>CpoExceptionUnsupportedOperationExceptionCopyright © 2014. All Rights Reserved.