public class GetUserConfigurationRequest extends MultiResponseServiceRequest<GetUserConfigurationResponse>
Constructor and Description |
---|
GetUserConfigurationRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected GetUserConfigurationResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getName()
Gets the name.
|
protected FolderId |
getParentFolderId()
Gets the parent folder Id.
|
protected EnumSet<UserConfigurationProperties> |
getProperties()
Gets the property.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
protected UserConfiguration |
getUserConfiguration()
Gets the user configuration.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setName(String name)
Sets the name.
|
void |
setParentFolderId(FolderId parentFolderId)
Sets the parent folder id.
|
void |
setProperties(EnumSet<UserConfigurationProperties> properties)
Sets the property.
|
void |
setUserConfiguration(UserConfiguration userConfiguration)
Sets the user configuration.
|
protected void |
validate()
Validate request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public GetUserConfigurationRequest(ExchangeService service) throws Exception
service
- the serviceException
protected void validate() throws ServiceLocalException, Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<GetUserConfigurationResponse>>
ServiceLocalException
- the service local exceptionException
- the exceptionprotected GetUserConfigurationResponse createServiceResponse(ExchangeService service, int responseIndex) throws Exception
createServiceResponse
in class MultiResponseServiceRequest<GetUserConfigurationResponse>
service
- the serviceresponseIndex
- the response indexException
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<GetUserConfigurationResponse>>
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<GetUserConfigurationResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<GetUserConfigurationResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<GetUserConfigurationResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<GetUserConfigurationResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<GetUserConfigurationResponse>>
writer
- the writerException
- the exceptionprotected FolderId getParentFolderId()
public void setParentFolderId(FolderId parentFolderId)
parentFolderId
- the new parent folder idprotected UserConfiguration getUserConfiguration()
public void setUserConfiguration(UserConfiguration userConfiguration)
userConfiguration
- the new user configurationprotected EnumSet<UserConfigurationProperties> getProperties()
public void setProperties(EnumSet<UserConfigurationProperties> properties)
properties
- the new propertyCopyright © 2012–2015 Microsoft. All rights reserved.