|
||||||||||
| 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<UpdateItemResponse>
microsoft.exchange.webservices.data.core.request.UpdateItemRequest
public final class UpdateItemRequest
The Class UpdateItemRequest.
| Constructor Summary | |
|---|---|
UpdateItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Instantiates a new update item request. |
|
| Method Summary | |
|---|---|
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. |
| 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 UpdateItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
throws Exception
service - the serviceerrorHandlingMode - the error handling mode
Exception| Method Detail |
|---|
protected void validate()
throws ServiceLocalException,
Exception
ServiceRequestBase
validate in class ServiceRequestBase<ServiceResponseCollection<UpdateItemResponse>>ServiceLocalException - the service local exception
Exception - the exception
protected 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 exception
protected 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 List<Item> getItems()
public FolderId getSavedItemsDestinationFolder()
public void setSavedItemsDestinationFolder(FolderId value)
value - the new saved item destination folder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||