/** * Find item. * * @param view The view controlling the number of item returned. * @return FindItems results collection. * @throws Exception the exception */ public FindItemsResults<Item> findItems(ItemView view) throws Exception { ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems((SearchFilter) null, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }
/** * Find item. * * @param queryString query string to be used for indexed search * @param view The view controlling the number of item returned. * @return FindItems results collection. * @throws Exception the exception */ public FindItemsResults<Item> findItems(String queryString, ItemView view) throws Exception { EwsUtilities.validateParamAllowNull(queryString, "queryString"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(queryString, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }
/** * Find item. * * @param searchFilter The search filter. Available search filter classes include * SearchFilter.IsEqualTo, SearchFilter.ContainsSubstring and * SearchFilter.SearchFilterCollection * @param view The view controlling the number of item returned. * @return FindItems results collection. * @throws Exception the exception */ public FindItemsResults<Item> findItems(SearchFilter searchFilter, ItemView view) throws Exception { EwsUtilities.validateParamAllowNull(searchFilter, "searchFilter"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(searchFilter, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }
/** * Find item. * * @param queryString query string to be used for indexed search * @param view The view controlling the number of item returned. * @param groupBy The group by. * @return A collection of grouped item representing the contents of this * folder. * @throws Exception the exception */ public GroupedFindItemsResults<Item> findItems(String queryString, ItemView view, Grouping groupBy) throws Exception { EwsUtilities.validateParam(groupBy, "groupBy"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(queryString, view, groupBy); return responses.getResponseAtIndex(0).getGroupedFindResults(); }
/** * Find item. * * @param searchFilter The search filter. Available search filter classes include * SearchFilter.IsEqualTo, SearchFilter.ContainsSubstring and * SearchFilter.SearchFilterCollection * @param view The view controlling the number of item returned. * @param groupBy The group by. * @return A collection of grouped item representing the contents of this * folder. * @throws Exception the exception */ public GroupedFindItemsResults<Item> findItems(SearchFilter searchFilter, ItemView view, Grouping groupBy) throws Exception { EwsUtilities.validateParam(groupBy, "groupBy"); EwsUtilities.validateParamAllowNull(searchFilter, "searchFilter"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(searchFilter, view, groupBy); return responses.getResponseAtIndex(0).getGroupedFindResults(); }
/** * Find item. * * @param view The view controlling the number of item returned. * @return FindItems results collection. * @throws Exception the exception */ public FindItemsResults<Item> findItems(ItemView view) throws Exception { ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems((SearchFilter) null, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }
/** * Find item. * * @param queryString query string to be used for indexed search * @param view The view controlling the number of item returned. * @return FindItems results collection. * @throws Exception the exception */ public FindItemsResults<Item> findItems(String queryString, ItemView view) throws Exception { EwsUtilities.validateParamAllowNull(queryString, "queryString"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(queryString, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }
/** * Find item. * * @param searchFilter The search filter. Available search filter classes include * SearchFilter.IsEqualTo, SearchFilter.ContainsSubstring and * SearchFilter.SearchFilterCollection * @param view The view controlling the number of item returned. * @return FindItems results collection. * @throws Exception the exception */ public FindItemsResults<Item> findItems(SearchFilter searchFilter, ItemView view) throws Exception { EwsUtilities.validateParamAllowNull(searchFilter, "searchFilter"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(searchFilter, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }
/** * Find item. * * @param queryString query string to be used for indexed search * @param view The view controlling the number of item returned. * @param groupBy The group by. * @return A collection of grouped item representing the contents of this * folder. * @throws Exception the exception */ public GroupedFindItemsResults<Item> findItems(String queryString, ItemView view, Grouping groupBy) throws Exception { EwsUtilities.validateParam(groupBy, "groupBy"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(queryString, view, groupBy); return responses.getResponseAtIndex(0).getGroupedFindResults(); }
/** * Find item. * * @param searchFilter The search filter. Available search filter classes include * SearchFilter.IsEqualTo, SearchFilter.ContainsSubstring and * SearchFilter.SearchFilterCollection * @param view The view controlling the number of item returned. * @param groupBy The group by. * @return A collection of grouped item representing the contents of this * folder. * @throws Exception the exception */ public GroupedFindItemsResults<Item> findItems(SearchFilter searchFilter, ItemView view, Grouping groupBy) throws Exception { EwsUtilities.validateParam(groupBy, "groupBy"); EwsUtilities.validateParamAllowNull(searchFilter, "searchFilter"); ServiceResponseCollection<FindItemResponse<Item>> responses = this .internalFindItems(searchFilter, view, groupBy); return responses.getResponseAtIndex(0).getGroupedFindResults(); }