| Modifier and Type | Method and Description |
|---|---|
void |
append(byte[] value)
(12001)
Append a byte sequence to the binary large object.
|
boolean |
compare(Blob aBlob)
(12002)
Compares the content of the binary large object.
|
void |
destroy()
(12008)
Destroy the object on the server.
|
byte[] |
get(int offset,
int length)
(12003)
Get a part of the binary large object.
|
java.lang.String |
getHeader()
(12004)
Get the header of the binary large object.
|
int |
getLength()
(12005)
Get the length of the binary large object without loading it.
|
void |
set(byte[] value)
(12006)
Clear the binary large object and set the new data.
|
void |
setHeader(java.lang.String header)
(12007)
Set the header of a binary large object.
|
void append(byte[] value)
throws AoException
value - The byte sequence.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEboolean compare(Blob aBlob) throws AoException
aBlob - The blob to compare.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEbyte[] get(int offset,
int length)
throws AoException
offset - The starting position of the data in the blob.length - The number of bytes requested from the blob.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEjava.lang.String getHeader()
throws AoException
AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEint getLength()
throws AoException
AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEvoid set(byte[] value)
throws AoException
value - The new blob data.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEvoid setHeader(java.lang.String header)
throws AoException
header - The blob header.AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEvoid destroy()
throws AoException
AoException - with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE