microsoft.exchange.webservices.data.MoveItemRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exchange-ws-api Show documentation
Show all versions of exchange-ws-api Show documentation
The source came from http://archive.msdn.microsoft.com/ewsjavaapi
Support for Maven has been added.
The newest version!
/**************************************************************************
* copyright file="MoveItemRequest.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the MoveItemRequest.java.
**************************************************************************/
package microsoft.exchange.webservices.data;
/**
* The Class MoveItemRequest.
*/
public class MoveItemRequest extends MoveCopyItemRequest {
/**
* Initializes a new instance of the class.
*
* @param service
* the service
* @param errorHandlingMode
* the error handling mode
* @throws Exception
*/
MoveItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
throws Exception {
super(service, errorHandlingMode);
}
/**
* Creates the service response.
*
* @param service
* the service
* @param responseIndex
* the response index
* @return Service response.
*/
@Override
protected MoveCopyItemResponse createServiceResponse(
ExchangeService service, int responseIndex) {
return new MoveCopyItemResponse();
}
/**
* Gets the name of the XML element.
*
* @return XML element name,
*/
@Override
protected String getXmlElementName() {
return XmlElementNames.MoveItem;
}
/**
* Gets the name of the response XML element.
*
* @return XML element name,
*/
@Override
protected String getResponseXmlElementName() {
return XmlElementNames.MoveItemResponse;
}
/**
* Gets the name of the response message XML element.
*
* @return XML element name,
*/
@Override
protected String getResponseMessageXmlElementName() {
return XmlElementNames.MoveItemResponseMessage;
}
/**
* Gets the request version.
*
* @return Earliest Exchange version in which this request is supported.
*/
@Override
protected ExchangeVersion getMinimumRequiredServerVersion() {
return ExchangeVersion.Exchange2007_SP1;
}
}