public class GetDelegateRequest extends SimpleServiceRequestBase<TResponse>
Constructor and Description |
---|
GetDelegateRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected GetDelegateResponse |
createResponse()
Creates the response.
|
TResponse |
execute()
Executes this request.
|
boolean |
getIncludePermissions()
Gets a value indicating whether permissions are included.
|
Mailbox |
getMailbox()
Gets the mailbox.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
List<UserId> |
getUserIds()
Gets the user ids.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected TResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setIncludePermissions(boolean includePermissions)
Sets the include permissions.
|
void |
setMailbox(Mailbox mailbox)
Sets the mailbox.
|
protected void |
validate()
Validate request.
|
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes XML attribute.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeBodyToXml, writeToXml
public GetDelegateRequest(ExchangeService service) throws Exception
service
- the serviceException
protected GetDelegateResponse createResponse()
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ServiceRequestBase<GetDelegateResponse>
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writer
- the writerException
- the exceptionprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<GetDelegateResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<GetDelegateResponse>
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<GetDelegateResponse>
public List<UserId> getUserIds()
public boolean getIncludePermissions()
public void setIncludePermissions(boolean includePermissions)
includePermissions
- the new include permissionsprotected void validate() throws ServiceLocalException, Exception
validate
in class ServiceRequestBase<TResponse extends DelegateManagementResponse>
ServiceLocalException
- the service local exceptionException
- the exceptionprotected TResponse parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<TResponse extends DelegateManagementResponse>
reader
- The reader.Exception
- the exceptionpublic TResponse execute() throws Exception
Exception
- the exceptionpublic Mailbox getMailbox()
public void setMailbox(Mailbox mailbox)
mailbox
- the new mailboxCopyright © 2012–2015 Microsoft. All rights reserved.