org.jasig.portlet.calendar.adapter
Class CalendarEventsDao
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
CalendarEventsDao
public CalendarEventsDao()
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.