microsoft.exchange.webservices.data.core.request
Class FindConversationRequest

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
      extended by microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<FindConversationResponse>
          extended by microsoft.exchange.webservices.data.core.request.FindConversationRequest

public final class FindConversationRequest
extends SimpleServiceRequestBase<FindConversationResponse>

Represents a request to a Find Conversation operation


Constructor Summary
FindConversationRequest(ExchangeService service)
           
 
Method Summary
 FindConversationResponse execute()
          Executes this request.
protected  SearchFilter.IsEqualTo getConversationViewFilter()
          Gets or sets the search filter.
protected  FolderIdWrapper getFolderId()
          Gets or sets folder id
protected  ConversationIndexedItemView getIndexedItemView()
          Gets or sets the view controlling the number of conversations returned.
protected  ExchangeVersion getMinimumRequiredServerVersion()
          Gets the request version.
protected  String getResponseXmlElementName()
          Gets the name of the response XML element.
 String getXmlElementName()
          Gets the name of the XML element.
protected  FindConversationResponse parseResponse(EwsServiceXmlReader reader)
          Parses the response.
 void setConversationViewFilter(SearchFilter.IsEqualTo value)
           
 void setFolderId(FolderIdWrapper value)
           
 void setIndexedItemView(ConversationIndexedItemView value)
           
protected  void validate()
          Validate request.
protected  void writeAttributesToXml(EwsServiceXmlWriter writer)
          Writes XML attribute.
protected  void writeElementsToXml(EwsServiceXmlWriter writer)
          Writes XML attribute.
 
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, validateAndEmitRequest, writeBodyToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindConversationRequest

public FindConversationRequest(ExchangeService service)
                        throws Exception
Throws:
Exception
Method Detail

getIndexedItemView

protected ConversationIndexedItemView getIndexedItemView()
Gets or sets the view controlling the number of conversations returned.


setIndexedItemView

public void setIndexedItemView(ConversationIndexedItemView value)

getConversationViewFilter

protected SearchFilter.IsEqualTo getConversationViewFilter()
Gets or sets the search filter.


setConversationViewFilter

public void setConversationViewFilter(SearchFilter.IsEqualTo value)

getFolderId

protected FolderIdWrapper getFolderId()
Gets or sets folder id


setFolderId

public void setFolderId(FolderIdWrapper value)

validate

protected void validate()
                 throws ServiceLocalException,
                        Exception
Validate request.

Overrides:
validate in class ServiceRequestBase<FindConversationResponse>
Throws:
Exception
ServiceLocalException

writeAttributesToXml

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

Overrides:
writeAttributesToXml in class ServiceRequestBase<FindConversationResponse>
Parameters:
writer - The writer.
Throws:
ServiceXmlSerializationException

writeElementsToXml

protected void writeElementsToXml(EwsServiceXmlWriter writer)
                           throws Exception
Writes XML attribute.

Specified by:
writeElementsToXml in class ServiceRequestBase<FindConversationResponse>
Parameters:
writer - The writer.
Throws:
Exception

parseResponse

protected FindConversationResponse parseResponse(EwsServiceXmlReader reader)
                                          throws Exception
Parses the response.

Specified by:
parseResponse in class ServiceRequestBase<FindConversationResponse>
Parameters:
reader - The reader.
Returns:
the Response Object.
Throws:
Exception - the exception

getXmlElementName

public String getXmlElementName()
Gets the name of the XML element.

Specified by:
getXmlElementName in class ServiceRequestBase<FindConversationResponse>
Returns:
XML element name.

getResponseXmlElementName

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

Specified by:
getResponseXmlElementName in class ServiceRequestBase<FindConversationResponse>
Returns:
XML element name.

getMinimumRequiredServerVersion

protected ExchangeVersion getMinimumRequiredServerVersion()
Gets the request version.

Specified by:
getMinimumRequiredServerVersion in class ServiceRequestBase<FindConversationResponse>
Returns:
Earliest Exchange version in which this request is supported.

execute

public FindConversationResponse execute()
                                 throws ServiceLocalException,
                                        Exception
Executes this request.

Returns:
Service response.
Throws:
Exception
ServiceLocalException


Copyright © 2012–2015 Microsoft. All rights reserved.