public class _BlobStub extends org.omg.CORBA.portable.ObjectImpl implements Blob
Constructor and Description |
---|
_BlobStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
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.
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
public void append(byte[] value) throws AoException
append
in interface BlobOperations
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_ACTIVEpublic boolean compare(Blob aBlob) throws AoException
compare
in interface BlobOperations
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_ACTIVEpublic byte[] get(int offset, int length) throws AoException
get
in interface BlobOperations
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_ACTIVEpublic java.lang.String getHeader() throws AoException
getHeader
in interface BlobOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic int getLength() throws AoException
getLength
in interface BlobOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void set(byte[] value) throws AoException
set
in interface BlobOperations
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_ACTIVEpublic void setHeader(java.lang.String header) throws AoException
setHeader
in interface BlobOperations
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_ACTIVEpublic void destroy() throws AoException
destroy
in interface BlobOperations
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_ACTIVEpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl