com.tenduke.event
Class EventListFilterOwnFeed

java.lang.Object
  extended by com.tenduke.event.EventListFilterOwnFeed
All Implemented Interfaces:
EventListFilter

public class EventListFilterOwnFeed
extends java.lang.Object
implements EventListFilter

Event list filtering for filtering events displayed in users own feed based on ProfileSettings.


Constructor Summary
EventListFilterOwnFeed(Profile profile)
          Initializes new instance of the EventListFilterOwnFeed class.
 
Method Summary
 java.util.List<Event> filterEvents(java.util.List<Event> events)
          Filter events by user's ProfileSettings that control event feed display.
 Profile getProfile()
          Gets Profile whose own feed is filtered.
 void setProfile(Profile profile)
          Sets Profile whose own feed is filtered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListFilterOwnFeed

public EventListFilterOwnFeed(Profile profile)
Initializes new instance of the EventListFilterOwnFeed class.

Parameters:
profile - Profile whose own feed is filtered.
Method Detail

filterEvents

public java.util.List<Event> filterEvents(java.util.List<Event> events)
Filter events by user's ProfileSettings that control event feed display.

Specified by:
filterEvents in interface EventListFilter
Parameters:
events - Events to filter.
Returns:
Filtered list of events.

getProfile

public Profile getProfile()
Gets Profile whose own feed is filtered.

Returns:
Profile whose own feed is filtered.

setProfile

public void setProfile(Profile profile)
Sets Profile whose own feed is filtered.

Parameters:
profile - Profile whose own feed is filtered.