org.ujac.util.table
Interface RowFilterRule

All Known Implementing Classes:
BaseRowFilterRule, BetweenRowFilterRule, EqualsRowFilterRule, ExpressionRowFilterRule, GreaterEqualsRowFilterRule, GreaterRowFilterRule, InRowFilterRule, LessEqualsRowFilterRule, LessRowFilterRule, LikeRowFilterRule, NotRowFilterRule, RowFilterRuleSet

public interface RowFilterRule

Name: TableRowFilter
Description: An interface for table row filters.

Author:
lauerc

Method Summary
 void setup(Table table)
          Sets up the rule.
 boolean test(Row row)
          Tests the filter rule for the given row.
 

Method Detail

setup

void setup(Table table)
           throws TableException
Sets up the rule.

Parameters:
table - The table for which set up the rule.
Throws:
TableException - In case a table handling failure occurred.

test

boolean test(Row row)
             throws TableException
Tests the filter rule for the given row.

Parameters:
row - The row to test.
Returns:
true in case the test was successfully passed valid, else false.
Throws:
TableException - In case a table handling failure occurred.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.