com.ibm.websphere.logging.hpel.reader.filters
Class MultipleCriteriaFilter

java.lang.Object
  extended by com.ibm.websphere.logging.hpel.reader.filters.MultipleCriteriaFilter
All Implemented Interfaces:
LogRecordFilter

public class MultipleCriteriaFilter
extends java.lang.Object
implements LogRecordFilter

filter class for all remote reader functionality. Note that an attempt is made to do all heavy processing in the constructor so that the per-record invocations go as quickly as possible.


Constructor Summary
MultipleCriteriaFilter(LogQueryBean logQueryBean)
          construct the filter for the read API
 
Method Summary
 boolean accept(RepositoryLogRecord record)
          filter current record per criteria passed in.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleCriteriaFilter

public MultipleCriteriaFilter(LogQueryBean logQueryBean)
construct the filter for the read API

Parameters:
logQueryBean - bean/object with all query information
Method Detail

accept

public boolean accept(RepositoryLogRecord record)
filter current record per criteria passed in. Date filtering done prior to filter invocation any failure of a criteria results in a false return (ie: don't accept record)

Specified by:
accept in interface LogRecordFilter
Parameters:
record - RepositoryLogRecord to filter
Returns:
true or false as to keeping this record