|
Oracle Ultra Search Java API Reference 9.0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.ultrasearch.query.DisplayUtil
Class DisplayUtil provides methods to display table and file data source contents.
| Constructor Summary | |
DisplayUtil()Default constructor | |
| Method Summary | |
void |
displayFileUrl(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)Call this method to display the contents of a file data source document. |
void |
displayTableUrl(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)Call this method to display the contents of a table data source (database row cell). |
void |
setInstance(Instance inst)Sets the Instance object used by the class to create database connections to the Ultra Search instance. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DisplayUtil()
| Method Detail |
public void setInstance(Instance inst)
inst - The instance object
public void displayTableUrl(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws java.io.IOException,
java.sql.SQLException
This method makes a database call which returns the contents the database row cell. The table may reside on a separate database which must be accessible by the Ultra Search database via a database link.
request - The incoming Servlet request object containing all request data.response - The outgoing Servlet response object whose PrintWriter this method will print text to.
public void displayFileUrl(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws java.io.IOException,
java.sql.SQLException
This method makes a database call which returns the contents of the file. Therefore, the file must be accessible by the database server.
request - The incoming Servlet request object containing all request data.response - The outgoing Servlet response object whose PrintWriter this method will print text to.
|
Oracle Ultra Search Java API Reference 9.0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||