Class GetFolderResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.response.ServiceResponse
-
- microsoft.exchange.webservices.data.core.response.GetFolderResponse
-
- All Implemented Interfaces:
IGetObjectInstanceDelegate<ServiceObject>
public final class GetFolderResponse extends ServiceResponse implements IGetObjectInstanceDelegate<ServiceObject>
Represents the response to an individual folder retrieval operation.
-
-
Constructor Summary
Constructors Constructor Description GetFolderResponse(Folder folder, PropertySet propertySet)Initializes a new instance of the GetFolderResponse class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FoldergetFolder()Gets the folder that was retrieved.ServiceObjectgetObjectInstanceDelegate(ExchangeService service, String xmlElementName)Gets the object instance delegate.protected voidreadElementsFromXml(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
-
-
-
-
Constructor Detail
-
GetFolderResponse
public 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(EwsServiceXmlReader reader) throws Exception
Reads response elements from XML.- Overrides:
readElementsFromXmlin classServiceResponse- 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:
getObjectInstanceDelegatein interfaceIGetObjectInstanceDelegate<ServiceObject>- Parameters:
service- the servicexmlElementName- the xml element name- Returns:
- the object instance delegate
- Throws:
Exception- the exception
-
-