|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<GetUserAvailabilityResults>
microsoft.exchange.webservices.data.core.request.GetUserAvailabilityRequest
public final class GetUserAvailabilityRequest
Represents a GetUserAvailability request.
| Constructor Summary | |
|---|---|
GetUserAvailabilityRequest(ExchangeService service)
Initializes a new instance of the "GetUserAvailabilityRequest" class. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase |
|---|
beginExecute, endInternalExecute, internalExecute |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.ServiceRequestBase |
|---|
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetUserAvailabilityRequest(ExchangeService service)
throws Exception
service - the service
Exception| Method Detail |
|---|
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 exception
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ServiceRequestBase<GetUserAvailabilityResults>writer - the writer
Exception - 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 options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||