public class ExchangeCalendarAdapter extends AbstractCalendarAdapter implements ICalendarAdapter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AVAILABILITY_SOAP_ACTION |
protected org.slf4j.Logger |
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.
|
void |
setCache(net.sf.ehcache.Cache cache)
Sets the cache to use for caching calendar events
|
void |
setCacheKeyGenerator(ICacheKeyGenerator cacheKeyGenerator)
Sets the cache key generator to use.
|
void |
setCacheKeyPrefix(String cacheKeyPrefix)
Sets the cache key prefix to use for this adapter.
|
void |
setCredentialsService(IExchangeCredentialsInitializationService credentialsService)
Set the Exchange Credentials service for interacting with credentials information.
|
void |
setEmailAttribute(String emailAttribute) |
void |
setRequestServerVersion(String requestServerVersion)
Sets the minimum Exchange Web Services messaging version required.
|
void |
setWebServiceOperations(org.springframework.ws.client.core.WebServiceOperations webServiceOperations)
Set the Spring WebService operations object to allow making Web Services calls.
|
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.slf4j.Logger log
public void setWebServiceOperations(org.springframework.ws.client.core.WebServiceOperations webServiceOperations)
webServiceOperations - Spring WebService operations objectpublic void setCredentialsService(IExchangeCredentialsInitializationService credentialsService)
credentialsService - Exchange Credentials servicepublic void setCache(net.sf.ehcache.Cache cache)
cache - cache to usepublic void setCacheKeyGenerator(ICacheKeyGenerator cacheKeyGenerator)
DefaultCacheKeyGeneratorImplcacheKeyGenerator - public void setCacheKeyPrefix(String cacheKeyPrefix)
cacheKeyPrefix - cache key prefix to usepublic void setEmailAttribute(String emailAttribute)
public void setRequestServerVersion(String requestServerVersion)
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 requestCalendarExceptionprotected 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 © 2017 Apereo. All Rights Reserved.