|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(net.fortuna.ical4j.model.Period period,
String emailAddress)
|
CalendarEventSet |
getEvents(CalendarConfiguration calendarConfiguration,
net.fortuna.ical4j.model.Period period,
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,
net.fortuna.ical4j.model.Period period,
javax.portlet.PortletRequest request)
Get hyper link for the defined calendar. |
protected XMLGregorianCalendar |
getXmlDate(net.fortuna.ical4j.model.Date date)
Get an XMLGregorianCalendar for the specified date. |
Set<net.fortuna.ical4j.model.component.VEvent> |
retrieveExchangeEvents(CalendarConfiguration calendar,
net.fortuna.ical4j.model.Period period,
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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,
net.fortuna.ical4j.model.Period period,
javax.portlet.PortletRequest request)
throws CalendarException
ICalendarAdapter
getEvents in interface ICalendarAdaptercalendarConfiguration - calendar configuration for which to retrieve eventsperiod - time period for which to retrieve eventsrequest - user's portlet request
CalendarException
public Set<net.fortuna.ical4j.model.component.VEvent> retrieveExchangeEvents(CalendarConfiguration calendar,
net.fortuna.ical4j.model.Period period,
String emailAddress)
throws CalendarException
calendar - period - emailAddress -
CalendarException
public String getLink(CalendarConfiguration calendar,
net.fortuna.ical4j.model.Period period,
javax.portlet.PortletRequest request)
throws CalendarLinkException
ICalendarAdapter
getLink in interface ICalendarAdaptercalendar - calendar configuration for which to retrieve eventsperiod - time period for which to retrieve eventsrequest - user's servlet request
CalendarLinkException
protected GetUserAvailabilityRequest getAvailabilityRequest(net.fortuna.ical4j.model.Period period,
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(net.fortuna.ical4j.model.Date date)
throws DatatypeConfigurationException
date -
DatatypeConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||