microsoft.exchange.webservices.data
Class GetFolderResponse

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

public final class GetFolderResponse
extends ServiceResponse

Represents the response to an individual folder retrieval operation.


Constructor Summary
protected GetFolderResponse(Folder folder, PropertySet propertySet)
          Initializes a new instance of the GetFolderResponse class.
 
Method Summary
 Folder getFolder()
          Gets the folder that was retrieved.
 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

GetFolderResponse

protected GetFolderResponse(Folder folder,
                            PropertySet propertySet)
Initializes a new instance of the GetFolderResponse class.

Parameters:
folder - The folder.
propertySet - The property set from the request.
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

getObjectInstanceDelegate

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

Parameters:
service - the service
xmlElementName - the xml element name
Returns:
the object instance delegate
Throws:
java.lang.Exception - the exception

getFolder

public Folder getFolder()
Gets the folder that was retrieved.

Returns:
folder