Package com.esri.arcgisruntime.portal
Class PortalGroupContentSearchResultSet
- java.lang.Object
- 
- com.esri.arcgisruntime.portal.PortalGroupContentSearchResultSet
 
- 
 public final class PortalGroupContentSearchResultSet extends Object Represents the results of a Group Content Search operation performed on a PortalGroup.A "pageable" search may yield a large number of results. The number of results in a PortalGroupContentSearchResultSet is limited by the results limit field of the PortalGroupContentSearchParametersused to make the search. By default, only the first ten result values are returned. The PortalGroupContentSearchResultSet allows clients to retrieve results in batches. UsegetNextSearchParameters()to get a PortalGroupContentSearchParameters object to fetch the next batch of results.- Since:
- 100.7.0
- See Also:
- PortalGroup.findItemsAsync(PortalGroupContentSearchParameters)
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PortalGroupContentSearchParametersgetNextSearchParameters()Gets the search parameters that can be used to fetch the next set of results.List<PortalItem>getResults()Gets the present results of the search.PortalGroupContentSearchParametersgetSearchParameters()Gets the search parameters used to generate these results.intgetTotalResults()Gets the total number of results irrespective of the paging.
 
- 
- 
- 
Method Detail- 
getNextSearchParameterspublic PortalGroupContentSearchParameters getNextSearchParameters() Gets the search parameters that can be used to fetch the next set of results.This is automatically generated if there are more results to be retrieved, or it will be null if no more items are available. Pass it to a further call to PortalGroup.findItemsAsync(PortalGroupContentSearchParameters)to fetch the next set of results.- Returns:
- the parameters for the next search, or null if there are no more results to fetch
- Since:
- 100.7.0
 
 - 
getResultspublic List<PortalItem> getResults() Gets the present results of the search. These are limited by the value ofPortalGroupContentSearchParameters.getLimit()in the parameters used to generate these results.- Returns:
- the present results of the search
- Since:
- 100.7.0
 
 - 
getSearchParameterspublic PortalGroupContentSearchParameters getSearchParameters() Gets the search parameters used to generate these results.- Returns:
- the search parameters used to generate these results
- Since:
- 100.7.0
 
 - 
getTotalResultspublic int getTotalResults() Gets the total number of results irrespective of the paging.- Returns:
- the total number of results
- Since:
- 100.7.0
 
 
- 
 
-