public class MoveItemRequest extends MoveCopyItemRequest<MoveCopyItemResponse>
Constructor and Description |
---|
MoveItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected MoveCopyItemResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
FolderId |
getDestinationFolderId()
Gets the destination folder id.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setDestinationFolderId(FolderId destinationFolderId)
Sets the destination folder id.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
getExpectedResponseMessageCount, getItemIds, getReturnNewItemIds, setReturnNewItemIds, validate, writeIdsToXml
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public MoveItemRequest(ExchangeService service, ServiceErrorHandling errorHandlingMode) throws Exception
service
- the serviceerrorHandlingMode
- the error handling modeException
protected MoveCopyItemResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<MoveCopyItemResponse>
service
- the serviceresponseIndex
- the response indexpublic String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<MoveCopyItemResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<MoveCopyItemResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<MoveCopyItemResponse>
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<MoveCopyItemResponse>>
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.