Stellent
HowToComponents
JavaDoc

intradoc.data
Interface ResultSetFilter

All Known Implementing Classes:
SimpleResultSetFilter

public interface ResultSetFilter

Used to copy over a result set filtering out undesired rows.

See Also:
DataResultSet.copyFiltered(intradoc.data.ResultSet, java.lang.String, intradoc.data.ResultSetFilter)

Field Summary
static short ABORT
          Returned if copying should stop.
static short ALLOW
          Returned if row should be copied into target result set.
static short DENY
          Returned if row should be skipped.
 
Method Summary
 int checkRow(java.lang.String val, int curNumRows, java.util.Vector row)
          Returns whether copying should ABORT, DENY (skip), or ALLOW (copy) for the current row from the source result set.
 

Field Detail

ABORT

public static final short ABORT
Returned if copying should stop.

See Also:
Constant Field Values

DENY

public static final short DENY
Returned if row should be skipped.

See Also:
Constant Field Values

ALLOW

public static final short ALLOW
Returned if row should be copied into target result set.

See Also:
Constant Field Values
Method Detail

checkRow

public int checkRow(java.lang.String val,
                    int curNumRows,
                    java.util.Vector row)
Returns whether copying should ABORT, DENY (skip), or ALLOW (copy) for the current row from the source result set.

Parameters:
val - As part of the call to performing the copy, one field is specified as the merge key. This parameter holds the value of that field for the current row being evaluated.
curNumRows - The number of rows that have been tested so far.
row - An array of strings containing all the values of all the fields of the source result set in the order found in that result set.
Returns:
One of ABORT, DENY, or ALLOW.


(c) 1996-2005  All rights reserved.  Stellent, Inc.