|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is an extension of javax.infobus.ScrollableRowsetAccess that allows searching of the retrieved rows.
Method Summary | |
int |
findRangeIndexOf(java.lang.String[] colNames,
java.lang.Object[] values)
Searches for a row, like the findRow method above. |
boolean |
findRow(java.lang.String[] colNames,
java.lang.Object[] values)
Finds a the first row within the result set that contains values in columns. |
Methods inherited from interface javax.infobus.ScrollableRowsetAccess |
absolute, first, getBufferSize, getRow, getRowCount, last, newCursor, previous, relative, setBufferSize |
Methods inherited from interface javax.infobus.RowsetAccess |
canDelete, canInsert, canUpdate, canUpdate, canUpdate, deleteRow, flush, getColumnCount, getColumnDatatypeName, getColumnDatatypeNumber, getColumnItem, getColumnItem, getColumnName, getDb, getHighWaterMark, hasMoreRows, lockRow, newRow, next, setColumnValue, setColumnValue |
Method Detail |
public boolean findRow(java.lang.String[] colNames, java.lang.Object[] values) throws javax.infobus.ColumnNotFoundException, javax.infobus.DuplicateColumnException, java.sql.SQLException
There must be a one-to-one correspondence between the colNames and values arrays. The columns listed in colNames must be the primary keys used to produce the result set. The value values[n] will be used as the search value for colNames[n]. Individual null entries are allowed in values and will be mapped to the SQL null value.
colNames
- The name of the columns to search withinvalues
- The values to use for the comparison
javax.infobus.ColumnNotFoundException,
- javax.infobus.DuplicateColumnException,
java.sql.SQLException;
javax.infobus.ColumnNotFoundException
javax.infobus.DuplicateColumnException
java.sql.SQLException
public int findRangeIndexOf(java.lang.String[] colNames, java.lang.Object[] values) throws javax.infobus.ColumnNotFoundException, javax.infobus.DuplicateColumnException, java.sql.SQLException
colNames
- The name of the columns to search withinvalues
- The values to use for the comparison
javax.infobus.ColumnNotFoundException,
- javax.infobus.DuplicateColumnException,
java.sql.SQLException;
javax.infobus.ColumnNotFoundException
javax.infobus.DuplicateColumnException
java.sql.SQLException
RowSetIterator
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.