microsoft.exchange.webservices.data.core.response
Class MoveCopyItemResponse

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.response.ServiceResponse
      extended by microsoft.exchange.webservices.data.core.response.MoveCopyItemResponse
All Implemented Interfaces:
IGetObjectInstanceDelegate<ServiceObject>

public final class MoveCopyItemResponse
extends ServiceResponse
implements IGetObjectInstanceDelegate<ServiceObject>

Represents a response to a Move or Copy operation.


Constructor Summary
MoveCopyItemResponse()
          Represents a response to a Move or Copy operation.
 
Method Summary
 Item getItem()
          Gets the copied or moved item.
 ServiceObject getObjectInstanceDelegate(ExchangeService service, String xmlElementName)
          Gets the object instance delegate.
protected  void readElementsFromXml(EwsServiceXmlReader reader)
          Reads response elements from XML.
 
Methods inherited from class microsoft.exchange.webservices.data.core.response.ServiceResponse
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveCopyItemResponse

public MoveCopyItemResponse()
Represents a response to a Move or Copy operation.

Method Detail

readElementsFromXml

protected void readElementsFromXml(EwsServiceXmlReader reader)
                            throws Exception
Reads response elements from XML.

Overrides:
readElementsFromXml in class ServiceResponse
Parameters:
reader - the reader
Throws:
Exception - the exception

getObjectInstanceDelegate

public ServiceObject getObjectInstanceDelegate(ExchangeService service,
                                               String xmlElementName)
                                        throws Exception
Gets the object instance delegate.

Specified by:
getObjectInstanceDelegate in interface IGetObjectInstanceDelegate<ServiceObject>
Parameters:
service - the service
xmlElementName - the xml element name
Returns:
the object instance delegate
Throws:
Exception - the exception

getItem

public Item getItem()
Gets the copied or moved item. Item is null if the copy or move operation was between two mailboxes or between a mailbox and a public folder.

Returns:
the item


Copyright © 2012–2015 Microsoft. All rights reserved.