Class FindConversationRequest
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
-
- microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<FindConversationResponse>
-
- microsoft.exchange.webservices.data.core.request.FindConversationRequest
-
public final class FindConversationRequest extends SimpleServiceRequestBase<FindConversationResponse>
Represents a request to a Find Conversation operation
-
-
Constructor Summary
Constructors Constructor Description FindConversationRequest(ExchangeService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FindConversationResponseexecute()Executes this request.protected SearchFilter.IsEqualTogetConversationViewFilter()Gets or sets the search filter.protected FolderIdWrappergetFolderId()Gets or sets folder idprotected ConversationIndexedItemViewgetIndexedItemView()Gets or sets the view controlling the number of conversations returned.protected ExchangeVersiongetMinimumRequiredServerVersion()Gets the request version.protected StringgetResponseXmlElementName()Gets the name of the response XML element.StringgetXmlElementName()Gets the name of the XML element.protected FindConversationResponseparseResponse(EwsServiceXmlReader reader)Parses the response.voidsetConversationViewFilter(SearchFilter.IsEqualTo value)voidsetFolderId(FolderIdWrapper value)voidsetIndexedItemView(ConversationIndexedItemView value)protected voidvalidate()Validate request.protected voidwriteAttributesToXml(EwsServiceXmlWriter writer)Writes XML attribute.protected voidwriteElementsToXml(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
-
-
-
-
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:
validatein classServiceRequestBase<FindConversationResponse>- Throws:
ExceptionServiceLocalException
-
writeAttributesToXml
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes XML attribute.- Overrides:
writeAttributesToXmlin classServiceRequestBase<FindConversationResponse>- Parameters:
writer- The writer.- Throws:
ServiceXmlSerializationException
-
writeElementsToXml
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Writes XML attribute.- Specified by:
writeElementsToXmlin classServiceRequestBase<FindConversationResponse>- Parameters:
writer- The writer.- Throws:
Exception
-
parseResponse
protected FindConversationResponse parseResponse(EwsServiceXmlReader reader) throws Exception
Parses the response.- Specified by:
parseResponsein classServiceRequestBase<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:
getXmlElementNamein classServiceRequestBase<FindConversationResponse>- Returns:
- XML element name.
-
getResponseXmlElementName
protected String getResponseXmlElementName()
Gets the name of the response XML element.- Specified by:
getResponseXmlElementNamein classServiceRequestBase<FindConversationResponse>- Returns:
- XML element name.
-
getMinimumRequiredServerVersion
protected ExchangeVersion getMinimumRequiredServerVersion()
Gets the request version.- Specified by:
getMinimumRequiredServerVersionin classServiceRequestBase<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:
ExceptionServiceLocalException
-
-