|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.domain.BFileDomain
Constructor Summary | |
BFileDomain()
|
|
BFileDomain(oracle.sql.BFILE)
|
|
BFileDomain(oracle.sql.BFILE,
byte[])
|
|
BFileDomain(BFileDomain,
byte[])
|
Method Summary | |
boolean |
equals(java.lang.Object)
|
java.lang.Object |
getData()
Returns the value in the format that is acceptable to the database. |
void |
loadFromDatabase(Transaction)
Loads the actual data of the "blob" type database attribute into memory. |
void |
prepareForDML(java.lang.Object)
|
void |
saveToDatabase(Transaction)
Saves data in memory to a database "blob" type attribute. |
void |
saveToDatabase(Transaction,
java.lang.Object)
|
void |
setBytes(byte[])
|
void |
setContext(DomainOwnerInterface,
Transaction,
java.lang.Object)
|
void |
shareBFILE(BFileDomain)
|
byte[] |
toByteArray()
|
java.lang.String |
toString()
|
void |
useBFILE(oracle.sql.BFILE)
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BFileDomain()
public BFileDomain(oracle.sql.BFILE)
public BFileDomain(oracle.sql.BFILE, byte[])
public BFileDomain(BFileDomain, byte[])
Method Detail |
public void shareBFILE(BFileDomain)
public void useBFILE(oracle.sql.BFILE)
public void setBytes(byte[]) throws DomainValidationException
public void loadFromDatabase(Transaction) throws java.lang.Exception
The transaction argument is needed to perform an additional query into the database to extract the data.
This method does not need to be invoked for a new attribute.
transaction
- the oracle.jbo.rt.DBTransactionImpl of the current appmodule.public void setContext(DomainOwnerInterface, Transaction, java.lang.Object)
public java.lang.Object getData()
For domain classes based on oracle.sql.*
classes,
this method returns a Datum
object.
For domains based on java.lang
types such as String
,
the value-holder object that is passed to JDBC is returned.
public void saveToDatabase(Transaction) throws java.lang.Exception
The transaction argument is is needed to perform an additional query into the database to write the data.
This method does not need to be invoked if this attribute's data has not changed.
transaction
- the oracle.jbo.rt.DBTransactionImpl
instance of the current application module.public void saveToDatabase(Transaction, java.lang.Object) throws java.sql.SQLException
public void prepareForDML(java.lang.Object)
public java.lang.String toString()
public byte[] toByteArray()
public boolean equals(java.lang.Object)
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |