|
||||||||||
| 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<ServiceResponse>
microsoft.exchange.webservices.data.core.request.SendItemRequest
public final class SendItemRequest
Represents a SendItem request.
| Constructor Summary | |
|---|---|
SendItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
protected ServiceResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response. |
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count. |
Iterable<Item> |
getItems()
Gets the item. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element. |
protected String |
getResponseXmlElementName()
Gets the name of the response XML element. |
FolderId |
getSavedCopyDestinationFolderId()
Gets the saved copy destination folder id. |
String |
getXmlElementName()
Gets the name of the XML element. |
void |
setItems(Iterable<Item> items)
Sets the item. |
void |
setSavedCopyDestinationFolderId(FolderId savedCopyDestinationFolderId)
Sets the saved copy destination folder id. |
protected void |
validate()
Asserts the valid. |
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML. |
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, writeBodyToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SendItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
throws Exception
service - the serviceerrorHandlingMode - the error handling mode
Exception| Method Detail |
|---|
protected void validate()
throws Exception
validate in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>Exception - the exception
protected ServiceResponse createServiceResponse(ExchangeService service,
int responseIndex)
createServiceResponse in class MultiResponseServiceRequest<ServiceResponse>service - the serviceresponseIndex - the response index
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount in class MultiResponseServiceRequest<ServiceResponse>public String getXmlElementName()
getXmlElementName in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>protected String getResponseXmlElementName()
getResponseXmlElementName in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName in class MultiResponseServiceRequest<ServiceResponse>
protected void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>writer - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>writer - the writer
Exception - the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>public Iterable<Item> getItems()
public void setItems(Iterable<Item> items)
items - the new itempublic FolderId getSavedCopyDestinationFolderId()
public void setSavedCopyDestinationFolderId(FolderId savedCopyDestinationFolderId)
savedCopyDestinationFolderId - the new saved copy destination folder id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||