org.sakaiproject.component.legacy.message
Class BaseMessageService.MessageSelectionFilter

java.lang.Object
  extended byorg.sakaiproject.component.legacy.message.BaseMessageService.MessageSelectionFilter
All Implemented Interfaces:
Filter
Enclosing class:
BaseMessageService

protected class BaseMessageService.MessageSelectionFilter
extends Object
implements Filter


Field Summary
protected  Time m_afterDate
           
protected  String m_draftsForId
           
protected  boolean m_pubViewOnly
           
 
Constructor Summary
BaseMessageService.MessageSelectionFilter(Time afterDate, String draftsForId, boolean pubViewOnly)
           
 
Method Summary
 boolean accept(Object o)
          Does this object satisfy the criteria of the filter?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_afterDate

protected Time m_afterDate

m_draftsForId

protected String m_draftsForId

m_pubViewOnly

protected boolean m_pubViewOnly
Constructor Detail

BaseMessageService.MessageSelectionFilter

public BaseMessageService.MessageSelectionFilter(Time afterDate,
                                                 String draftsForId,
                                                 boolean pubViewOnly)
Method Detail

accept

public boolean accept(Object o)
Does this object satisfy the criteria of the filter?

Specified by:
accept in interface Filter
Parameters:
o - The object to test.
Returns:
true if the object is accepted by the filter, false if not.