microsoft.exchange.webservices.data.autodiscover.configuration.outlook
Class OutlookConfigurationSettings

java.lang.Object
  extended by microsoft.exchange.webservices.data.autodiscover.configuration.ConfigurationSettingsBase
      extended by microsoft.exchange.webservices.data.autodiscover.configuration.outlook.OutlookConfigurationSettings

public final class OutlookConfigurationSettings
extends ConfigurationSettingsBase

Represents Outlook configuration settings.


Constructor Summary
OutlookConfigurationSettings()
          Initializes a new instance of the OutlookConfigurationSettings class.
 
Method Summary
 GetUserSettingsResponse convertSettings(String smtpAddress, List<UserSettingName> requestedSettings)
          Convert OutlookConfigurationSettings to GetUserSettings response.
 String getNamespace()
          Gets the namespace that defines the settings.
 String getRedirectTarget()
          Gets the redirect target.
 AutodiscoverResponseType getResponseType()
          Gets the type of the response.
protected static boolean isAvailableUserSetting(UserSettingName setting)
          Determines whether user setting is available in the OutlookConfiguration or not.
 void makeRedirectionResponse(URI redirectUrl)
          Makes this instance a redirection response.
 boolean tryReadCurrentXmlElement(EwsXmlReader reader)
          Tries to read the current XML element.
 
Methods inherited from class microsoft.exchange.webservices.data.autodiscover.configuration.ConfigurationSettingsBase
getError, loadFromXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutlookConfigurationSettings

public OutlookConfigurationSettings()
Initializes a new instance of the OutlookConfigurationSettings class.

Method Detail

isAvailableUserSetting

protected static boolean isAvailableUserSetting(UserSettingName setting)
Determines whether user setting is available in the OutlookConfiguration or not.

Parameters:
setting - The setting.
Returns:
True if user setting is available, otherwise, false.

getNamespace

public String getNamespace()
Gets the namespace that defines the settings.

Specified by:
getNamespace in class ConfigurationSettingsBase
Returns:
The namespace that defines the settings.

makeRedirectionResponse

public void makeRedirectionResponse(URI redirectUrl)
Makes this instance a redirection response.

Specified by:
makeRedirectionResponse in class ConfigurationSettingsBase
Parameters:
redirectUrl - The redirect URL.

tryReadCurrentXmlElement

public boolean tryReadCurrentXmlElement(EwsXmlReader reader)
                                 throws Exception
Tries to read the current XML element.

Overrides:
tryReadCurrentXmlElement in class ConfigurationSettingsBase
Parameters:
reader - the reader
Returns:
true is the current element was read, false otherwise
Throws:
Exception - the exception

convertSettings

public GetUserSettingsResponse convertSettings(String smtpAddress,
                                               List<UserSettingName> requestedSettings)
Convert OutlookConfigurationSettings to GetUserSettings response.

Specified by:
convertSettings in class ConfigurationSettingsBase
Parameters:
smtpAddress - SMTP address requested.
requestedSettings - The requested settings.
Returns:
GetUserSettingsResponse

getResponseType

public AutodiscoverResponseType getResponseType()
Gets the type of the response.

Specified by:
getResponseType in class ConfigurationSettingsBase
Returns:
The type of the response.

getRedirectTarget

public String getRedirectTarget()
Gets the redirect target.

Specified by:
getRedirectTarget in class ConfigurationSettingsBase
Returns:
String the redirect target.


Copyright © 2012–2015 Microsoft. All rights reserved.