This class represents results of a groups query performed on a portal. More...
|PortalQueryResultSetForGroups(QObject *parent = nullptr)|
|PortalGroupListModel *||groupResults() const|
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from Esri::ArcGISRuntime::Object
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
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.
Member Function Documentation
PortalQueryResultSetForGroups::PortalQueryResultSetForGroups(QObject *parent = nullptr)
Default constructor that accepts an optional parent.
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.
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.
Returns the count of groups selected by the query.