Oracle Data-aware Controls Reference

oracle.dacf.control.swing.find
Interface ViewCriteriaModel

All Known Implementing Classes:
ViewCriteriaModelImpl

public interface ViewCriteriaModel

An interface which allows the FindPanel to make use of ViewCriteriaRows and ViewCriteria to create and execute a parameterized query.

Version:
SDK
See Also:
FindPanel, ResultSetInfo

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
 int getRow()
          get the row number of the current row.
 int getRowCount()
          return the number of ViewCriteriaRows
 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 setUserData(int colIndex, java.lang.Object value)
           
 

Method Detail

getRowCount

public int getRowCount()
return the number of ViewCriteriaRows


getRow

public int getRow()
get the row number of the current row.


absolute

public boolean absolute(int rowIndex)
move to a specific ViewCriteriaRow


previous

public boolean previous()
move to previous ViewCriteriaRow


first

public boolean first()
move to the first ViewCriteriaRow


next

public boolean next()
move to the next ViewCriteriaRow


last

public boolean last()
move to the last ViewCriteriaRow


newRow

public void newRow()
create a new ViewCriteriaRow


deleteRow

public void deleteRow()
delete current ViewCriteriaRow


getColumnCount

public int getColumnCount()
Returns:
the number of columns

getColumnDisplayLabel

public java.lang.String getColumnDisplayLabel(int colIndex)
return the column display name for a particular column


getColumnName

public java.lang.String getColumnName(int colIndex)
get the column name., zero based index.

Returns:
name of the column to use in the query

getSQLType

public int getSQLType(int colIndex)
get SQL type for this column., zero based index.


getColumnValue

public java.lang.Object getColumnValue(int colIndex)
return the column value for a particular column

Parameters:
colIndex - column index whose column value we are interested in., zero based index used
Returns:
column value

setColumnValue

public void setColumnValue(int colIndex,
                           java.lang.Object value)
specify the column value for a particular column

Parameters:
colIndex - column index whose value has to be set zero based index used

setUserData

public void setUserData(int colIndex,
                        java.lang.Object value)

getUserData

public java.lang.Object getUserData(int colIndex)

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.