public class ExchangeCalendarAdapter extends AbstractCalendarAdapter implements ICalendarAdapter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AVAILABILITY_SOAP_ACTION |
protected org.apache.commons.logging.Log |
log |
protected static String |
UTC |
| Constructor and Description |
|---|
ExchangeCalendarAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected GetUserAvailabilityRequest |
getAvailabilityRequest(org.joda.time.Interval interval,
String emailAddress) |
CalendarEventSet |
getEvents(CalendarConfiguration calendarConfiguration,
org.joda.time.Interval interval,
javax.portlet.PortletRequest request)
Get events for the defined calendar and time period.
|
protected net.fortuna.ical4j.model.component.VEvent |
getInternalEvent(long calendarId,
CalendarEvent msEvent)
Return an internal API CalendarEvent for an Microsoft CalendarEvent object.
|
protected XMLGregorianCalendar |
getXmlDate(org.joda.time.DateTime date)
Get an XMLGregorianCalendar for the specified date.
|
Set<net.fortuna.ical4j.model.component.VEvent> |
retrieveExchangeEvents(CalendarConfiguration calendar,
org.joda.time.Interval interval,
String emailAddress)
Retrieve a set of CalendarEvents from the Exchange server for the specified
period and email address.
|
void |
setCache(net.sf.ehcache.Cache cache) |
void |
setCacheKeyGenerator(ICacheKeyGenerator cacheKeyGenerator) |
void |
setCacheKeyPrefix(String cacheKeyPrefix) |
void |
setEmailAttribute(String emailAttribute) |
void |
setRequestServerVersion(String requestServerVersion) |
void |
setWebServiceOperations(org.springframework.ws.client.core.WebServiceOperations webServiceOperations) |
getDescriptionKey, getLink, getParameters, getTitleKey, insertCalendarEventSetIntoCache, insertCalendarEventSetIntoCache, setDescriptionKey, setParameters, setTitleKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionKey, getLink, getParameters, getTitleKeyprotected static final String AVAILABILITY_SOAP_ACTION
protected static final String UTC
protected final org.apache.commons.logging.Log log
public void setWebServiceOperations(org.springframework.ws.client.core.WebServiceOperations webServiceOperations)
public void setCache(net.sf.ehcache.Cache cache)
public void setCacheKeyGenerator(ICacheKeyGenerator cacheKeyGenerator)
public void setCacheKeyPrefix(String cacheKeyPrefix)
public void setEmailAttribute(String emailAttribute)
public void setRequestServerVersion(String requestServerVersion)
public CalendarEventSet getEvents(CalendarConfiguration calendarConfiguration, org.joda.time.Interval interval, javax.portlet.PortletRequest request) throws CalendarException
ICalendarAdaptergetEvents in interface ICalendarAdaptercalendarConfiguration - calendar configuration for which to retrieve eventsinterval - time period for which to retrieve eventsrequest - user's portlet requestCalendarExceptionpublic Set<net.fortuna.ical4j.model.component.VEvent> retrieveExchangeEvents(CalendarConfiguration calendar, org.joda.time.Interval interval, String emailAddress) throws CalendarException
calendar - interval - emailAddress - CalendarExceptionprotected GetUserAvailabilityRequest getAvailabilityRequest(org.joda.time.Interval interval, String emailAddress) throws DatatypeConfigurationException
DatatypeConfigurationExceptionprotected net.fortuna.ical4j.model.component.VEvent getInternalEvent(long calendarId,
CalendarEvent msEvent)
throws DatatypeConfigurationException
calendarId - msEvent - DatatypeConfigurationExceptionprotected XMLGregorianCalendar getXmlDate(org.joda.time.DateTime date) throws DatatypeConfigurationException
date - DatatypeConfigurationExceptionCopyright © 2014 Jasig. All Rights Reserved.