|
Oracle ADF Business Components Domains API Reference 10.1.2 B14023-02 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.domain.BaseLobDomain
This class provides a lightweight wrapper for oracle.sql.BLOB, the Java representation of the BLOB database type. This wrapper allows an instance of the oracle.sql.BLOB to be used as a domain object.
Method Summary | |
void |
closeCharacterStream() |
void |
closeInputStream() |
void |
closeOutputStream() |
boolean |
equals(java.lang.Object obj) Tests for equality between this and obj. |
java.io.Reader |
getCharacterStream() |
java.lang.Object |
getData() Internal: Applications should not use this method. |
java.io.InputStream |
getInputStream() |
static java.lang.reflect.Method |
getInvokeDomainMethod() |
java.io.OutputStream |
getOutputStream() |
DomainOwnerInterface |
getOwner() |
int |
getOwnerAttributeIndex() |
protected DomainOwnerInterface |
getOwnerRow() |
protected int |
getRemoteBufferSize() |
java.lang.String |
getRemoteIdString() |
protected long |
getRemoteLength() |
long |
getSize() |
byte[] |
getStorageByteArray() |
boolean |
isCacheDataModified() |
void |
loadFromDatabase(Transaction xAct) Internal: Applications should not use this method. |
ResponseValues |
marshal() |
protected void |
resetCachedData() |
void |
saveToDatabase(Transaction xAct) Internal: Applications should not use this method. |
void |
saveToDatabase(Transaction xAct, java.lang.Object emptySQLObject) Internal: Applications should not use this method. |
void |
setBytes(byte[] blobData) Sets the blob data for this object. |
void |
setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx) Internal: Applications should not use this method. |
void |
syncClientLob(LobInterface oldObj) |
void |
syncServerLob(LobInterface oldObj) |
byte[] |
toByteArray() Converts this BLOB contents into a byte array. |
Datum |
toDatum(oracle.jdbc.driver.OracleConnection c) |
java.lang.String |
toString() For testing purposes only: converts this BlobDomain object to a string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public Datum toDatum(oracle.jdbc.driver.OracleConnection c) throws java.sql.SQLException
java.sql.SQLException
public void setBytes(byte[] blobData)
blobData
- data to fill the Blob.public void loadFromDatabase(Transaction xAct) throws java.lang.Exception
Uses the given transaction context to load data from the database.
xAct
- name of the transaction context.java.lang.Exception
public void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
Sets the transaction context for this Blob.
protected int getRemoteBufferSize()
protected long getRemoteLength()
public java.lang.Object getData()
public void saveToDatabase(Transaction xAct) throws java.sql.SQLException
Uses the given transaction context to store data back into the database using the blob-locator which should be set before this method is invoked.
xAct
- name of the transaction context.java.sql.SQLException
public void saveToDatabase(Transaction xAct, java.lang.Object emptySQLObject) throws java.sql.SQLException
Uses the given transaction context to store data back into the database using the blob-locator which should be set before this method is invoked.
java.sql.SQLException
public java.lang.String toString()
public boolean isCacheDataModified()
public byte[] getStorageByteArray()
public byte[] toByteArray()
public boolean equals(java.lang.Object obj)
obj
- the data item to compare against.public ResponseValues marshal()
public java.io.OutputStream getOutputStream()
public java.lang.String getRemoteIdString()
public DomainOwnerInterface getOwner()
public int getOwnerAttributeIndex()
protected DomainOwnerInterface getOwnerRow()
public java.io.InputStream getInputStream()
public java.io.Reader getCharacterStream()
protected void resetCachedData()
public void syncClientLob(LobInterface oldObj)
public void syncServerLob(LobInterface oldObj)
public long getSize()
public static java.lang.reflect.Method getInvokeDomainMethod()
public void closeOutputStream()
public void closeInputStream()
public void closeCharacterStream()
|
Oracle ADF Business Components Domains API Reference 10.1.2 B14023-02 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2005, Oracle. All rights reserved.