Class FindItemResponse<TItem extends Item>
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.response.ServiceResponse
-
- microsoft.exchange.webservices.data.core.response.FindItemResponse<TItem>
-
- Type Parameters:
TItem- The type of item that the opeartion returned.
public final class FindItemResponse<TItem extends Item> extends ServiceResponse
Represents the response to a item search operation.
-
-
Constructor Summary
Constructors Constructor Description FindItemResponse(boolean isGrouped, PropertySet propertySet)Initializes a new instance of the FindItemResponse class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupedFindItemsResults<TItem>getGroupedFindResults()Gets a grouped list of item matching the specified search criteria that were found in Exchange.FindItemsResults<TItem>getResults()Gets the results of the search operation.protected voidreadElementsFromXml(EwsServiceXmlReader reader)Reads response elements from XML.-
Methods inherited from class microsoft.exchange.webservices.data.core.response.ServiceResponse
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
-
-
-
-
Constructor Detail
-
FindItemResponse
public FindItemResponse(boolean isGrouped, PropertySet propertySet)
Initializes a new instance of the FindItemResponse class.- Parameters:
isGrouped- if set to true if grouped.propertySet- The property Set
-
-
Method Detail
-
readElementsFromXml
protected void readElementsFromXml(EwsServiceXmlReader reader) throws Exception
Reads response elements from XML.- Overrides:
readElementsFromXmlin classServiceResponse- Parameters:
reader- ,The reader- Throws:
Exception- the exception
-
getGroupedFindResults
public GroupedFindItemsResults<TItem> getGroupedFindResults()
Gets a grouped list of item matching the specified search criteria that were found in Exchange. ItemGroups is null if the search operation did not specify grouping options.- Returns:
- the grouped find results
-
getResults
public FindItemsResults<TItem> getResults()
Gets the results of the search operation.- Returns:
- the results
-
-