Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class RowFilter

java.lang.Object
  |
  +--oracle.dacf.dataset.RowFilter
Direct Known Subclasses:
LiteralRowFilter

public abstract class RowFilter
extends java.lang.Object

Internal: Applications should not use this class or its methods.


Constructor Summary
RowFilter()
           
RowFilter(ResultSetInfo rowset, java.lang.String[] names)
           
 
Method Summary
protected  int[] getColumnIndices()
           
 java.lang.String[] getColumns()
          Returns the names of the columns used in the filter.
 ResultSetInfo getRowSet()
          Returns the ResultSetInfo used as the reference for the filter.
 void setColumns(java.lang.String[] names)
          Specifies the columns to use in the filter by name.
 void setRowSet(ResultSetInfo rowSet)
          Set the ResultSetInfo that is going to be the reference for the filter.
abstract  boolean test(oracle.jbo.Row row)
          Tests to see if the indicated row will pass "through" the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowFilter

public RowFilter()

RowFilter

public RowFilter(ResultSetInfo rowset,
                 java.lang.String[] names)
Method Detail

test

public abstract boolean test(oracle.jbo.Row row)
Tests to see if the indicated row will pass "through" the filter.

Returns:
True if the row "passes" the filter.

setRowSet

public void setRowSet(ResultSetInfo rowSet)
Set the ResultSetInfo that is going to be the reference for the filter.
Parameters:
rowset - The ResultSetInfo that is going to be the reference for the filter.

getRowSet

public ResultSetInfo getRowSet()
Returns the ResultSetInfo used as the reference for the filter.
Returns:
the ResultSetInfo used as the reference for the filter.

setColumns

public void setColumns(java.lang.String[] names)
Specifies the columns to use in the filter by name.

The name should be just the AttributeInfo name and not the full dataItem bind name. eg: deptno and not infobus:/oracle/session/dept/deptno.


getColumns

public java.lang.String[] getColumns()
Returns the names of the columns used in the filter.

getColumnIndices

protected int[] getColumnIndices()

Oracle Data-aware Controls Reference