org.sakaiproject.announcement.impl
Class BaseAnnouncementService.PrivacyFilter
java.lang.Object
org.sakaiproject.announcement.impl.BaseAnnouncementService.PrivacyFilter
- All Implemented Interfaces:
- org.sakaiproject.javax.Filter
- Enclosing class:
- BaseAnnouncementService
protected class BaseAnnouncementService.PrivacyFilter
- extends Object
- implements org.sakaiproject.javax.Filter
A filter that will reject announcement message drafts not from the current user, and otherwise use another filter, if defined, for acceptance.
|
Field Summary |
protected org.sakaiproject.javax.Filter |
m_filter
The other filter to check with. |
|
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 |
m_filter
protected org.sakaiproject.javax.Filter m_filter
- The other filter to check with. May be null.
BaseAnnouncementService.PrivacyFilter
public BaseAnnouncementService.PrivacyFilter(org.sakaiproject.javax.Filter filter)
- Construct
- Parameters:
filter - The other filter we check with.
accept
public boolean accept(Object o)
- Does this object satisfy the criteria of the filter?
- Specified by:
accept in interface org.sakaiproject.javax.Filter
- Returns:
- true if the object is accepted by the filter, false if not.
Copyright © 2003-2012 University of Michigan. All Rights Reserved.