public final class GetUserAvailabilityRequest extends SimpleServiceRequestBase<GetUserAvailabilityResults>
Constructor and Description |
---|
GetUserAvailabilityRequest(ExchangeService service)
Initializes a new instance of the "GetUserAvailabilityRequest" class.
|
Modifier and Type | Method and Description |
---|---|
GetUserAvailabilityResults |
execute()
Executes this request.
|
Iterable<AttendeeInfo> |
getAttendees()
Gets the attendees.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
AvailabilityOptions |
getOptions()
Gets an object that allows you to specify options controlling the
information returned by the GetUserAvailability request.
|
AvailabilityData |
getRequestedData()
Gets a value indicating what data is requested (free/busy and/or
suggestions).
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
TimeWindow |
getTimeWindow()
Gets the time window in which to retrieve user availability
information.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
boolean |
isFreeBusyViewRequested()
Gets a value indicating whether free/busy data is requested.
|
boolean |
isSuggestionsViewRequested()
Gets a value indicating whether suggestions are requested.
|
protected GetUserAvailabilityResults |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setAttendees(Iterable<AttendeeInfo> attendees)
Sets the attendees.
|
void |
setOptions(AvailabilityOptions options)
Sets the options.
|
void |
setRequestedData(AvailabilityData requestedData)
Sets the requested data.
|
void |
setTimeWindow(TimeWindow timeWindow)
Sets the time window.
|
protected void |
validate()
Validate request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public GetUserAvailabilityRequest(ExchangeService service) throws Exception
service
- the serviceException
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<GetUserAvailabilityResults>
public boolean isFreeBusyViewRequested()
public boolean isSuggestionsViewRequested()
protected void validate() throws Exception
validate
in class ServiceRequestBase<GetUserAvailabilityResults>
Exception
- the exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<GetUserAvailabilityResults>
writer
- the writerException
- the exceptionprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<GetUserAvailabilityResults>
protected GetUserAvailabilityResults parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<GetUserAvailabilityResults>
reader
- The reader.Exception
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<GetUserAvailabilityResults>
public GetUserAvailabilityResults execute() throws Exception
Exception
- the exceptionpublic Iterable<AttendeeInfo> getAttendees()
public void setAttendees(Iterable<AttendeeInfo> attendees)
attendees
- the new attendeespublic TimeWindow getTimeWindow()
public void setTimeWindow(TimeWindow timeWindow)
timeWindow
- the new time windowpublic AvailabilityData getRequestedData()
public void setRequestedData(AvailabilityData requestedData)
requestedData
- the new requested datapublic AvailabilityOptions getOptions()
public void setOptions(AvailabilityOptions options)
options
- the new optionsCopyright © 2012–2015 Microsoft. All rights reserved.