org.jasig.portlet.calendar.adapter
Class CalendarEventsDao

java.lang.Object
  extended by org.jasig.portlet.calendar.adapter.CalendarEventsDao

public class CalendarEventsDao
extends Object

Version:
$Revision: 25776 $
Author:
Jen Bourey, jennifer.bourey@gmail.com

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
CalendarEventsDao()
           
 
Method Summary
protected  org.joda.time.format.DateTimeFormatter getDateFormatter(org.joda.time.DateTimeZone timezone)
           
protected  Set<CalendarDisplayEvent> getDisplayEvents(net.fortuna.ical4j.model.component.VEvent e, org.joda.time.Interval interval, org.joda.time.DateTimeZone timezone)
          Get a JSON-appropriate representation of each recurrence of an event within the specified time period.
 Set<CalendarDisplayEvent> getEvents(ICalendarAdapter adapter, CalendarConfiguration calendar, org.joda.time.Interval interval, javax.portlet.PortletRequest request, org.joda.time.DateTimeZone tz)
           
protected  org.joda.time.format.DateTimeFormatter getTimeFormatter(org.joda.time.DateTimeZone timezone)
           
 void setCache(net.sf.ehcache.Cache cache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

CalendarEventsDao

public CalendarEventsDao()
Method Detail

setCache

public void setCache(net.sf.ehcache.Cache cache)
Parameters:
cache - the cache to set

getEvents

public Set<CalendarDisplayEvent> getEvents(ICalendarAdapter adapter,
                                           CalendarConfiguration calendar,
                                           org.joda.time.Interval interval,
                                           javax.portlet.PortletRequest request,
                                           org.joda.time.DateTimeZone tz)

getDisplayEvents

protected Set<CalendarDisplayEvent> getDisplayEvents(net.fortuna.ical4j.model.component.VEvent e,
                                                     org.joda.time.Interval interval,
                                                     org.joda.time.DateTimeZone timezone)
                                              throws IOException,
                                                     URISyntaxException,
                                                     ParseException
Get a JSON-appropriate representation of each recurrence of an event within the specified time period.

Parameters:
event -
period -
tz -
Returns:
Throws:
IOException
URISyntaxException
ParseException

getDateFormatter

protected org.joda.time.format.DateTimeFormatter getDateFormatter(org.joda.time.DateTimeZone timezone)

getTimeFormatter

protected org.joda.time.format.DateTimeFormatter getTimeFormatter(org.joda.time.DateTimeZone timezone)


Copyright © 2012 Jasig. All Rights Reserved.