com.ibm.di.connector.maximo.core
Class EntryFilter

java.lang.Object
  extended by com.ibm.di.connector.maximo.core.EntryFilter

public final class EntryFilter
extends Object

This class verifies if an Entry object matches a SearchCriteria object.

Since:
7.1

Constructor Summary
EntryFilter()
           
 
Method Summary
static void checkSearchCriteria(SearchCriteria criteria)
           
static boolean match(SearchCriteria searchCriteria, Entry entry)
          Indicates if an Entry object matches a SearchCriteria object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryFilter

public EntryFilter()
Method Detail

match

public static boolean match(SearchCriteria searchCriteria,
                            Entry entry)
                     throws MxConnectorException
Indicates if an Entry object matches a SearchCriteria object.

Parameters:
searchCriteria - set of conditions which the Entry object should match
entry - Entry object to be checked
Returns:
true if the Entry object matches the criteria, otherwise false
Throws:
MxConnectorException - if criteria.getType() != SearchCriteria.SEARCH_AND

checkSearchCriteria

public static void checkSearchCriteria(SearchCriteria criteria)
                                throws MxConnSchemaException
Throws:
MxConnSchemaException