TResponse
- The type of the response.public abstract class MoveCopyItemRequest<TResponse extends ServiceResponse> extends MultiResponseServiceRequest<TResponse>
Modifier | Constructor and Description |
---|---|
protected |
MoveCopyItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
FolderId |
getDestinationFolderId()
Gets the destination folder id.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
ItemIdWrapperList |
getItemIds()
Gets the item ids.
|
protected Boolean |
getReturnNewItemIds() |
void |
setDestinationFolderId(FolderId destinationFolderId)
Sets the destination folder id.
|
void |
setReturnNewItemIds(Boolean value) |
void |
validate()
Validates request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
protected void |
writeIdsToXml(EwsServiceXmlWriter writer)
Writes the ids as XML.
|
createServiceResponse, endExecute, execute, getErrorHandlingMode, getResponseMessageXmlElementName, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getMinimumRequiredServerVersion, getResponseStream, getResponseXmlElementName, getService, getXmlElementName, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
protected MoveCopyItemRequest(ExchangeService service, ServiceErrorHandling errorHandlingMode) throws Exception
service
- the serviceerrorHandlingMode
- the error handling modeException
- on errorpublic void validate() throws Exception
Exception
- the exceptionprotected void writeIdsToXml(EwsServiceXmlWriter writer) throws Exception
writer
- the writerException
- the exceptionprotected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<TResponse extends ServiceResponse>
public ItemIdWrapperList getItemIds()
protected Boolean getReturnNewItemIds()
public void setReturnNewItemIds(Boolean value)
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>
writer
- the writerException
- the exceptionpublic FolderId getDestinationFolderId()
public void setDestinationFolderId(FolderId destinationFolderId)
destinationFolderId
- the new destination folder idCopyright © 2012–2015 Microsoft. All rights reserved.