microsoft.exchange.webservices.data.autodiscover.request
Class GetDomainSettingsRequest

java.lang.Object
  extended by microsoft.exchange.webservices.data.autodiscover.request.AutodiscoverRequest
      extended by microsoft.exchange.webservices.data.autodiscover.request.GetDomainSettingsRequest

public class GetDomainSettingsRequest
extends AutodiscoverRequest

Represents a GetDomainSettings request.


Constructor Summary
GetDomainSettingsRequest(AutodiscoverService service, URI url)
          Initializes a new instance of the GetDomainSettingsRequest class.
 
Method Summary
protected  AutodiscoverResponse createServiceResponse()
          Creates the service response.
 GetDomainSettingsResponseCollection execute()
          Executes this instance.
protected  List<String> getDomains()
          Gets the domains.
protected  ExchangeVersion getRequestedVersion()
          Gets or sets the requestedVersion.
protected  String getRequestXmlElementName()
          Gets the name of the request XML element.
protected  String getResponseXmlElementName()
          Gets the name of the response XML element.
protected  List<DomainSettingName> getSettings()
          Gets or sets the settings.
protected  String getWsAddressingActionName()
          Gets the WS-Addressing action name.
 void setDomains(List<String> value)
          Sets the domains.
 void setRequestedVersion(ExchangeVersion value)
          Sets the requestedVersion.
 void setSettings(List<DomainSettingName> value)
          Sets the settings.
protected  void validate()
          Validates the request.
protected  void writeAttributesToXml(EwsServiceXmlWriter writer)
          Writes the attribute to XML.
protected  void writeElementsToXml(EwsServiceXmlWriter writer)
          Writes request to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.autodiscover.request.AutodiscoverRequest
getResponseStream, getService, getUrl, internalExecute, isRedirectionResponse, loadFromXml, readSoapBody, readSoapHeader, readSoapHeaders, writeBodyToXml, writeExtraCustomSoapHeadersToXml, writeSoapRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetDomainSettingsRequest

public GetDomainSettingsRequest(AutodiscoverService service,
                                URI url)
Initializes a new instance of the GetDomainSettingsRequest class.

Parameters:
service - the service
url - the url
Method Detail

validate

protected void validate()
                 throws Exception
Validates the request.

Overrides:
validate in class AutodiscoverRequest
Throws:
Exception - the exception

execute

public GetDomainSettingsResponseCollection execute()
                                            throws Exception
Executes this instance.

Returns:
the gets the domain settings response collection
Throws:
Exception - the exception

getRequestXmlElementName

protected String getRequestXmlElementName()
Gets the name of the request XML element.

Specified by:
getRequestXmlElementName in class AutodiscoverRequest
Returns:
Request XML element name.

getResponseXmlElementName

protected String getResponseXmlElementName()
Gets the name of the response XML element.

Specified by:
getResponseXmlElementName in class AutodiscoverRequest
Returns:
Response XML element name.

getWsAddressingActionName

protected String getWsAddressingActionName()
Gets the WS-Addressing action name.

Specified by:
getWsAddressingActionName in class AutodiscoverRequest
Returns:
WS-Addressing action name.

createServiceResponse

protected AutodiscoverResponse createServiceResponse()
Creates the service response.

Specified by:
createServiceResponse in class AutodiscoverRequest
Returns:
AutodiscoverResponse

writeAttributesToXml

protected void writeAttributesToXml(EwsServiceXmlWriter writer)
                             throws ServiceXmlSerializationException
Writes the attribute to XML.

Specified by:
writeAttributesToXml in class AutodiscoverRequest
Parameters:
writer - The writer.
Throws:
ServiceXmlSerializationException - the service xml serialization exception

writeElementsToXml

protected void writeElementsToXml(EwsServiceXmlWriter writer)
                           throws XMLStreamException,
                                  ServiceXmlSerializationException
Writes request to XML.

Specified by:
writeElementsToXml in class AutodiscoverRequest
Parameters:
writer - the writer
Throws:
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception

getDomains

protected List<String> getDomains()
Gets the domains.

Returns:
the domains

setDomains

public void setDomains(List<String> value)
Sets the domains.

Parameters:
value - the new domains

getSettings

protected List<DomainSettingName> getSettings()
Gets or sets the settings.

Returns:
the settings

setSettings

public void setSettings(List<DomainSettingName> value)
Sets the settings.

Parameters:
value - the new settings

getRequestedVersion

protected ExchangeVersion getRequestedVersion()
Gets or sets the requestedVersion.

Returns:
the requestedVersion

setRequestedVersion

public void setRequestedVersion(ExchangeVersion value)
Sets the requestedVersion.

Parameters:
value - the new requestedVersion


Copyright © 2012–2015 Microsoft. All rights reserved.