public class CalendarEventsDao extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
CalendarEventsDao() |
| Modifier and Type | Method and Description |
|---|---|
net.fortuna.ical4j.model.Calendar |
getCalendar(ICalendarAdapter adapter,
CalendarConfiguration calendarConfig,
org.joda.time.Interval interval,
javax.portlet.PortletRequest request) |
protected org.joda.time.format.DateTimeFormatter |
getDateFormatter(Locale locale,
org.joda.time.DateTimeZone timezone) |
protected Set<CalendarDisplayEvent> |
getDisplayEvents(net.fortuna.ical4j.model.component.VEvent e,
org.joda.time.Interval interval,
Locale locale,
org.joda.time.DateTimeZone usersConfiguredDateTimeZone)
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 usersConfiguredDateTimeZone)
Obtains the calendar events from the adapter and returns timezone-adjusted events within the
requested interval.
|
protected org.joda.time.format.DateTimeFormatter |
getTimeFormatter(Locale locale,
org.joda.time.DateTimeZone timezone) |
void |
setCache(net.sf.ehcache.Cache cache) |
void |
setMessageSource(org.springframework.context.MessageSource messageSource)
Setter of attribute messageSource.
|
public void setCache(net.sf.ehcache.Cache cache)
cache - the cache to setpublic void setMessageSource(org.springframework.context.MessageSource messageSource)
messageSource - the attribute messageSource to setpublic net.fortuna.ical4j.model.Calendar getCalendar(ICalendarAdapter adapter, CalendarConfiguration calendarConfig, org.joda.time.Interval interval, javax.portlet.PortletRequest request)
public Set<CalendarDisplayEvent> getEvents(ICalendarAdapter adapter, CalendarConfiguration calendar, org.joda.time.Interval interval, javax.portlet.PortletRequest request, org.joda.time.DateTimeZone usersConfiguredDateTimeZone)
adapter - Adapter to invoke to obtain the calendar eventscalendar - Per-user Calendar configurationinterval - Interval to return events forrequest - Portlet requestusersConfiguredDateTimeZone - Timezone to adjust the calendar events to (typically the
user's timezone)protected Set<CalendarDisplayEvent> getDisplayEvents(net.fortuna.ical4j.model.component.VEvent e, org.joda.time.Interval interval, Locale locale, org.joda.time.DateTimeZone usersConfiguredDateTimeZone) throws IOException, URISyntaxException, ParseException
e - interval - usersConfiguredDateTimeZone - IOExceptionURISyntaxExceptionParseExceptionprotected org.joda.time.format.DateTimeFormatter getDateFormatter(Locale locale, org.joda.time.DateTimeZone timezone)
protected org.joda.time.format.DateTimeFormatter getTimeFormatter(Locale locale, org.joda.time.DateTimeZone timezone)
Copyright © 2018 Apereo. All Rights Reserved.