|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.MoveCopyItemRequest<MoveCopyItemResponse>
microsoft.exchange.webservices.data.MoveItemRequest
public class MoveItemRequest
The Class MoveItemRequest.
| Method Summary | |
|---|---|
protected MoveCopyItemResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response. |
protected microsoft.exchange.webservices.data.HttpWebRequest |
emit(OutParam<microsoft.exchange.webservices.data.HttpWebRequest> request)
* Send request and get response. |
protected ServiceResponseCollection<TResponse> |
execute()
* Executes this request. |
FolderId |
getDestinationFolderId()
Gets the destination folder id. |
protected microsoft.exchange.webservices.data.ServiceErrorHandling |
getErrorHandlingMode()
Gets a value indicating how errors should be handled. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element. |
protected static InputStream |
getResponseStream(microsoft.exchange.webservices.data.HttpWebRequest request)
* Gets the response stream (may be wrapped with GZip/Deflate stream to decompress content). |
protected String |
getResponseXmlElementName()
Gets the name of the response XML element. |
protected ExchangeService |
getService()
Gets the service. |
protected String |
getXmlElementName()
Gets the name of the XML element. |
protected Object |
internalExecute()
Execute this request. |
protected Object |
parseResponse(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Parses the response. |
protected void |
readPreamble(microsoft.exchange.webservices.data.EwsServiceXmlReader ewsXmlReader)
* Reads any preamble data not part of the core response. |
protected Object |
readResponse(microsoft.exchange.webservices.data.EwsServiceXmlReader ewsXmlReader)
* Reads the response. |
protected microsoft.exchange.webservices.data.SoapFaultDetails |
readSoapFault(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads the SOAP fault. |
void |
setDestinationFolderId(FolderId destinationFolderId)
Sets the destination folder id. |
protected void |
throwIfNotSupportedByRequestedServerVersion()
* Throw exception if request is not supported in requested server version. |
protected void |
traceResponse(microsoft.exchange.webservices.data.HttpWebRequest request,
ByteArrayOutputStream memoryStream)
* Traces the response. |
protected microsoft.exchange.webservices.data.HttpWebRequest |
validateAndEmitRequest(OutParam<microsoft.exchange.webservices.data.HttpWebRequest> request)
* Validates request parameters, and emits the request to the server. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes XML attributes. |
protected void |
writeBodyToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes XML body. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes XML elements. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes XML. |
| Methods inherited from class microsoft.exchange.webservices.data.MoveCopyItemRequest |
|---|
getExpectedResponseMessageCount, getItemIds, getReturnNewItemIds, setReturnNewItemIds, validate, writeIdsToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected MoveCopyItemResponse createServiceResponse(ExchangeService service,
int responseIndex)
service - the serviceresponseIndex - the response index
protected String getXmlElementName()
protected String getResponseXmlElementName()
protected String getResponseMessageXmlElementName()
protected ExchangeVersion getMinimumRequiredServerVersion()
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writer - the writer
Exception - the exceptionpublic FolderId getDestinationFolderId()
public void setDestinationFolderId(FolderId destinationFolderId)
destinationFolderId - the new destination folder id
protected Object parseResponse(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
reader - The reader.
Exception - the exception
protected ServiceResponseCollection<TResponse> execute()
throws Exception
Exception - the exceptionprotected microsoft.exchange.webservices.data.ServiceErrorHandling getErrorHandlingMode()
protected Object internalExecute()
throws ServiceLocalException,
Exception
Exception
ServiceLocalException
protected void writeBodyToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writer - The writer.
Exception - the exception
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writer - The writer.
ServiceXmlSerializationException - the service xml serialization exceptionprotected ExchangeService getService()
protected void throwIfNotSupportedByRequestedServerVersion()
throws ServiceVersionException
ServiceVersionException - the service version exception
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writer - The writer.
Exception - the exception
protected microsoft.exchange.webservices.data.HttpWebRequest emit(OutParam<microsoft.exchange.webservices.data.HttpWebRequest> request)
throws Exception
Exception - the exception
protected static InputStream getResponseStream(microsoft.exchange.webservices.data.HttpWebRequest request)
throws IOException,
EWSHttpException
request - HttpWebRequest object from which response stream can be read.
IOException - Signals that an I/O exception has occurred.
EWSHttpException - the eWS http exception
protected void traceResponse(microsoft.exchange.webservices.data.HttpWebRequest request,
ByteArrayOutputStream memoryStream)
throws XMLStreamException,
IOException,
EWSHttpException
request - The response.memoryStream - The response content in a MemoryStream.
XMLStreamException - the xML stream exception
IOException - Signals that an I/O exception has occurred.
EWSHttpException - the eWS http exception
protected Object readResponse(microsoft.exchange.webservices.data.EwsServiceXmlReader ewsXmlReader)
throws Exception
ewsXmlReader - The XML reader.
Exception - the exception
protected void readPreamble(microsoft.exchange.webservices.data.EwsServiceXmlReader ewsXmlReader)
throws Exception
ewsXmlReader - The EwsServiceXmlReader.
Exceptionprotected microsoft.exchange.webservices.data.SoapFaultDetails readSoapFault(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
reader - The reader.
protected microsoft.exchange.webservices.data.HttpWebRequest validateAndEmitRequest(OutParam<microsoft.exchange.webservices.data.HttpWebRequest> request)
throws ServiceLocalException,
Exception
request - The request.
ServiceLocalException
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||