microsoft.exchange.webservices.data
Class DeleteAttachmentResponse

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

public final class DeleteAttachmentResponse
extends ServiceResponse

Represents the response to an individual attachment deletion operation.


Constructor Summary
protected DeleteAttachmentResponse(Attachment attachment)
          Initializes a new instance of the DeleteAttachmentResponse class.
 
Method Summary
protected  Attachment getAttachment()
          Gets the attachment that was deleted.
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

DeleteAttachmentResponse

protected DeleteAttachmentResponse(Attachment attachment)
Initializes a new instance of the DeleteAttachmentResponse class.

Parameters:
attachment - the attachment
Method Detail

readElementsFromXml

protected void readElementsFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                            throws ServiceLocalException,
                                   java.lang.Exception
Reads response elements from XML.

Overrides:
readElementsFromXml in class ServiceResponse
Parameters:
reader - the reader
Throws:
ServiceLocalException - the service local exception
java.lang.Exception - the exception

getAttachment

protected Attachment getAttachment()
Gets the attachment that was deleted.

Returns:
the attachment