Class GetItemResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.response.ServiceResponse
-
- microsoft.exchange.webservices.data.core.response.GetItemResponse
-
- All Implemented Interfaces:
IGetObjectInstanceDelegate<ServiceObject>
public final class GetItemResponse extends ServiceResponse implements IGetObjectInstanceDelegate<ServiceObject>
Represents a response to an individual item retrieval operation.
-
-
Constructor Summary
Constructors Constructor Description GetItemResponse(Item item, PropertySet propertySet)Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemgetItem()Gets the item 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
-
GetItemResponse
public GetItemResponse(Item item, PropertySet propertySet)
Initializes a new instance of the class.- Parameters:
item- the itempropertySet- the property set
-
-
Method Detail
-
readElementsFromXml
protected void readElementsFromXml(EwsServiceXmlReader reader) throws InstantiationException, IllegalAccessException, Exception
Reads response elements from XML.- Overrides:
readElementsFromXmlin classServiceResponse- Parameters:
reader- the reader- Throws:
InstantiationException- the instantiation exceptionIllegalAccessException- the illegal access exceptionException- the exception
-
getObjectInstanceDelegate
public ServiceObject getObjectInstanceDelegate(ExchangeService service, String xmlElementName) throws Exception
Gets the object instance delegate.- Specified by:
getObjectInstanceDelegatein interfaceIGetObjectInstanceDelegate<ServiceObject>- Parameters:
service- accepts ExchangeServicexmlElementName- accepts String- Returns:
- Name
- Throws:
Exception- throws exception
-
-