|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.dacf.control.swing.find.ViewCriteriaModelImpl
This class makes available the BC4J ViewCriteriaRows and ViewCriteria. These objects are used to create and execute parameterized queries. This implementation indirectly creates and uses ViewCriteria objects through the ResultSetInfo object.
FindPanel,
ViweCriteriaModel,
ResultSetInfo,
ViewCriteria,
ViewCriteriaRow| Field Summary | |
protected java.lang.Object[] |
_columnLabels
|
protected javax.infobus.ScrollableRowsetAccess |
_rsAccess
|
protected UnmangledQueryCriteriaStore |
_unmangledQueryCriteriaStore
|
| Constructor Summary | |
ViewCriteriaModelImpl()
Constructor |
|
| Method Summary | |
boolean |
absolute(int rowIndex)
move to a specific ViewCriteriaRow |
void |
deleteRow()
delete current ViewCriteriaRow |
boolean |
first()
move to the first ViewCriteriaRow |
int |
getColumnCount()
|
java.lang.String |
getColumnDisplayLabel(int colIndex)
return the column display name for a particular column |
java.lang.String |
getColumnName(int colIndex)
get the column name., zero based index. |
java.lang.Object |
getColumnValue(int colIndex)
return the column value for a particular column |
FindItemModel |
getFindItemModel(int row,
int col)
|
int |
getRow()
get the row number of the current row. |
int |
getRowCount()
return the number of ViewCriteriaRows |
javax.infobus.ScrollableRowsetAccess |
getRowsetAccess()
|
int |
getSQLType(int colIndex)
get SQL type for this column., zero based index. |
java.lang.Object |
getUserData(int colIndex)
|
boolean |
last()
move to the last ViewCriteriaRow |
void |
newRow()
create a new ViewCriteriaRow |
boolean |
next()
move to the next ViewCriteriaRow |
boolean |
previous()
move to previous ViewCriteriaRow |
void |
setColumnValue(int colIndex,
java.lang.Object value)
specify the column value for a particular column |
void |
setRowsetAccess(javax.infobus.ScrollableRowsetAccess rsAccess)
Specify the ScrollableRowsetAccess object to delegate request for creating ViewCriteria objects. |
void |
setUserData(int colIndex,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.infobus.ScrollableRowsetAccess _rsAccess
protected UnmangledQueryCriteriaStore _unmangledQueryCriteriaStore
protected java.lang.Object[] _columnLabels
| Constructor Detail |
public ViewCriteriaModelImpl()
| Method Detail |
public void setRowsetAccess(javax.infobus.ScrollableRowsetAccess rsAccess)
public javax.infobus.ScrollableRowsetAccess getRowsetAccess()
public int getRowCount()
getRowCount in interface ViewCriteriaModelpublic int getRow()
getRow in interface ViewCriteriaModelpublic boolean absolute(int rowIndex)
absolute in interface ViewCriteriaModelpublic boolean previous()
previous in interface ViewCriteriaModelpublic boolean first()
first in interface ViewCriteriaModelpublic boolean next()
next in interface ViewCriteriaModelpublic boolean last()
last in interface ViewCriteriaModelpublic void newRow()
newRow in interface ViewCriteriaModelpublic void deleteRow()
deleteRow in interface ViewCriteriaModelpublic int getColumnCount()
getColumnCount in interface ViewCriteriaModelpublic java.lang.String getColumnDisplayLabel(int colIndex)
getColumnDisplayLabel in interface ViewCriteriaModelpublic java.lang.String getColumnName(int colIndex)
getColumnName in interface ViewCriteriaModelpublic int getSQLType(int colIndex)
getSQLType in interface ViewCriteriaModelpublic java.lang.Object getColumnValue(int colIndex)
getColumnValue in interface ViewCriteriaModelcolIndex - column index whose column value we are interested in.,
zero based index used
public void setColumnValue(int colIndex,
java.lang.Object value)
setColumnValue in interface ViewCriteriaModelcolIndex - column index whose value has to be set
zero based index usedpublic java.lang.Object getUserData(int colIndex)
getUserData in interface ViewCriteriaModel
public void setUserData(int colIndex,
java.lang.Object value)
setUserData in interface ViewCriteriaModel
public FindItemModel getFindItemModel(int row,
int col)
|
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.