[since Esri::ArcGISRuntime 100.13]
PortalGroup::PortalGroup(Esri::ArcGISRuntime::Portal *portal, const QString &groupId, QObject *parent = nullptr)
Constructor for use when the group ID is known.
This function was introduced in Esri::ArcGISRuntime 100.13.
[override virtual noexcept]
PortalGroup::~PortalGroup()
Destructor.
Esri::ArcGISRuntime::PortalAccess PortalGroup::access() constReturns the access level for the group.
QStringList PortalGroup::admins() constReturns a list of users that are administrators of this group.
[override virtual, since Esri::ArcGISRuntime 100.13]
void PortalGroup::cancelLoad()
Reimplements: Loadable::cancelLoad().
Cancels loading metadata for the object.
Cancels loading the metadata if the object is loading
See Loadable.
This function was introduced in Esri::ArcGISRuntime 100.13.
QDateTime PortalGroup::created() constReturns the date the group was created.
Always a Gregorian calendar using UTC time zone and English locale.
[since Esri::ArcGISRuntime 200.4]
QFuture<void> PortalGroup::fetchGroupUsersAsync()
Starts an operation to fetch users and administrators of the group.
The operation is complete when the QFuture is finished. Once the future is finished, the admins and users properties will be populated.
Canceling the QFuture will not stop this operation from completing, though the QFuture will report that it is canceled and the completion handler will not be called.
See Working with QFuture for further details.
This function was introduced in Esri::ArcGISRuntime 200.4.
[signal, since Esri::ArcGISRuntime 100.1]
void PortalGroup::fetchGroupUsersCompleted(bool success)
Signal emitted when the fetchGroupUsers operation is complete.
This function was introduced in Esri::ArcGISRuntime 100.1.
[static, since Esri::ArcGISRuntime 100.1]
Esri::ArcGISRuntime::PortalGroup *PortalGroup::fromJson(const QString &json, Esri::ArcGISRuntime::Portal *portal = nullptr, QObject *parent = nullptr)
Creates a new PortalGroup from json with an optional portal and parent.
The PortalGroup will be created using the following arguments:
To fetch data from an online portal, the JSON must contains the "id" parameter, and portal must be valid.
const QString json = QStringLiteral(" { \"id\": \"12345678901234567890123456789012\" }"); PortalGroup* portalGroup = PortalGroup::fromJson(json, portal, parent);
This function was introduced in Esri::ArcGISRuntime 100.1.
See also JsonSerializable.
QString PortalGroup::groupDescription() constReturns the group's description.
QString PortalGroup::groupId() constReturns the group's ID.
bool PortalGroup::isInvitationOnly() constReturns whether the group membership is invitation-only.
bool PortalGroup::isViewOnly() constReturns whether the group membership is view-only.
[override virtual, since Esri::ArcGISRuntime 100.13]
void PortalGroup::load()
Reimplements: Loadable::load().
Loads the metadata for the object asynchronously.
Loads the metadata if the object is not loaded
See Loadable.
This function was introduced in Esri::ArcGISRuntime 100.13.
[override virtual, since Esri::ArcGISRuntime 100.13]
Esri::ArcGISRuntime::Error PortalGroup::loadError() const
Reimplements: Loadable::loadError() const.
Returns the load error.
See Loadable.
This function was introduced in Esri::ArcGISRuntime 100.13.
See also Error.
[override virtual, since Esri::ArcGISRuntime 100.13]
Esri::ArcGISRuntime::LoadStatus PortalGroup::loadStatus() const
Reimplements: Loadable::loadStatus() const.
Returns the load status.
See Loadable.
This function was introduced in Esri::ArcGISRuntime 100.13.
See also LoadStatus.
QDateTime PortalGroup::modified() constReturns the date the group was last modified.
Always a Gregorian calendar using UTC time zone and English locale.
QString PortalGroup::owner() constReturns the username of the owner of the group.
QString PortalGroup::phone() constReturns the telephone number of the group.
Esri::ArcGISRuntime::Portal *PortalGroup::portal() constReturns the portal this group belongs to.
[override virtual, since Esri::ArcGISRuntime 100.13]
void PortalGroup::retryLoad()
Reimplements: Loadable::retryLoad().
Loads or retries loading metadata for the object asynchronously.
Will retry loading the metadata if the object is failed to load. Will load the object if it is not loaded. Will not retry to load the object if the object is loaded.
See Loadable.
This function was introduced in Esri::ArcGISRuntime 100.13.
QString PortalGroup::snippet() constReturns the summary description snippet for this group.
Esri::ArcGISRuntime::PortalGroupSortField PortalGroup::sortField() constReturns the field that items in this group are sorted by.
Esri::ArcGISRuntime::PortalQuerySortOrder PortalGroup::sortOrder() constReturns the sort order for items in this group.
QStringList PortalGroup::tags() constReturns the user-defined tags that describe the group.
Queries can use the tags
field to find groups with particular tags.
See also PortalQueryParametersForGroups.
QUrl PortalGroup::thumbnailUrl() constReturns the URL of the thumbnail used for the group.
All group thumbnails are relative to the URL: http://<community-url>/groups/<groupId>/info
.
Returns the title of the group.
[override virtual]
QString PortalGroup::toJson() const
Reimplements: JsonSerializable::toJson() const.
Returns the PortalGroup as a JSON string representation.
See also JsonSerializable.
QStringList PortalGroup::users() constReturns a list of strings representing users of the group.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4