Class GetRoomsRequest
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
-
- microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<GetRoomsResponse>
-
- microsoft.exchange.webservices.data.core.request.GetRoomsRequest
-
public final class GetRoomsRequest extends SimpleServiceRequestBase<GetRoomsResponse>
Represents a GetRooms request.
-
-
Constructor Summary
Constructors Constructor Description GetRoomsRequest(ExchangeService service)Represents a GetRooms request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetRoomsResponseexecute()Executes this request.protected ExchangeVersiongetMinimumRequiredServerVersion()Gets the request version.protected StringgetResponseXmlElementName()Gets the name of the response XML element.protected EmailAddressgetRoomList()Gets the room list to retrieve rooms from.StringgetXmlElementName()Gets the name of the XML element.protected GetRoomsResponseparseResponse(EwsServiceXmlReader reader)Parses the response.voidsetRoomList(EmailAddress value)Sets the room list.protected voidwriteElementsToXml(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, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
-
-
-
-
Constructor Detail
-
GetRoomsRequest
public GetRoomsRequest(ExchangeService service) throws Exception
Represents a GetRooms request.- Parameters:
service- the service- Throws:
Exception
-
-
Method Detail
-
getXmlElementName
public String getXmlElementName()
Gets the name of the XML element.- Specified by:
getXmlElementNamein classServiceRequestBase<GetRoomsResponse>- Returns:
- XML element name
-
writeElementsToXml
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Writes XML elements.- Specified by:
writeElementsToXmlin classServiceRequestBase<GetRoomsResponse>- Parameters:
writer- the writer- Throws:
Exception- the exception
-
getResponseXmlElementName
protected String getResponseXmlElementName()
Gets the name of the response XML element.- Specified by:
getResponseXmlElementNamein classServiceRequestBase<GetRoomsResponse>- Returns:
- XML element name.
-
parseResponse
protected GetRoomsResponse parseResponse(EwsServiceXmlReader reader) throws Exception
Parses the response.- Specified by:
parseResponsein classServiceRequestBase<GetRoomsResponse>- Parameters:
reader- The reader.- Returns:
- the Response Object.
- Throws:
Exception- the exception
-
getMinimumRequiredServerVersion
protected ExchangeVersion getMinimumRequiredServerVersion()
Gets the request version.- Specified by:
getMinimumRequiredServerVersionin classServiceRequestBase<GetRoomsResponse>- Returns:
- Earliest Exchange version in which this request is supported.
-
execute
public GetRoomsResponse execute() throws Exception
Executes this request.- Returns:
- Service response.
- Throws:
Exception- the exception
-
getRoomList
protected EmailAddress getRoomList()
Gets the room list to retrieve rooms from.- Returns:
- the room list
-
setRoomList
public void setRoomList(EmailAddress value)
Sets the room list.- Parameters:
value- the new room list
-
-