microsoft.exchange.webservices.data
Class AttendeeAvailability

java.lang.Object
  extended by microsoft.exchange.webservices.data.ServiceResponse
      extended by microsoft.exchange.webservices.data.AttendeeAvailability

public final class AttendeeAvailability
extends ServiceResponse

Represents the availability of an individual attendee.


Constructor Summary
protected AttendeeAvailability()
          Initializes a new instance of the AttendeeAvailability class.
 
Method Summary
 java.util.Collection<CalendarEvent> getCalendarEvents()
          Gets a collection of calendar events for the attendee.
 java.util.Collection<LegacyFreeBusyStatus> getMergedFreeBusyStatus()
          Gets a collection of merged free/busy status for the attendee.
 FreeBusyViewType getViewType()
          Gets the free/busy view type that wes retrieved for the attendee.
 WorkingHours getWorkingHours()
          Gets the working hours of the attendee.
protected  void loadFreeBusyViewFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, FreeBusyViewType viewType)
          Loads the free busy view from XML.
 
Methods inherited from class microsoft.exchange.webservices.data.ServiceResponse
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, readElementsFromXml, setErrorMessage, throwIfNecessary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttendeeAvailability

protected AttendeeAvailability()
Initializes a new instance of the AttendeeAvailability class.

Method Detail

loadFreeBusyViewFromXml

protected void loadFreeBusyViewFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
                                       FreeBusyViewType viewType)
                                throws java.lang.Exception
Loads the free busy view from XML.

Parameters:
reader - the reader
viewType - the view type
Throws:
java.lang.Exception - the exception

getCalendarEvents

public java.util.Collection<CalendarEvent> getCalendarEvents()
Gets a collection of calendar events for the attendee.

Returns:
the calendar events

getMergedFreeBusyStatus

public java.util.Collection<LegacyFreeBusyStatus> getMergedFreeBusyStatus()
Gets a collection of merged free/busy status for the attendee.

Returns:
the merged free busy status

getViewType

public FreeBusyViewType getViewType()
Gets the free/busy view type that wes retrieved for the attendee.

Returns:
the view type

getWorkingHours

public WorkingHours getWorkingHours()
Gets the working hours of the attendee.

Returns:
the working hours