microsoft.exchange.webservices.data
Class UpdateItemResponse

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

public final class UpdateItemResponse
extends ServiceResponse

The Class UpdateItemResponse.


Constructor Summary
protected UpdateItemResponse(Item item)
          * Initializes a new instance of the class.
 
Method Summary
 int getConflictCount()
          * Gets the number of property conflicts that were resolved during the update operation.
 ServiceObject getObjectInstanceDelegate(ExchangeService service, java.lang.String xmlElementName)
          Gets the object instance delegate.
 Item getReturnedItem()
          * Gets the item that was returned by the update operation.
protected  void loaded()
          Clears the change log of the created folder if the creation succeeded.
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, 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

UpdateItemResponse

protected UpdateItemResponse(Item item)
* Initializes a new instance of the class.

Parameters:
item - the item
Method Detail

readElementsFromXml

protected void readElementsFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                            throws ServiceXmlDeserializationException,
                                   javax.xml.stream.XMLStreamException,
                                   java.lang.InstantiationException,
                                   java.lang.IllegalAccessException,
                                   java.lang.Exception
* Reads response elements from XML.

Overrides:
readElementsFromXml in class ServiceResponse
Parameters:
reader - the reader
Throws:
ServiceXmlDeserializationException - the service xml deserialization exception
javax.xml.stream.XMLStreamException - the xML stream exception
java.lang.InstantiationException - the instantiation exception
java.lang.IllegalAccessException - the illegal access exception
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

loaded

protected void loaded()
Clears the change log of the created folder if the creation succeeded.

Overrides:
loaded in class ServiceResponse

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