org.jasig.portlet.calendar.dao
Class WhitelistFilteringCalendarSetDao

java.lang.Object
  extended by org.jasig.portlet.calendar.dao.WhitelistFilteringCalendarSetDao
All Implemented Interfaces:
ICalendarSetDao

public class WhitelistFilteringCalendarSetDao
extends Object
implements ICalendarSetDao

Decorates another instance of ICalendarSetDao and filters the results it provides by the specified whilelist, unless the list is empty. In that case all results will be displayed.

Author:
awills

Constructor Summary
WhitelistFilteringCalendarSetDao()
           
 
Method Summary
 List<PredefinedCalendarConfiguration> getAvailablePredefinedCalendarConfigurations(javax.portlet.PortletRequest req)
           
 CalendarSet<?> getCalendarSet(javax.portlet.PortletRequest req)
           
 void setEnclosedCalendarSetDao(ICalendarSetDao enclosedCalendarSetDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhitelistFilteringCalendarSetDao

public WhitelistFilteringCalendarSetDao()
Method Detail

setEnclosedCalendarSetDao

public void setEnclosedCalendarSetDao(ICalendarSetDao enclosedCalendarSetDao)

getCalendarSet

public CalendarSet<?> getCalendarSet(javax.portlet.PortletRequest req)
Specified by:
getCalendarSet in interface ICalendarSetDao

getAvailablePredefinedCalendarConfigurations

public List<PredefinedCalendarConfiguration> getAvailablePredefinedCalendarConfigurations(javax.portlet.PortletRequest req)
Specified by:
getAvailablePredefinedCalendarConfigurations in interface ICalendarSetDao


Copyright © 2013 Jasig. All Rights Reserved.