microsoft.exchange.webservices.data
Class MoveCopyFolderResponse

java.lang.Object
  extended by microsoft.exchange.webservices.data.ServiceResponse
      extended by microsoft.exchange.webservices.data.MoveCopyFolderResponse

public final class MoveCopyFolderResponse
extends ServiceResponse

Represents the base response class for individual folder move and copy operations.


Constructor Summary
protected MoveCopyFolderResponse()
          Initializes a new instance of the MoveCopyFolderResponse class.
 
Method Summary
 Folder getFolder()
          Gets the new (moved or copied) folder.
 ServiceObject getObjectInstanceDelegate(ExchangeService service, java.lang.String xmlElementName)
          Gets the object instance delegate.
protected  void readElementsFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Reads response elements from XML.
 
Methods inherited from class microsoft.exchange.webservices.data.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

MoveCopyFolderResponse

protected MoveCopyFolderResponse()
Initializes a new instance of the MoveCopyFolderResponse class.

Method Detail

readElementsFromXml

protected void readElementsFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                            throws java.lang.Exception
Reads response elements from XML.

Overrides:
readElementsFromXml in class ServiceResponse
Parameters:
reader - The reader.
Throws:
java.lang.Exception - the exception

getFolder

public Folder getFolder()
Gets the new (moved or copied) folder.

Returns:
the folder

getObjectInstanceDelegate

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

Parameters:
service - accepts ExchangeService
xmlElementName - accepts String
Returns:
Object
Throws:
java.lang.Exception - throws Exception