public final class UpdateItemRequest extends MultiResponseServiceRequest<UpdateItemResponse>
Constructor and Description |
---|
UpdateItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Instantiates a new update item request.
|
Modifier and Type | Method and Description |
---|---|
protected UpdateItemResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
ConflictResolutionMode |
getConflictResolutionMode()
Gets the conflict resolution mode.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
List<Item> |
getItems()
Gets the item.
|
MessageDisposition |
getMessageDisposition()
Gets the message disposition.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum server version required to process this request.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
FolderId |
getSavedItemsDestinationFolder()
Gets the saved item destination folder.
|
SendInvitationsOrCancellationsMode |
getSendInvitationsOrCancellationsMode()
Gets the send invitations or cancellations mode.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setConflictResolutionMode(ConflictResolutionMode value)
Sets the conflict resolution mode.
|
void |
setMessageDisposition(MessageDisposition value)
Sets the message disposition.
|
void |
setSavedItemsDestinationFolder(FolderId value)
Sets the saved item destination folder.
|
void |
setSendInvitationsOrCancellationsMode(SendInvitationsOrCancellationsMode value)
Sets the send invitations or cancellations mode.
|
protected void |
validate()
Validate request.
|
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes XML attribute.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeBodyToXml, writeToXml
public UpdateItemRequest(ExchangeService service, ServiceErrorHandling errorHandlingMode) throws Exception
service
- the serviceerrorHandlingMode
- the error handling modeException
protected void validate() throws ServiceLocalException, Exception
ServiceRequestBase
validate
in class ServiceRequestBase<ServiceResponseCollection<UpdateItemResponse>>
ServiceLocalException
- the service local exceptionException
- the exceptionprotected UpdateItemResponse createServiceResponse(ExchangeService service, int responseIndex)
MultiResponseServiceRequest
createServiceResponse
in class MultiResponseServiceRequest<UpdateItemResponse>
service
- The service.responseIndex
- Index of the response.public String getXmlElementName()
ServiceRequestBase
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<UpdateItemResponse>>
protected String getResponseXmlElementName()
ServiceRequestBase
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<UpdateItemResponse>>
protected String getResponseMessageXmlElementName()
MultiResponseServiceRequest
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<UpdateItemResponse>
protected int getExpectedResponseMessageCount()
MultiResponseServiceRequest
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<UpdateItemResponse>
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
ServiceRequestBase
writeAttributesToXml
in class ServiceRequestBase<ServiceResponseCollection<UpdateItemResponse>>
writer
- The writer.ServiceXmlSerializationException
- the service xml serialization exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
ServiceRequestBase
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<UpdateItemResponse>>
writer
- The writer.Exception
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
ServiceRequestBase
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<UpdateItemResponse>>
public MessageDisposition getMessageDisposition()
public void setMessageDisposition(MessageDisposition value)
value
- the new message dispositionpublic ConflictResolutionMode getConflictResolutionMode()
public void setConflictResolutionMode(ConflictResolutionMode value)
value
- the new conflict resolution modepublic SendInvitationsOrCancellationsMode getSendInvitationsOrCancellationsMode()
public void setSendInvitationsOrCancellationsMode(SendInvitationsOrCancellationsMode value)
value
- the new send invitations or cancellations modepublic FolderId getSavedItemsDestinationFolder()
public void setSavedItemsDestinationFolder(FolderId value)
value
- the new saved item destination folderCopyright © 2012–2015 Microsoft. All rights reserved.