|
||||||||||
| 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<TResponse>
microsoft.exchange.webservices.data.core.request.CreateItemRequest
public final class CreateItemRequest
Represents a CreateItem request.
| Constructor Summary | |
|---|---|
CreateItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance. |
|
| Method Summary | |
|---|---|
protected ServiceResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response. |
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count. |
Iterable<TServiceObject> |
getItems()
Gets the item. |
MessageDisposition |
getMessageDisposition()
Gets the message disposition. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
protected String |
getObjectCollectionXmlElementName()
Gets the name of the object collection XML element. |
protected Iterable<TServiceObject> |
getObjects()
Gets the service objects. |
FolderId |
getParentFolderId()
Gets the parent folder id. |
protected String |
getParentFolderXmlElementName()
Gets the name of the parent folder XML element. |
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element. |
protected String |
getResponseXmlElementName()
Gets the name of the response XML element. |
SendInvitationsMode |
getSendInvitationsMode()
Gets the send invitations mode. |
String |
getXmlElementName()
Gets the name of the XML element. |
void |
setItems(Collection<TServiceObject> value)
Gets the item. |
void |
setMessageDisposition(MessageDisposition value)
Sets the message disposition. |
protected void |
setObjects(Collection<TServiceObject> value)
Sets the service objects. |
void |
setParentFolderId(FolderId value)
Sets the parent folder id. |
void |
setSendInvitationsMode(SendInvitationsMode value)
Sets the send invitations mode. |
protected void |
validate()
Validate request.. |
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML. |
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 CreateItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
throws Exception
service - The service.errorHandlingMode - Indicates how errors should be handled.
Exception| Method Detail |
|---|
protected ServiceResponse createServiceResponse(ExchangeService service,
int responseIndex)
createServiceResponse in class MultiResponseServiceRequest<ServiceResponse>service - the serviceresponseIndex - the response index
protected void validate()
throws ServiceLocalException,
Exception
ServiceLocalException - the service local exception
Exception - the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>public String getXmlElementName()
getXmlElementName in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>protected String getResponseXmlElementName()
getResponseXmlElementName in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName in class MultiResponseServiceRequest<TResponse extends ServiceResponse>protected String getParentFolderXmlElementName()
protected String getObjectCollectionXmlElementName()
protected void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>writer - The writer.
ServiceXmlSerializationException - the service xml serialization exceptionpublic MessageDisposition getMessageDisposition()
public void setMessageDisposition(MessageDisposition value)
value - the new message dispositionpublic SendInvitationsMode getSendInvitationsMode()
public void setSendInvitationsMode(SendInvitationsMode value)
value - the new send invitations modepublic void setItems(Collection<TServiceObject> value)
value - the new itempublic Iterable<TServiceObject> getItems()
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount in class MultiResponseServiceRequest<TResponse extends ServiceResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws Exception
ServiceRequestBase
writeElementsToXml in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>writer - The writer.
Exception - the exceptionprotected Iterable<TServiceObject> getObjects()
protected void setObjects(Collection<TServiceObject> value)
value - Iteratorpublic FolderId getParentFolderId()
public void setParentFolderId(FolderId value)
value - FolderId.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||