Class UpdateItemResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.response.ServiceResponse
-
- microsoft.exchange.webservices.data.core.response.UpdateItemResponse
-
- All Implemented Interfaces:
IGetObjectInstanceDelegate<ServiceObject>
public final class UpdateItemResponse extends ServiceResponse implements IGetObjectInstanceDelegate<ServiceObject>
The Class UpdateItemResponse.
-
-
Constructor Summary
Constructors Constructor Description UpdateItemResponse(Item item)Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConflictCount()Gets the number of property conflicts that were resolved during the update operation.ServiceObjectgetObjectInstanceDelegate(ExchangeService service, String xmlElementName)Gets the object instance delegate.ItemgetReturnedItem()Gets the item that was returned by the update operation.protected voidloaded()Clears the change log of the created folder if the creation succeeded.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, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
-
-
-
-
Constructor Detail
-
UpdateItemResponse
public UpdateItemResponse(Item item)
Initializes a new instance of the class.- Parameters:
item- the item
-
-
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
Description copied from interface:IGetObjectInstanceDelegateGets 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
-
loaded
protected void loaded()
Clears the change log of the created folder if the creation succeeded.- Overrides:
loadedin classServiceResponse
-
getReturnedItem
public Item getReturnedItem()
Gets the item that was returned by the update operation. ReturnedItem is set only when a recurring Task is marked as complete or when its recurrence pattern changes.- Returns:
- the returned item
-
getConflictCount
public int getConflictCount()
Gets the number of property conflicts that were resolved during the update operation.- Returns:
- the conflict count
-
-