|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<ServiceResponseCollection<TResponse>>
microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest<CreateAttachmentResponse>
microsoft.exchange.webservices.data.core.request.CreateAttachmentRequest
public final class CreateAttachmentRequest
Represents a CreateAttachment request.
| Constructor Summary | |
|---|---|
CreateAttachmentRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
protected CreateAttachmentResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response. |
protected boolean |
emitTimeZoneHeader()
Gets a value indicating whether the TimeZoneContext SOAP header should be emitted. |
ArrayList<Attachment> |
getAttachments()
Gets the attachments. |
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
String |
getParentItemId()
Gets the parent item id. |
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element. |
protected String |
getResponseXmlElementName()
Gets the name of the response XML element. |
String |
getXmlElementName()
Gets the name of the XML element. |
void |
setParentItemId(String parentItemId)
Sets the parent item id. |
protected void |
validate()
Validate request.. |
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest |
|---|
endExecute, execute, getErrorHandlingMode, parseResponse |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase |
|---|
beginExecute, endInternalExecute, internalExecute |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.ServiceRequestBase |
|---|
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateAttachmentRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
throws Exception
service - the serviceerrorHandlingMode - the error handling mode
Exception| Method Detail |
|---|
public ArrayList<Attachment> getAttachments()
protected void validate()
throws Exception
validate in class ServiceRequestBase<ServiceResponseCollection<CreateAttachmentResponse>>Exception - the exceptionprotected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount in class MultiResponseServiceRequest<CreateAttachmentResponse>public String getXmlElementName()
getXmlElementName in class ServiceRequestBase<ServiceResponseCollection<CreateAttachmentResponse>>protected String getResponseXmlElementName()
getResponseXmlElementName in class ServiceRequestBase<ServiceResponseCollection<CreateAttachmentResponse>>protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName in class MultiResponseServiceRequest<CreateAttachmentResponse>protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class ServiceRequestBase<ServiceResponseCollection<CreateAttachmentResponse>>
protected boolean emitTimeZoneHeader()
throws ServiceLocalException,
Exception
ServiceLocalException
Exceptionpublic String getParentItemId()
public void setParentItemId(String parentItemId)
parentItemId - the new parent item id
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ServiceRequestBase<ServiceResponseCollection<CreateAttachmentResponse>>writer - the writer
Exception - the exception
protected CreateAttachmentResponse createServiceResponse(ExchangeService service,
int responseIndex)
createServiceResponse in class MultiResponseServiceRequest<CreateAttachmentResponse>service - the serviceresponseIndex - the response index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||