|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.UpdateDelegateRequest
public class UpdateDelegateRequest
Represents an UpdateDelegate request.
| Constructor Summary | |
|---|---|
protected |
UpdateDelegateRequest(ExchangeService service)
Initializes a new instance of the class. |
| Method Summary | |
|---|---|
protected microsoft.exchange.webservices.data.DelegateManagementResponse |
createResponse()
Creates the response. |
protected microsoft.exchange.webservices.data.HttpWebRequest |
emit(OutParam<microsoft.exchange.webservices.data.HttpWebRequest> request)
* Send request and get response. |
protected TResponse |
execute()
Executes this request. |
List<DelegateUser> |
getDelegateUsers()
Gets the delegate users. |
Mailbox |
getMailbox()
Gets the mailbox. |
MeetingRequestsDeliveryScope |
getMeetingRequestsDeliveryScope()
Gets the meeting requests delivery scope. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
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 |
setMailbox(Mailbox mailbox)
Sets the mailbox. |
void |
setMeetingRequestsDeliveryScope(MeetingRequestsDeliveryScope value)
Sets the meeting requests delivery scope. |
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 void |
validate()
Validate request.. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected UpdateDelegateRequest(ExchangeService service)
throws Exception
service - the service
Exception| Method Detail |
|---|
protected void validate()
throws Exception
Exception - the exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writer - the writer
Exception - the exceptionprotected String getResponseXmlElementName()
protected microsoft.exchange.webservices.data.DelegateManagementResponse createResponse()
protected String getXmlElementName()
protected ExchangeVersion getMinimumRequiredServerVersion()
public MeetingRequestsDeliveryScope getMeetingRequestsDeliveryScope()
public void setMeetingRequestsDeliveryScope(MeetingRequestsDeliveryScope value)
value - the new meeting requests delivery scopepublic List<DelegateUser> getDelegateUsers()
protected Object parseResponse(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
reader - the reader
Exception - the exception
protected TResponse execute()
throws Exception
Exception - the exceptionpublic Mailbox getMailbox()
public void setMailbox(Mailbox mailbox)
mailbox - the new mailbox
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 | ||||||||