public final class ResolveNamesRequest extends MultiResponseServiceRequest<ResolveNamesResponse>
Constructor and Description |
---|
ResolveNamesRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected ResolveNamesResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
PropertySet |
getContactDataPropertySet()
Gets or sets the PropertySet for Contact Data
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
String |
getNameToResolve()
Gets the name to resolve.
|
FolderIdWrapperList |
getParentFolderIds()
Gets the parent folder ids.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
boolean |
getReturnFullContactData()
Gets a value indicating whether to return full contact data or not.
|
ResolveNameSearchLocation |
getSearchLocation()
Gets the search location.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setContactDataPropertySet(PropertySet propertySet)
Gets or sets the PropertySet for Contact Data
The PropertySet
|
void |
setNameToResolve(String nameToResolve)
Sets the name to resolve.
|
void |
setReturnFullContactData(boolean returnFullContactData)
Sets the return full contact data.
|
void |
setSearchLocation(ResolveNameSearchLocation searchLocation)
Sets the search location.
|
protected void |
validate()
Asserts the valid.
|
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeBodyToXml, writeToXml
public ResolveNamesRequest(ExchangeService service) throws Exception
service
- the serviceException
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<ResolveNamesResponse>>
Exception
- the exceptionprotected ResolveNamesResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<ResolveNamesResponse>
service
- the serviceresponseIndex
- the response indexpublic String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ResolveNamesResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ResolveNamesResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<ResolveNamesResponse>
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<ResolveNamesResponse>
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ServiceRequestBase<ServiceResponseCollection<ResolveNamesResponse>>
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<ResolveNamesResponse>>
writer
- the writerException
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<ResolveNamesResponse>>
public String getNameToResolve()
public void setNameToResolve(String nameToResolve)
nameToResolve
- the new name to resolvepublic boolean getReturnFullContactData()
public void setReturnFullContactData(boolean returnFullContactData)
returnFullContactData
- the new return full contact datapublic ResolveNameSearchLocation getSearchLocation()
public void setSearchLocation(ResolveNameSearchLocation searchLocation)
searchLocation
- the new search locationpublic FolderIdWrapperList getParentFolderIds()
public void setContactDataPropertySet(PropertySet propertySet)
public PropertySet getContactDataPropertySet()
Copyright © 2012–2015 Microsoft. All rights reserved.