Skip To Content ArcGIS for Developers Sign In Dashboard

PortalQueryResultSetForGroups Class

(Esri::ArcGISRuntime::PortalQueryResultSetForGroups)

This class represents results of a groups query performed on a portal. More...

Header: #include <PortalQueryResultSetForGroups>
Since: Esri::ArcGISRuntime 100.0
Inherits: Object

Public Functions

PortalQueryResultSetForGroups(QObject *parent = nullptr)
~PortalQueryResultSetForGroups()
PortalGroupListModel *groupResults() const
PortalQueryParametersForGroups nextQueryParameters() const
PortalQueryParametersForGroups queryParameters() const
int totalResults() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

This class represents results of a groups query performed on a portal.

A "pageable" search performed on a portal may yield a large number of results. The number of results in a PortalQueryResultSetForGroups is limited by the results limit field of the PortalQueryParametersForGroups used to make the query. By default, only the first ten result values are returned. The PortalQueryResultSetForGroups allows clients to retrieve results in batches. Use nextQueryParameters to get a PortalQueryParametersForGroups object to fetch the next batch of results.

See also Portal, PortalQueryParametersForGroups, and PortalGroup.

Member Function Documentation

PortalQueryResultSetForGroups::PortalQueryResultSetForGroups(QObject *parent = nullptr)

Default constructor that accepts an optional parent.

PortalQueryResultSetForGroups::~PortalQueryResultSetForGroups()

Destructor.

PortalGroupListModel *PortalQueryResultSetForGroups::groupResults() const

Returns a list of PortalGroup objects which satisfy the query.

See also PortalGroup.

PortalQueryParametersForGroups PortalQueryResultSetForGroups::nextQueryParameters() const

Returns the parameters used to select the next set of results.

If the full set of groups identified by the original query is too large, this property will contain the query which should be used to make a further call to Portal::findGroups on the portal. If this property is empty, no further groups are available.

See also Portal and PortalQueryParametersForGroups.

PortalQueryParametersForGroups PortalQueryResultSetForGroups::queryParameters() const

Returns the parameters used to select the groupResults

The parameters are based on the original PortalQueryResultSetForGroups used to call Portal::findGroups. However, if the total set of results is too large, the parameters will be refined to select only a subset of the records - that is, those contained in results.

See also PortalQueryParametersForGroups.

int PortalQueryResultSetForGroups::totalResults() const

Returns the count of groups selected by the query.


Feedback on this topic?