|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.calendar.adapter.AbstractCalendarAdapter
org.jasig.portlet.calendar.adapter.ExchangeCalendarAdapter
public class ExchangeCalendarAdapter
Queries Exchange Web Services API for calendar events.
| Field Summary | |
|---|---|
protected static String |
AVAILABILITY_SOAP_ACTION
|
protected org.apache.commons.logging.Log |
log
|
protected static String |
UTC
|
| Constructor Summary | |
|---|---|
ExchangeCalendarAdapter()
|
|
| Method Summary | |
|---|---|
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. |
String |
getLink(CalendarConfiguration calendar,
org.joda.time.Interval interval,
javax.portlet.PortletRequest request)
Get hyper link for the defined calendar. |
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 |
setWebServiceOperations(org.springframework.ws.client.core.WebServiceOperations webServiceOperations)
|
| Methods inherited from class org.jasig.portlet.calendar.adapter.AbstractCalendarAdapter |
|---|
getDescriptionKey, getParameters, getTitleKey, setDescriptionKey, setParameters, setTitleKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jasig.portlet.calendar.adapter.ICalendarAdapter |
|---|
getDescriptionKey, getParameters, getTitleKey |
| Field Detail |
|---|
protected static final String AVAILABILITY_SOAP_ACTION
protected static final String UTC
protected final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public ExchangeCalendarAdapter()
| Method Detail |
|---|
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 CalendarEventSet getEvents(CalendarConfiguration calendarConfiguration,
org.joda.time.Interval interval,
javax.portlet.PortletRequest request)
throws CalendarException
ICalendarAdapter
getEvents in interface ICalendarAdaptercalendarConfiguration - calendar configuration for which to retrieve eventsrequest - user's portlet request
CalendarException
public Set<net.fortuna.ical4j.model.component.VEvent> retrieveExchangeEvents(CalendarConfiguration calendar,
org.joda.time.Interval interval,
String emailAddress)
throws CalendarException
calendar - period - emailAddress -
CalendarException
public String getLink(CalendarConfiguration calendar,
org.joda.time.Interval interval,
javax.portlet.PortletRequest request)
throws CalendarLinkException
ICalendarAdapter
getLink in interface ICalendarAdaptercalendar - calendar configuration for which to retrieve eventsrequest - user's servlet request
CalendarLinkException
protected GetUserAvailabilityRequest getAvailabilityRequest(org.joda.time.Interval interval,
String emailAddress)
throws DatatypeConfigurationException
DatatypeConfigurationException
protected net.fortuna.ical4j.model.component.VEvent getInternalEvent(long calendarId,
CalendarEvent msEvent)
throws DatatypeConfigurationException
calendarId - msEvent -
DatatypeConfigurationException
protected XMLGregorianCalendar getXmlDate(org.joda.time.DateTime date)
throws DatatypeConfigurationException
date -
DatatypeConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||