net.wimpi.pim.contact.db
Interface ContactGroupFilter


public interface ContactGroupFilter

Interface modeling a ContactGroupFilter.

Version:
0.1 (22/07/2003)
Author:
Dieter Wimberger

Method Summary
 boolean passes(ContactGroup group)
          Tests if a given contact passes through this ContactGroupFilter.
 void setChildFilter(ContactGroupFilter filter)
          Sets a child filter, which will be applied by the parent.
 

Method Detail

passes

public boolean passes(ContactGroup group)
Tests if a given contact passes through this ContactGroupFilter.

Parameters:
group - a ContactGroup instance.
Returns:
true if passes, false otherwise.

setChildFilter

public void setChildFilter(ContactGroupFilter filter)
Sets a child filter, which will be applied by the parent.

Note that this semantics allow to construct chains of different filters.

Parameters:
filter - a ContactGroupFilter instance.


Copyright © 2001-2003 jpim team.