BEA Systems, Inc.

com.beasys.commerce.axiom.document.jdbc
Class FindDocumentsStatement

java.lang.Object
  |
  +--com.beasys.commerce.axiom.document.jdbc.CallableStatement
        |
        +--com.beasys.commerce.axiom.document.jdbc.SearchStatement
              |
              +--com.beasys.commerce.axiom.document.jdbc.FindDocumentsStatement

public class FindDocumentsStatement
extends SearchStatement

A callable statement which handles finding documents.

This expects InParam1 to be either a Search or a string query which can be converted to a Search. OutParam1 will be the DocumentIterator of DocumentDefs.


Fields inherited from class com.beasys.commerce.axiom.document.jdbc.SearchStatement
iterator, searchParameters
 
Fields inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement
connection
 
Constructor Summary
FindDocumentsStatement(Connection con)
          Constructor.
 
Method Summary
protected  DocumentIterator createIterator(DocumentProvider provider, Search params)
          This method is invoked to generate the DocumentIterator for this object.
 
Methods inherited from class com.beasys.commerce.axiom.document.jdbc.SearchStatement
clearParameters, close, closeIterator, execute, getObject, setObject, setString
 
Methods inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement
addBatch, addBatch, cancel, clearBatch, clearWarnings, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, getArray, getBigDecimal, getBigDecimal, getBlob, getBoolean, getByte, getBytes, getClob, getConnection, getDate, getDate, getDocumentProvider, getDouble, getFetchDirection, getFetchSize, getFloat, getInt, getLong, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getObject, getQueryTimeout, getRef, getResultSet, getResultSetConcurrency, getResultSetType, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getUpdateCount, getWarnings, registerOutParameter, registerOutParameter, registerOutParameter, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setQueryTimeout, setRef, setShort, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindDocumentsStatement

public FindDocumentsStatement(Connection con)
Constructor.
Parameters:
con - the connection that spawned us.
Method Detail

createIterator

protected DocumentIterator createIterator(DocumentProvider provider,
                                          Search params)
                                   throws DocumentException
This method is invoked to generate the DocumentIterator for this object.
Overrides:
createIterator in class SearchStatement
Tags copied from class: SearchStatement
Parameters:
p - the DocumentProvider to use.
params - the Search parameters passed into the statement.
Returns:
the DocumentIterator for the resulting search.
Throws:
DocumentException - thrown on an error.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved