|
Oracle ADF Business Components interMedia Domains Java API Reference 10g Release 3 (10.1.3) B16008-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ord.im.OrdVideoBase
oracle.ord.im.OrdVideo
oracle.ord.im.OrdVideoDomain
Represents interMedia ORDSYS.ORDVideo database type as a domain class in the Business Components for Java (BC4J) framework. Most methods in this class are BC4J tier independent. They can work on either the client tier or the middle tier, which allows the application which uses these methods to work in a tier independent fashion. There are some exceptions which are marked as local mode only:
getContentgetBFILEgetCommentssetCommentsgetAllAttributesgetContentInLobThe BC4J tier-independent counterparts of the first three methods are the following:
getContentAsBlobDomaingetBFileDomaingetCommentsAsClobDomainThere are no corresponding BC4J tier-independent methods for setComments, getAllAttributes and getContentInLob.
The term client tier refers to the machine on which the application client is running. Middle tier refers to the server on which the BC4J business components are deployed. The user can use "local mode only" methods when he deploys BC4J and the client application to the same machine. Whereas, the user should use tier independent methods when the application client and BC4J reside on separate machines.
The constructor for this class will create an instance of an OrdVideoDomain. The user should either manually obtain a valid BLOB locator and a JDBC connection for this instance, or rely on the BC4J framework to obtain a BLOB locator and a JDBC connection for it. See OrdContentSource for discussion about how to load media content to the database by using the interMedia BC4J domain classes.
OrdVideo, Serialized Form| Field Summary |
| Fields inherited from class oracle.ord.im.OrdVideoBase |
_SQL_NAME, _SQL_TYPECODE |
| Constructor Summary | |
OrdVideoDomain()Constructs a new OrdVideoDomain instance. |
|
OrdVideoDomain(byte[] bytes)Constructs a new OrdVideoDomain instance. |
|
OrdVideoDomain(OrdContentSource source)Constructs a new OrdVideoDomain instance. |
|
OrdVideoDomain(OrdHttpUploadFile ohuf)Constructs a new OrdVideoDomain instance. |
|
OrdVideoDomain(java.lang.String fileName)Constructs a new OrdVideoDomain instance. |
|
| Method Summary | |
boolean |
checkProperties(byte[][] ctx)Checks if the properties of the video data are consistent with the attributes of the OrdVideo Java object. |
void |
clearContentSource()Internal: Applications should not use this method. |
void |
clearLocal()Clears the attribute called local to indicate that the content data is stored externally. |
int |
closeSource(byte[][] ctx)Closes a data source. |
oracle.sql.CustomDatum |
create(oracle.sql.Datum d, int sqlType)Internal: Applications should not use this method. |
java.lang.Object |
createDomainFromSerializedXML(org.w3c.dom.Element element)Create a domain instance by reading the xml-data out of the given xml-node. |
void |
deleteContent()Deletes any data stored in the database BLOB specified by the localData attribute. |
void |
domainToBeModified(oracle.jbo.domain.DomainInterface d)Internal: Applications should not use this method. |
void |
doneCommit(oracle.jbo.TransactionStateEvent event)Internal: Applications should not use this method. |
void |
doneRollback(oracle.jbo.TransactionStateEvent event)Internal: Applications should not use this method. |
boolean |
equals(java.lang.Object obj)Compares two OrdVideoDomain objects by their last update time and content length. |
void |
export(byte[][] ctx, java.lang.String sourceType, java.lang.String sourceLocation, java.lang.String sourceName)Exports the data from the BLOB specified by the localData attribute. |
void |
generateTempFilePath()Internal: Applications should not use this method. |
oracle.sql.CLOB |
getAllAttributes(byte[][] ctx)Returns the video properties in a temporary CLOB in a form defined by the format plug-in. |
java.lang.String |
getAttribute(byte[][] ctx, java.lang.String name)Returns the value of the requested video property. |
java.lang.Object |
getAttribute(int index)Internal: Applications should not use this method. |
java.lang.Object |
getAttribute(java.lang.String name)Internal: Applications should not use this method. |
int |
getAttributeCount()Internal: Applications should not use this method. |
int |
getAttributeIndexOf(java.lang.String name)Internal: Applications should not use this method. |
java.lang.String[] |
getAttributeNames() |
java.lang.Object[] |
getAttributeValues() |
oracle.sql.BFILE |
getBFILE()Returns a BFILE locator from the database when the srcType attribute is "FILE". |
oracle.jbo.domain.BFileDomain |
getBFileDomain()Returns a BFileDomain object which wraps the BFILE locator obtained from the getBFILE method. |
int |
getBitRate()Returns the value of the bitRate attribute. |
oracle.sql.CLOB |
getComments()Returns the CLOB locator from the comments attribute. |
oracle.jbo.domain.ClobDomain |
getCommentsAsClobDomain()Returns a ClobDomain object which wraps the CLOB locator obtained from the getComments() method. |
java.lang.String |
getCompressionType()Returns the value of the compressionType attribute. |
oracle.sql.BLOB |
getContent()Returns the BLOB locator from the localData attribute. |
oracle.jbo.domain.BlobDomain |
getContentAsBlobDomain()Returns a BlobDomain object which wraps the BLOB locator from the localData attribute. |
oracle.sql.BLOB |
getContentInLob(byte[][] ctx, java.lang.String[] mimetype, java.lang.String[] format)Returns the data from the BLOB specified by the localData attribute in a temporary BLOB in the database. |
int |
getContentLength()Returns the length of the video data. |
int |
getContentLength(byte[][] ctx)Returns the length of the video data using source plug-in context information. |
OrdContentSource |
getContentSource()Gets the content source which was previously set by the setContentSource method. |
java.lang.Object |
getCTPassivationHandle()Internal: Applications should not use this method. |
static oracle.sql.CustomDatumFactory |
getCustomDatumFactory()Internal: Applications should not use this method. |
java.lang.Object |
getData()Internal: Applications should not use this method. |
byte[] |
getDataInByteArray()Returns a byte array containing the data from the database BLOB specified by the localData attribute. |
boolean |
getDataInFile(java.lang.String filename)Writes the data from the database BLOB specified by the localData attribute to a local file. |
java.io.InputStream |
getDataInStream()Returns an InputStream from which the data in the database BLOB specified by the localData attribute can be read. |
java.lang.String |
getDescription()Returns the value of the description attribute. |
static oracle.sql.CustomDatumFactory |
getFactory()Returns the OrdVideoDomain CustomDatumFactory for use by the getCustomDatum method. |
java.lang.String |
getFormat()Returns the value of the format attribute. |
int |
getFrameRate()Returns the value of the frameRate attribute. |
int |
getFrameResolution()Returns the value of the frameResolution attribute. |
int |
getHeight()Returns the value of the height attribute. |
java.lang.String |
getMimeType()Returns the mimeType attribute. |
int |
getNumberOfColors()Returns the value of the numberOfColors attribute. |
int |
getNumberOfFrames()Returns the value of the numberOfFrames attribute. |
int |
getObjectId()Internal: Applications should not use this method. |
oracle.jbo.domain.DomainOwnerInterface |
getOwner()Internal: Applications should not use this method. |
int |
getOwnerAttributeIndex()Internal: Applications should not use this method. |
java.lang.String |
getRemoteIdString()Internal: Applications should not use this method. |
org.w3c.dom.Node |
getSerializedDomainXML(org.w3c.dom.Document xmlDoc)Creates the XML node in the given XML document for this domain's data. |
long |
getSize()Internal: Applications should not use this method. |
java.lang.String |
getSource()Returns the source information in the form srcType://srcLocation/srcName. |
java.lang.String |
getSourceLocation()Returns the srcLocation attribute. |
java.lang.String |
getSourceName()Returns the srcName attribute. |
java.lang.String |
getSourceType()Returns the srcType attribute. |
int |
getTierInfo()Gets the tier number information that this object lives in. |
java.sql.Timestamp |
getUpdateTime()Returns the updateTime attribute. |
int |
getVideoDuration()Returns the value of the videoDuration attribute. |
int |
getWidth()Returns the value of the width attribute. |
org.w3c.dom.Node |
getXMLContentNode(org.w3c.dom.Document xmlDoc)Internal: Applications should not use this method. |
static oracle.jbo.domain.XMLDomainFactory |
getXMLDomainFactory(java.lang.Class attrClass)Internal: Applications should not use this method. |
int |
hashCode()Returns the hash code as a int |
void |
importData(byte[][] ctx)Imports data from an external source into the database BLOB specified by the localData attribute. |
void |
importFrom(byte[][] ctx, java.lang.String sourceType, java.lang.String sourceLocation, java.lang.String sourceName)Imports data from an external source into the database BLOB specified by the localData attribute. |
boolean |
isAddedToTransaction()Internal: Applications should not use this method. |
boolean |
isConnected()Determines whether the domain object has an internal JDBC connection to the database. |
boolean |
isLocal()Determines whether the content data is stored locally in the database in a BLOB specified by the localData attribute. |
boolean |
loadDataFromByteArray(byte[] byteArr)Loads data from a byte array into the database BLOB specified by the localData attribute. |
boolean |
loadDataFromFile(java.lang.String filename)Loads data from a file into the database BLOB specified by the localData attribute. |
boolean |
loadDataFromInputStream(java.io.InputStream inpStream)Loads data from an InputStream into the database BLOB specified by the localData attribute. |
void |
loadFromDatabase(oracle.jbo.Transaction xAct)Internal: Applications should not use this method. |
oracle.svcmsg.ResponseValues |
marshal() |
int |
openSource(byte[] userarg, byte[][] ctx)Opens a data source. |
void |
prepareForDML(java.lang.Object context)Internal: Applications should not use this method. |
java.lang.String |
printXMLDefinition(java.util.Hashtable allDefs, java.io.PrintWriter pw, boolean bContainees)Internal: Applications should not use this method. |
byte[] |
processSourceCommand(byte[][] ctx, java.lang.String cmd, java.lang.String args, byte[][] result)Calls the source plug-in in the database to execute a command. |
byte[] |
processVideoCommand(byte[][] ctx, java.lang.String cmd, java.lang.String args, byte[][] result)Calls the format plug-in in the database to execute a command. |
int |
readFromSource(byte[][] ctx, int startpos, int numbytes, byte[][] buffer)Reads data from the data source. |
void |
removeListenerFromTransaction()Internal: Applications should not use this method. |
void |
saveToDatabase(oracle.jbo.Transaction xAct)Internal: Applications should not use this method. |
void |
saveToDatabase(oracle.jbo.Transaction xAct, java.lang.Object emptySQLObject)Internal: Applications should not use this method. |
void |
setAddToTransactionState(boolean value)Internal: Applications should not use this method. |
void |
setAttribute(int index, java.lang.Object value)Internal: Applications should not use this method. |
void |
setAttribute(java.lang.String name, java.lang.Object value)Internal: Applications should not use this method. |
void |
setBitRate(int bitRate)Sets the value of the bitRate attribute. |
void |
setComments(oracle.sql.CLOB comments)Sets the comments attribute. |
void |
setCompressionType(java.lang.String compressionType)Sets the value of the compressionType attribute. |
void |
setConnected(boolean value)Internal: Applications should not use this method. |
void |
setContentLength(int contentLength)Does nothing for OrdVideoDomain objects. |
void |
setContentSource(OrdContentSource source)Sets the content source for deferred loading. |
void |
setContentSourceOnly(OrdContentSource source)Internal: Applications should not use this method. |
void |
setContext(oracle.jbo.domain.DomainOwnerInterface owner, oracle.jbo.Transaction trans, java.lang.Object ctx)Internal: Applications should not use this method. |
void |
setCTPassivationHandle(java.lang.Object handle)Internal: Applications should not use this method. |
void |
setDescription(java.lang.String description)Sets the value of the description attribute. |
void |
setFormat(java.lang.String format)Sets the value of the format attribute. |
void |
setFrameRate(int frameRate)Sets the value of the frameRate attribute. |
void |
setFrameResolution(int frameResolution)Sets the value of the frameResolution attribute. |
void |
setHeight(int height)Sets the value of the height attribute. |
void |
setKnownAttributes(java.lang.String knownformat, int knownwidth, int knownheight, int knownframeresolution, int knownframerate, int knownvideoduration, int knownnumberofframes, java.lang.String knowncompressiontype, int knownnumberofcolors, int knownbitrate)Sets the values of the known attributes of the OrdVideo Java object. |
void |
setLocal()Sets the attribute called local to indicate that the content data is stored locally in the database in a BLOB > specified by the localData attribute. |
void |
setMimeType(java.lang.String MimeType)Sets the mimeType attribute. |
void |
setNumberOfColors(int numberOfColors)Sets the value of the numberOfColors attribute. |
void |
setNumberOfFrames(int numberOfFrames)Sets the value of the numberOfFrames attribute. |
void |
setProperties()Parses the video data properties and sets the attributes in the OrdVideoDomain Java object. |
void |
setProperties(byte[][] ctx)Parses the video data properties and sets the values of the attributes in the OrdVideo Java object. |
void |
setProperties(byte[][] ctx, boolean setComments)Parses the video data properties, sets the values of the attributes in the OrdVideo Java object, and optionally populates the CLOB specified by the comments attribute. |
void |
setSource(java.lang.String sourceType, java.lang.String sourceLocation, java.lang.String sourceName)Sets the srcType, srcLocation, and srcName attributes. |
void |
setUpdateTime(java.sql.Timestamp currentTime)Sets the updateTime attribute. |
void |
setVideoDuration(int videoDuration)Sets the value of the videoDuration attribute. |
void |
setWidth(int width)Sets the value of the width attribute. |
void |
syncClientLob(oracle.jbo.domain.LobInterface newArrival)Internal: Applications should not use this method. |
void |
syncServerLob(oracle.jbo.domain.LobInterface oldObj)Internal: Applications should not use this method. |
java.lang.String |
toString()Returns a String object describing this object. |
int |
trimSource(byte[][] ctx, int newLen)Trims the data to the specified length. |
int |
writeToSource(byte[][] ctx, int startpos, int numbytes, byte[] buffer)Writes data to the data source. |
| Methods inherited from class oracle.ord.im.OrdVideo |
getORADataFactory |
| Methods inherited from class oracle.ord.im.OrdVideoBase |
create, toDatum, toDatum |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OrdVideoDomain()
OrdVideoDomain instance. Before it's been inserted into the database table and selected back, this new instance doesn't have a JDBC connection to the database. It also doesn't have a corresponding existing database ORDSYS.ORDVideo object.public OrdVideoDomain(byte[] bytes)
OrdVideoDomain instance. Before it has been inserted into the database table and selected back; this new instance doesn't have a JDBC connection to the database. It also doesn't have a corresponding existing database ORDSYS.ORDVideo object. Users should use deferred loading to load the video content into the database.
Calling this constructor has the same effect of calling the following two statements.
OrdVideoDomain video = new OrdVideoDomain();
video.setContentSource(new OrdByteArraySource(bytes));
bytes - the byte array that contains the video contentOrdContentSource, OrdByteArraySourcepublic OrdVideoDomain(java.lang.String fileName)
OrdVideoDomain instance. Before it has been inserted into the database table and selected back; this new instance doesn't have a JDBC connection to the database. It also doesn't have a corresponding existing database ORDSYS.ORDVideo object. Users should use deferred loading to load the video content into the database.
Calling this constructor has the same effect of calling the following two statements.
OrdVideoDomain video = new OrdVideoDomain();
video.setContentSource(new OrdFileSource(fileName));
fileName - the video file nameOrdContentSource, OrdFileSourcepublic OrdVideoDomain(OrdContentSource source)
OrdVideoDomain instance. Before it has been inserted into the database table and selected back; this new instance doesn't have a JDBC connection to the database. It also doesn't have a corresponding existing database ORDSYS.ORDVideo object. Users should use deferred loading to load the video content into the database.
Calling this constructor has the same effect of calling the following two statements.
OrdVideoDomain video = new OrdVideoDomain();
video.setContentSource(source);
source - the video content sourceOrdContentSourcepublic OrdVideoDomain(OrdHttpUploadFile ohuf)
OrdVideoDomain instance. Before it has been inserted into the database table and selected back; this new instance doesn't have a JDBC connection to the database. It also doesn't have a corresponding existing database ORDSYS.ORDVideo object. Users should use deferred loading to load the video content into the database.
Calling this constructor has the same effect of calling the following two statements.
OrdVideoDomain video = new OrdVideoDomain();
video.setContentSource(new OrdHttpUploadFileSource(ohuf));
ohuf - the video content wrapped as an OrdHttpUploadFile objectOrdContentSource, OrdHttpUploadFileSource| Method Detail |
public int getObjectId()
OrdDomainIOInterfacegetObjectId in interface OrdDomainIOInterfacepublic static oracle.sql.CustomDatumFactory getFactory()
OrdVideoDomain CustomDatumFactory for use by the getCustomDatum method. Specify this method as the factory parameter of the getCustomDatum method when retrieving an OrdVideoDomain object from an OracleResultSet or OracleCallableStatement. For example:
OrdVideoDomain video = (OrdVideoDomain)rset.
getCustomDatum( 1, OrdVideoDomain.getFactory() );
OrdVideoDomain implementation of the CustomDatumFactory interfacepublic static oracle.sql.CustomDatumFactory getCustomDatumFactory()
public java.lang.String toString()
String object describing this object. The format of the description is "OrdVideoDomain: <mimetype>:<length>".String object describing this objectpublic int hashCode()
intpublic boolean equals(java.lang.Object obj)
OrdVideoDomain objects by their last update time and content length. For performance reasons, bit by bit comparison of binary content is not done.obj - the object to be compared with this objecttrue if the two OrdVideoDomain objects have the same last update time and content length; otherwise, returns false
public oracle.sql.BLOB getContent()
throws java.sql.SQLException
getContent in class OrdVideooracle.sql.BLOBjava.sql.SQLException - if an error occurs when accessing the localData attribute
public oracle.sql.BFILE getBFILE()
throws java.sql.SQLException
getBFILE in class OrdVideooracle.sql.BFILEjava.sql.SQLException - if an error occurs while executing the corresponding getBFILE method in the database
public boolean isLocal()
throws java.sql.SQLException
OrdDomainIOInterfaceisLocal in interface OrdDomainIOInterfaceisLocal in class OrdVideotrue if the data is stored locally in the database in a BLOB; false otherwise.java.sql.SQLException - if an error occurs accessing the local attribute.
public void clearLocal()
throws java.sql.SQLException
OrdDomainIOInterfaceclearLocal in interface OrdDomainIOInterfaceclearLocal in class OrdVideojava.sql.SQLException - if an error occurs accessing the local attribute.
public void setLocal()
throws java.sql.SQLException
OrdDomainIOInterfacesetLocal in interface OrdDomainIOInterfacesetLocal in class OrdVideojava.sql.SQLException - if an error occurs accessing the local attribute.
public void deleteContent()
throws java.sql.SQLException
OrdDomainIOInterfacedeleteContent in interface OrdDomainIOInterfacedeleteContent in class OrdVideojava.sql.SQLException - if an error occurs executing the corresponding deleteContent method in the database.
public void importData(byte[][] ctx)
throws java.sql.SQLException
OrdVideoimportData in class OrdVideoctx - the source plug-in context information.java.sql.SQLException - if an error occurs executing the corresponding import method in the database.
public void importFrom(byte[][] ctx,
java.lang.String sourceType,
java.lang.String sourceLocation,
java.lang.String sourceName)
throws java.sql.SQLException
OrdVideoimportFrom in class OrdVideoctx - the source plug-in context information. See Oracle interMedia Reference for more information.sourceType - the source type from which the data will be imported.sourceLocation - the source location from which the data will be imported.sourceName - the source name from which the data will be imported.java.sql.SQLException - if an error occurs executing the corresponding importFrom method in the database.
public boolean loadDataFromFile(java.lang.String filename)
throws java.sql.SQLException,
java.io.IOException
OrdDomainIOInterfaceOrdDomainIOInterface.deleteContent(), to delete any existing data in the BLOB.OrdDomainIOInterface.setLocal(), to set the local flag.setUpdateTime(), to set the updateTime attribute to the database server's current SYSDATE time.loadDataFromFile in interface OrdDomainIOInterfaceloadDataFromFile in class OrdVideofilename - the name of the local file from which the data will be loaded.true if the data is loaded successfully; otherwise, an exception is raised if an error occurs. This method never returns false.java.io.IOException - if an error occurs reading the data file.java.sql.SQLException - if an error occurs accessing an object attribute or executing a method in the database.
public boolean loadDataFromInputStream(java.io.InputStream inpStream)
throws java.sql.SQLException,
java.io.IOException
OrdDomainIOInterfaceInputStream into the database BLOB specified by the localData attribute. Before loading the data, this method calls the following methods:
OrdDomainIOInterface.deleteContent(), to delete any existing data in the BLOB.OrdDomainIOInterface.setLocal(), to set the local flag.setUpdateTime(), to set the updateTime attribute to the database server's current SYSDATE time.loadDataFromInputStream in interface OrdDomainIOInterfaceloadDataFromInputStream in class OrdVideoinpStream - the name of the InputStream object from which the data will be loaded.true if the data is loaded successfully; otherwise, an exception is raised if an error occurs. This method never returns false.java.sql.SQLException - if an error occurs accessing an object attribute or executing a method in the database.java.io.IOException - if an error occurs reading the InputStream object.
public boolean loadDataFromByteArray(byte[] byteArr)
throws java.sql.SQLException,
java.io.IOException
OrdDomainIOInterfaceOrdDomainIOInterface.deleteContent(), to delete any existing data in the BLOB.OrdDomainIOInterface.setLocal(), to set the local flag.setUpdateTime(), to set the updateTime attribute to the database server's current SYSDATE time.loadDataFromByteArray in interface OrdDomainIOInterfaceloadDataFromByteArray in class OrdVideobyteArr - the name of the local byte[] array from which the data will be loaded.true if the data is loaded successfully; otherwise, an exception is raised if an error occurs. This method never returns false.java.io.IOException - if an error occurs reading the byte array.java.sql.SQLException - if an error occurs accessing an object attribute or executing a method in the database.
public int getContentLength()
throws java.sql.SQLException
getContentLength in interface OrdDomainIOInterfacegetContentLength in class OrdVideointjava.sql.SQLException - if an error occurs executing the corresponding getContentLength method in the database
public int getContentLength(byte[][] ctx)
throws java.sql.SQLException
OrdVideoThis method is not supported for all source types. For example, the "http" source type does not support this method.
getContentLength in class OrdVideoctx - the source plug-in context information.int).java.sql.SQLException - if an error occurs executing the corresponding getContentLength method in the database.
public void setMimeType(java.lang.String MimeType)
throws java.sql.SQLException
OrdDomainIOInterfacesetMimeType in interface OrdDomainIOInterfacesetMimeType in class OrdVideoMimeType - the new attribute value.java.sql.SQLException - if an error occurs accessing the mimeType attribute.
public java.lang.String getMimeType()
throws java.sql.SQLException
OrdDomainIOInterfacegetMimeType in interface OrdDomainIOInterfacegetMimeType in class OrdVideoString.java.sql.SQLException - if an error occurs accessing the mimeType attribute.
public int getWidth()
throws java.sql.SQLException
OrdVideogetWidth in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the width attribute.
public void setWidth(int width)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setWidth in class OrdVideowidth - the new attribute value.java.sql.SQLException - if an error occurs accessing the width attribute.
public int getHeight()
throws java.sql.SQLException
OrdVideogetHeight in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the height attribute.
public void setHeight(int height)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setHeight in class OrdVideoheight - the new attribute value.java.sql.SQLException - if an error occurs accessing the height attribute.
public int getFrameResolution()
throws java.sql.SQLException
OrdVideogetFrameResolution in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the frameResolution attribute.
public void setFrameResolution(int frameResolution)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setFrameResolution in class OrdVideoframeResolution - the new attribute value.java.sql.SQLException - if an error occurs accessing the frameResolution attribute.
public int getFrameRate()
throws java.sql.SQLException
OrdVideogetFrameRate in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the frameRate attribute.
public void setFrameRate(int frameRate)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setFrameRate in class OrdVideoframeRate - the new attribute value.java.sql.SQLException - if an error occurs accessing the frameRate attribute.
public int getNumberOfFrames()
throws java.sql.SQLException
OrdVideogetNumberOfFrames in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the numberOfFrames attribute.
public void setNumberOfFrames(int numberOfFrames)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setNumberOfFrames in class OrdVideonumberOfFrames - the new attribute value.java.sql.SQLException - if an error occurs accessing the numberOfFrames attribute.
public int getNumberOfColors()
throws java.sql.SQLException
OrdVideogetNumberOfColors in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the numberOfColors attribute.
public void setNumberOfColors(int numberOfColors)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setNumberOfColors in class OrdVideonumberOfColors - the new attribute value.java.sql.SQLException - if an error occurs accessing the numberOfColors attribute.
public int getBitRate()
throws java.sql.SQLException
OrdVideogetBitRate in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the bitRate attribute.
public void setBitRate(int bitRate)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setBitRate in class OrdVideobitRate - the new attribute value.java.sql.SQLException - if an error occurs accessing the bitRate attribute.
public void setSource(java.lang.String sourceType,
java.lang.String sourceLocation,
java.lang.String sourceName)
throws java.sql.SQLException
OrdDomainIOInterfacesetSource in interface OrdDomainIOInterfacesetSource in class OrdVideosourceType - the type of the source.sourceLocation - the location of the source.sourceName - the name of the source.java.sql.SQLException - if an error occurs accessing the srcType, srcLocation, or srcName attributes.
public java.lang.String getSourceType()
throws java.sql.SQLException
OrdDomainIOInterfacegetSourceType in interface OrdDomainIOInterfacegetSourceType in class OrdVideoString.java.sql.SQLException - if an error occurs accessing the srcType attribute.
public java.lang.String getSourceLocation()
throws java.sql.SQLException
OrdDomainIOInterfacegetSourceLocation in interface OrdDomainIOInterfacegetSourceLocation in class OrdVideoString.java.sql.SQLException - if an error occurs accessing the srcLocation attribute.
public java.lang.String getSourceName()
throws java.sql.SQLException
OrdDomainIOInterfacegetSourceName in interface OrdDomainIOInterfacegetSourceName in class OrdVideoString.java.sql.SQLException - if an error occurs accessing the srcName attribute.
public java.lang.String getSource()
throws java.sql.SQLException
OrdVideosrcType://srcLocation/srcName.getSource in class OrdVideoString.java.sql.SQLException - if an error occurs executing the corresponding getSource method in the database.
public java.lang.String getDescription()
throws java.sql.SQLException
OrdVideogetDescription in class OrdVideoString.java.sql.SQLException - if an error occurs accessing the description attribute.
public void setDescription(java.lang.String description)
throws java.sql.SQLException
OrdVideosetDescription in class OrdVideodescription - the new attribute value.java.sql.SQLException - if an error occurs accessing the description attribute.
public oracle.sql.CLOB getComments()
throws java.sql.SQLException
getComments in class OrdVideooracle.sql.CLOBjava.sql.SQLException - if an error occurs when accessing the comments attribute
public void setComments(oracle.sql.CLOB comments)
throws java.sql.SQLException
setProperties method.setComments in class OrdVideocomments - the new attribute valuejava.sql.SQLException - if an error occurs when accessing the comments attribute
public java.lang.String getCompressionType()
throws java.sql.SQLException
OrdVideogetCompressionType in class OrdVideoString.java.sql.SQLException - if an error occurs accessing the compressionType attribute.
public void setCompressionType(java.lang.String compressionType)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setCompressionType in class OrdVideocompressionType - the new attribute value.java.sql.SQLException - if an error occurs accessing the compressionType attribute.
public int getVideoDuration()
throws java.sql.SQLException
OrdVideogetVideoDuration in class OrdVideoint).java.sql.SQLException - if an error occurs accessing the videoDuration attribute.
public void setVideoDuration(int videoDuration)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the value of this attribute automatically for certain video formats; use this method only if you are not using the setProperties method. This method sets only the attribute value; it does not modify the video data itself.
setVideoDuration in class OrdVideovideoDuration - the new attribute value.java.sql.SQLException - if an error occurs accessing the videoDuration attribute.
public java.lang.String getFormat()
throws java.sql.SQLException
OrdVideogetFormat in class OrdVideoString.java.sql.SQLException - if an error occurs accessing the format attribute.
public void setFormat(java.lang.String format)
throws java.sql.SQLException
OrdVideoThe format attribute determines which format plug-in is used to handle calls to methods that operate on the video data. In particular, the setProperties method uses the format attribute to determine which format plug-in to call to parse the video data properties. See the OrdVideo.setProperties(byte[][]) method for more information on how to initialize the format attribute before calling the setProperties method, and for information on how the setProperties method in the default, Oracle-supplied plug-in, sets the format attribute. Calling the setFormat method sets only the attribute value; it does not modify the video data itself.
setFormat in class OrdVideoformat - the new attribute value.java.sql.SQLException - if an error occurs accessing the format attribute.
public boolean checkProperties(byte[][] ctx)
throws java.sql.SQLException
OrdVideocheckProperties in class OrdVideoctx - the format plug-in context information.true if the properties of the video data are consistent with the attributes of the OrdVideo Java object; false otherwise.java.sql.SQLException - if an error occurs executing the corresponding checkProperties method in the database.
public void setProperties()
throws java.sql.SQLException
OrdVideoDomain Java object. This method sets the format, mimeType, width, height, frameResolution, frameRate, videoDuration, numberOfFrames, compressionType, numberOfColors, and bitRate attributes. An attribute is set to null if the corresponding property cannot be extracted for a specific video format. This method throws a SQLException if the video format is not recognized.
setProperties(byte[][]) or setProperties(byte[][], boolean) instead of this method. Otherwise, this method may fail.setProperties in interface OrdDomainIOInterfacejava.sql.SQLException - if an error occurs while executing the corresponding setProperties method in the databaseOrdImageDomain.setProperties(), OrdAudioDomain.setProperties(), setProperties(), OrdDocDomain.setProperties()
public void setProperties(byte[][] ctx)
throws java.sql.SQLException
OrdVideoThe format attribute determines which format plug-in is used to parse the video data properties. If the value of the format attribute is null when the setProperties method is called, then the default, Oracle-supplied, format plug-in is used to parse the video data properties and fill in various attributes, including the actual video data format, for supported video formats. See Oracle interMedia Reference for information on the video formats supported by the Oracle-supplied format plug-ins. Note that the ORDVideo.init methods in the database always set the value of the format attribute to null. If the value of the format attribute is not null, then the format plug-in specified by the format attribute will be called when the setProperties method is called.
setProperties in class OrdVideoctx - the format plug-in context information.java.sql.SQLException - if an error occurs executing the corresponding setProperties method in the database.
public void setProperties(byte[][] ctx,
boolean setComments)
throws java.sql.SQLException
OrdVideoThe format attribute determines which format plug-in is used to parse the video data properties. If the value of the format attribute is null when the setProperties method is called, then the default, Oracle-supplied, format plug-in is used to parse the video data properties and fill in various attributes, including the actual video data format, for supported video formats. See Oracle interMedia Reference for information on the video formats supported by the Oracle-supplied format plug-ins. Note that the ORDVideo.init methods in the database always set the value of the format attribute to null. If the value of the format attribute is not null, then the format plug-in specified by the format attribute will be called when the setProperties method is called.
setProperties in class OrdVideoctx - the format plug-in context information.setComments - a boolean value that specifies whether or not to populate the CLOB specified by the comments attribute.java.sql.SQLException - if an error occurs executing the corresponding setProperties method in the database.
public void setContentLength(int contentLength)
throws java.sql.SQLException
OrdVideoDomain objects. This method exists only for the OrdDomainIOInterface.setContentLength in interface OrdDomainIOInterfacejava.sql.SQLException - if an error occurs when accessing the contentLength attribute.OrdImage.setContentLength(int), OrdDoc.setContentLength(int)
public int trimSource(byte[][] ctx,
int newLen)
throws java.sql.SQLException
OrdVideoNot all source plug-ins support trim operations. For example, applications can trim the data stored in a BLOB specified by the localData attribute; however, the "file" and "http" data source types do not support write access, and so do not support this method. Furthermore, those source plug-ins that do support write access may not support the trim operation.
Not all source plug-ins require that the data source be opened before it can be modified. However, to ensure that an application will work with any current or future source plug-ins, call the OrdVideo.openSource(byte[], byte[][]) method before calling this method.
trimSource in class OrdVideoctx - the source plug-in context information. See Oracle interMedia Reference for more information.newLen - the length to which the data is to be trimmed.int), where zero indicates success and a non-zero value indicates a failure code specific to the source plug-in.java.sql.SQLException - if an error occurs executing the corresponding trimSource method in the database.
public int openSource(byte[] userarg,
byte[][] ctx)
throws java.sql.SQLException
OrdVideoopenSource in class OrdVideouserarg - additional source plug-in information that may be required by user-defined source plug-ins.ctx - the source plug-in context information. See Oracle interMedia Reference for more information.int), where zero indicates success and a non-zero value indicates a failure code specific to the source plug-in.java.sql.SQLException - if an error occurs executing the corresponding openSource method in the database.
public int closeSource(byte[][] ctx)
throws java.sql.SQLException
OrdVideocloseSource in class OrdVideoctx - the source plug-in context information.int), where zero indicates success and a non-zero value indicates a failure code specific to the source plug-in.java.sql.SQLException - if an error occurs executing the corresponding closeSource method in the database.
public byte[] processSourceCommand(byte[][] ctx,
java.lang.String cmd,
java.lang.String args,
byte[][] result)
throws java.sql.SQLException
OrdVideoprocessSourceCommand in class OrdVideoctx - the source plug-in context information. See Oracle interMedia Reference for more information.cmd - the command to be executed by the source plug-in.args - the arguments of the command.result - a byte[][] array of the form [1][n] into which the result of the command execution is written.java.sql.SQLException - if an error occurs executing the corresponding processSourceCommand method in the database.
public byte[] processVideoCommand(byte[][] ctx,
java.lang.String cmd,
java.lang.String args,
byte[][] result)
throws java.sql.SQLException
OrdVideoprocessVideoCommand in class OrdVideoctx - the format plug-in context information. See Oracle interMedia Reference for more information.cmd - the command to be executed by the format plug-in.args - the arguments of the command.result - a byte[][] array of the form [1][n] into which the result of the command execution is written.java.sql.SQLException - if an error occurs executing the corresponding processVideoCommand method in the database.
public void setUpdateTime(java.sql.Timestamp currentTime)
throws java.sql.SQLException
OrdDomainIOInterfacesetUpdateTime in interface OrdDomainIOInterfacesetUpdateTime in class OrdVideocurrentTime - the update time, or the null value, used to set the value of the updateTime attribute to the current SYSDATE time.java.sql.SQLException - if an error occurs executing the corresponding setUpdateTime method in the database.
public java.sql.Timestamp getUpdateTime()
throws java.sql.SQLException
OrdDomainIOInterfacegetUpdateTime in interface OrdDomainIOInterfacegetUpdateTime in class OrdVideojava.sql.Timestamp object.java.sql.SQLException - if an error occurs accessing the updateTime attribute.
public java.lang.String getAttribute(byte[][] ctx,
java.lang.String name)
throws java.sql.SQLException
OrdVideogetAttribute in class OrdVideoctx - the format plug-in context information.name - the property or attribute name.String.java.sql.SQLException - if an error occurs executing the corresponding getAttribute method in the database.
public oracle.sql.CLOB getAllAttributes(byte[][] ctx)
throws java.sql.SQLException
attributeName=attributeValue, where the list contains the following attributes: format, mimeType, width, height, frameResolution, frameRate, videoDuration, numberOfFrames, compressionType, numberOfColors, and bitRate. For user-defined formats, the information is presented in a form defined by the format plug-in.
getAllAttributes in class OrdVideoctx - the format plug-in context informationoracle.sql.CLOBjava.sql.SQLException - if an error occurs executing the corresponding getAllAttributes method in the database
public oracle.sql.BLOB getContentInLob(byte[][] ctx,
java.lang.String[] mimetype,
java.lang.String[] format)
throws java.sql.SQLException
getContentInLob in class OrdVideoctx - the format plug-in context informationmimetype - a String[] array, 1 element in length, into which the mimeType attribute is written as element 0format - a String[] array, 1 element in length, into which the format attribute is written as element 0oracle.sql.BLOBjava.sql.SQLException - if an error occurs while creating the temporary BLOB or executing the corresponding getContentInLob method in the database
public void setKnownAttributes(java.lang.String knownformat,
int knownwidth,
int knownheight,
int knownframeresolution,
int knownframerate,
int knownvideoduration,
int knownnumberofframes,
java.lang.String knowncompressiontype,
int knownnumberofcolors,
int knownbitrate)
throws java.sql.SQLException
OrdVideoThe OrdVideo.setProperties(byte[][]) method sets the values of the following attributes automatically for certain video formats: format, width, height, frameResolution, frameRate, videoDuration, numberOfFrames, compressionType, numberOfColors, and bitRate. Use this method only if you are not using the setProperties method. This method sets only the specified attribute values; it does not modify the video data itself.
setKnownAttributes in class OrdVideoknownformat - the new attribute value, as a String.knownwidth - the new attribute value, as an integer (int).knownheight - the new attribute value, as an integer (int).knownframeresolution - the new attribute value, as an integer (int).knownframerate - the new attribute value, as an integer (int).knownvideoduration - the new attribute value, as an integer (int).knownnumberofframes - the new attribute value, as an integer (int).knowncompressiontype - the new attribute value, as a String.knownnumberofcolors - the new attribute value, as an integer (int).knownbitrate - the new attribute value, as an integer (int).java.sql.SQLException - if an error occurs executing the corresponding setKnownAttributes method in the database.
public int readFromSource(byte[][] ctx,
int startpos,
int numbytes,
byte[][] buffer)
throws java.sql.SQLException
OrdVideoNot all source plug-ins require that the data source be opened before it can be read. However, to ensure that an application will work with any current or future souce plug-ins, call the OrdVideo.openSource(byte[], byte[][]) method before calling this method.
readFromSource in class OrdVideoctx - the source plug-in context information. See Oracle interMedia Reference for more information.startpos - the start position in the data source.numbytes - the number of bytes to be read from the data source.buffer - a byte[][] array of the form [1][n], where n is greater than or equal to numbytes.int).java.sql.SQLException - if an error occurs executing the corresponding readFromSource method in the database.
public int writeToSource(byte[][] ctx,
int startpos,
int numbytes,
byte[] buffer)
throws java.sql.SQLException
OrdVideoNot all source plug-ins support write operations. For example, applications can write to a BLOB specified by the localData attribute; however, the "file" and "http" data source types do not support write access, and so do not support this method. Furthermore, those source plug-ins that do support write access may support only sequential write access, and may not support write access to arbitrary starting positions within the data source.
Not all source plug-ins require that the data source be opened before it can be written. However, to ensure that an application will work with any current or future source plug-ins, call the OrdVideo.openSource(byte[], byte[][]) method before calling this method.
writeToSource in class OrdVideoctx - the source plug-in context information. See Oracle interMedia Reference for more information.startpos - the start position in the data source.numbytes - the number of bytes to be written to the data source.buffer - a byte[] array containing the data to be written.int).java.sql.SQLException - if an error occurs executing the corresponding writeToSource method in the database.
public void export(byte[][] ctx,
java.lang.String sourceType,
java.lang.String sourceLocation,
java.lang.String sourceName)
throws java.sql.SQLException
OrdVideoNot all source plug-ins support this method. Only the "file" source type is natively supported.
This method will work only if you are running Oracle release 8.1.7 or later.
The remainder of this description describes the use of the export method and the Oracle-supplied "file" source plug-in. User-written plug-ins will behave differently.
The export method implemented by the "file" source plug-in copies, but does not modify, the video data stored in the database BLOB specified by the localData attribute.
After exporting the video data, all the video property attributes remain unchanged. However, the srcType, srcLocation, and srcName attributes are updated with values of the srcType, srcLocation, and srcName parameters passed to the export method. After calling the export method, if you no longer intend to manage the video data within the database, call the OrdVideo.clearLocal() method to indicate the video data is stored outside the database, and call the OrdVideo.deleteContent() method to delete the video data stored in the database BLOB.
See Oracle interMedia Reference for information about the privileges required to write to a database directory object. See Oracle Database Java Developer's Guide and the java.io.FilePermission class in the Java API for information about security and performance.
export in class OrdVideoctx - the source plug-in context information.sourceType - the source type to which the content will be exported.sourceLocation - the source location to which the content will be exported.sourceName - the source name to which the content will be exported.java.sql.SQLException - if an error occurs executing the corresponding export method in the database.
public boolean getDataInFile(java.lang.String filename)
throws java.sql.SQLException,
java.io.IOException
OrdDomainIOInterfacegetDataInFile in interface OrdDomainIOInterfacegetDataInFile in class OrdVideofilename - the name of the file to which the data will be written.true if the data is written to the file successfully; otherwise, an exception is raised if an error occurs. This method never returns false.java.io.IOException - if an error occurs reading the data from the BLOB or writing the data to the output file.java.sql.SQLException - if an error occurs accessing an object attribute.
public java.io.InputStream getDataInStream()
throws java.sql.SQLException
OrdDomainIOInterfacegetDataInStream in interface OrdDomainIOInterfacegetDataInStream in class OrdVideoInputStream object from which the data will be read.java.sql.SQLException - if an error occurs accessing an object attribute.
public byte[] getDataInByteArray()
throws java.sql.SQLException,
java.io.IOException,
java.lang.OutOfMemoryError
OrdDomainIOInterfacegetDataInByteArray in interface OrdDomainIOInterfacegetDataInByteArray in class OrdVideobyte[] array containing the data.java.io.IOException - if an error occurs reading the data from the BLOB.java.sql.SQLException - if an error occurs accessing an object attribute.java.lang.OutOfMemoryError - if sufficient memory cannot be allocated to hold the data.
public oracle.jbo.domain.BlobDomain getContentAsBlobDomain()
throws java.sql.SQLException
OrdDomainIOInterfaceBlobDomain object which wraps the BLOB locator from the localData attribute.getContentAsBlobDomain in interface OrdDomainIOInterfaceBlobDomain objectjava.sql.SQLException - if an error occurs in calling getContent method.OrdImage.getContent(), OrdAudio.getContent(), OrdVideo.getContent(), OrdDoc.getContent()
public oracle.jbo.domain.BFileDomain getBFileDomain()
throws java.sql.SQLException
OrdDomainIOInterfaceBFileDomain object which wraps the BFILE locator obtained from the getBFILE method.getBFileDomain in interface OrdDomainIOInterfaceBFileDomain objectjava.sql.SQLException - if an error occurs in calling getBFILE method.OrdImage.getBFILE(), OrdAudio.getBFILE(), OrdVideo.getBFILE(), OrdDoc.getBFILE()
public oracle.jbo.domain.ClobDomain getCommentsAsClobDomain()
throws java.sql.SQLException
ClobDomain object which wraps the CLOB locator obtained from the getComments() method.ClobDomain objectjava.sql.SQLException - if an error occurs while calling the getComments methodpublic void setContentSource(OrdContentSource source)
OrdDomainIOInterfaceOrdHttpUploadFile object. The loading of content from the client into the database doesn't happen inside this method. It's deferred to the next postChanges method call.
If the source parameter is null, this method just resets the previously set content source.
In 3Tier environment, this method registers the domain object in the client post listener list so the content won't be replicated from CT to MT. The content will be streamed to the database directly after the postChanges.
setContentSource in interface OrdDomainIOInterfacesource - the content source for the deferred loadingOrdContentSourcepublic OrdContentSource getContentSource()
OrdDomainIOInterfacesetContentSource method.getContentSource in interface OrdDomainIOInterface
public oracle.sql.CustomDatum create(oracle.sql.Datum d,
int sqlType)
throws java.sql.SQLException
create in interface oracle.sql.CustomDatumFactorycreate in class OrdVideojava.sql.SQLExceptionpublic static oracle.jbo.domain.XMLDomainFactory getXMLDomainFactory(java.lang.Class attrClass)
public org.w3c.dom.Node getXMLContentNode(org.w3c.dom.Document xmlDoc)
getXMLContentNode in interface oracle.jbo.domain.XMLDomainInterfacepublic java.lang.Object createDomainFromSerializedXML(org.w3c.dom.Element element)
createDomainFromSerializedXML in interface oracle.jbo.domain.XMLDomainReaderFactorypublic org.w3c.dom.Node getSerializedDomainXML(org.w3c.dom.Document xmlDoc)
getSerializedDomainXML in interface oracle.jbo.domain.XMLDomainWriterxmlDoc - name of the XML document in which the node should be created.
public java.lang.String printXMLDefinition(java.util.Hashtable allDefs,
java.io.PrintWriter pw,
boolean bContainees)
printXMLDefinition in interface oracle.jbo.domain.XMLDomainInterfacepublic void domainToBeModified(oracle.jbo.domain.DomainInterface d)
domainToBeModified in interface oracle.jbo.domain.DomainOwnerInterfacepublic java.lang.Object getAttribute(int index)
getAttribute in interface oracle.jbo.AttributeListpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface oracle.jbo.AttributeList
public void setAttribute(int index,
java.lang.Object value)
setAttribute in interface oracle.jbo.AttributeList
public void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface oracle.jbo.AttributeListpublic int getAttributeCount()
getAttributeCount in interface oracle.jbo.AttributeListpublic int getAttributeIndexOf(java.lang.String name)
getAttributeIndexOf in interface oracle.jbo.AttributeListpublic java.lang.String[] getAttributeNames()
getAttributeNames in interface oracle.jbo.AttributeListpublic java.lang.Object[] getAttributeValues()
getAttributeValues in interface oracle.jbo.AttributeListpublic void syncServerLob(oracle.jbo.domain.LobInterface oldObj)
syncServerLob in interface oracle.jbo.domain.LobInterfacepublic void syncClientLob(oracle.jbo.domain.LobInterface newArrival)
syncClientLob in interface oracle.jbo.domain.LobInterfacepublic long getSize()
getSize in interface oracle.jbo.domain.LobInterfacepublic java.lang.String getRemoteIdString()
getRemoteIdString in interface oracle.jbo.domain.LobInterface
public void saveToDatabase(oracle.jbo.Transaction xAct)
throws java.sql.SQLException
saveToDatabase in interface oracle.jbo.domain.BlobDomainInterfacejava.sql.SQLException
public void saveToDatabase(oracle.jbo.Transaction xAct,
java.lang.Object emptySQLObject)
throws java.sql.SQLException,
java.io.IOException
saveToDatabase in interface oracle.jbo.domain.BlobDomainInterfacejava.sql.SQLExceptionjava.io.IOExceptionpublic void prepareForDML(java.lang.Object context)
prepareForDML in interface oracle.jbo.domain.BlobDomainInterface
public void loadFromDatabase(oracle.jbo.Transaction xAct)
throws java.lang.Exception
loadFromDatabase in interface oracle.jbo.domain.BlobDomainInterfacejava.lang.Exceptionpublic oracle.jbo.domain.DomainOwnerInterface getOwner()
getOwner in interface oracle.jbo.domain.LobInterfacepublic int getOwnerAttributeIndex()
getOwnerAttributeIndex in interface oracle.jbo.domain.LobInterfacepublic java.lang.Object getData()
getData in interface oracle.jbo.domain.DomainInterface
public void setContext(oracle.jbo.domain.DomainOwnerInterface owner,
oracle.jbo.Transaction trans,
java.lang.Object ctx)
setContext in interface oracle.jbo.domain.DomainInterfacepublic oracle.svcmsg.ResponseValues marshal()
marshal in interface oracle.jbo.domain.MarshalledDomainpublic boolean isConnected()
OrdDomainStateisConnected in interface OrdDomainStatetrue if the there exists an internal JDBC connection; otherwise, returns falsepublic int getTierInfo()
OrdDomainStateThe returned value indicates the tier information.
getTierInfo in interface OrdDomainStatepublic void setConnected(boolean value)
setConnected in interface OrdDomainStatepublic void removeListenerFromTransaction()
OrdDomainStateremoveListenerFromTransaction in interface OrdDomainStatepublic boolean isAddedToTransaction()
isAddedToTransaction in interface OrdDomainStatepublic void setAddToTransactionState(boolean value)
setAddToTransactionState in interface OrdDomainStatepublic void doneCommit(oracle.jbo.TransactionStateEvent event)
doneCommit in interface oracle.jbo.TransactionStateListenerpublic void doneRollback(oracle.jbo.TransactionStateEvent event)
doneRollback in interface oracle.jbo.TransactionStateListenerpublic void setContentSourceOnly(OrdContentSource source)
OrdDomainIOInterfacesetContentSourceOnly in interface OrdDomainIOInterfacepublic void setCTPassivationHandle(java.lang.Object handle)
setCTPassivationHandle in interface OrdDomainSupportInterfacepublic java.lang.Object getCTPassivationHandle()
getCTPassivationHandle in interface OrdDomainSupportInterfacepublic void generateTempFilePath()
generateTempFilePath in interface OrdDomainSupportInterfacepublic void clearContentSource()
OrdDomainIOInterfaceclearContentSource in interface OrdDomainIOInterface
|
Oracle ADF Business Components interMedia Domains Java API Reference 10g Release 3 (10.1.3) B16008-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||