|
||||||||||
| 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.FindFolderRequest
public final class FindFolderRequest
Represents a FindFolder request.
| Constructor Summary | |
|---|---|
FindFolderRequest(ExchangeService exchangeService,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the FindFolderRequest class. |
|
| Method Summary | |
|---|---|
protected FindFolderResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response. |
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count. |
protected Grouping |
getGroupBy()
Gets the group by clause. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
FolderIdWrapperList |
getParentFolderIds()
Gets the parent folder ids. |
String |
getQueryString()
Gets the query string for indexed search. |
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element. |
protected String |
getResponseXmlElementName()
Gets the name of the response XML element. |
SearchFilter |
getSearchFilter()
Gets the search filter. |
ViewBase |
getView()
Gets the view controlling the number of item or folder returned. |
String |
getXmlElementName()
Gets the name of the XML element. |
void |
setQueryString(String queryString)
Sets the query string for indexed search. |
void |
setSearchFilter(SearchFilter searchFilter)
Sets the search filter. |
void |
setView(ViewBase view)
Sets the view controlling the number of item or folder returned. |
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 FindFolderRequest(ExchangeService exchangeService,
ServiceErrorHandling errorHandlingMode)
throws Exception
exchangeService - The ServiceerrorHandlingMode - Indicates how errors should be handled.
Exception| Method Detail |
|---|
protected FindFolderResponse createServiceResponse(ExchangeService service,
int responseIndex)
createServiceResponse in class MultiResponseServiceRequest<FindFolderResponse>service - The serviceresponseIndex - Index of the response. Service response.
public String getXmlElementName()
getXmlElementName in class ServiceRequestBase<ServiceResponseCollection<FindFolderResponse>>protected String getResponseXmlElementName()
getResponseXmlElementName in class ServiceRequestBase<ServiceResponseCollection<FindFolderResponse>>protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName in class MultiResponseServiceRequest<FindFolderResponse>protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class ServiceRequestBase<ServiceResponseCollection<FindFolderResponse>>
protected void validate()
throws ServiceLocalException,
Exception
validate in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>ServiceLocalException - the service local exception
Exception - the exceptionprotected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount in class MultiResponseServiceRequest<TResponse extends ServiceResponse>protected Grouping getGroupBy()
protected void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>writer - The Writer
ServiceXmlSerializationException - the service xml serialization exception
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>writer - The Writer
Exception - the exceptionpublic FolderIdWrapperList getParentFolderIds()
public SearchFilter getSearchFilter()
public void setSearchFilter(SearchFilter searchFilter)
searchFilter - the new search filterpublic String getQueryString()
public void setQueryString(String queryString)
queryString - the new query stringpublic ViewBase getView()
public void setView(ViewBase view)
view - the new view
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||