A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-portaluser-obsolete.html below:

Obsolete Members for PortalUser | ArcGIS Maps SDK for Qt

  • PortalUser
  • The following members of class PortalUser are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions (since Esri::ArcGISRuntime 100.1, deprecated) void addPortalItemWithJson(Esri::ArcGISRuntime::PortalItem *portalItem, const QString &json, const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder()) (since Esri::ArcGISRuntime 100.1, deprecated) void addPortalItemWithUrl(Esri::ArcGISRuntime::PortalItem *portalItem, const QUrl &fromUrl, const QString &fileName = QString(), const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder()) (deprecated) void addToFavorites(Esri::ArcGISRuntime::PortalItem *portalItem) (deprecated) void createFolder(const QString &title) (deprecated) void deleteFolder(const Esri::ArcGISRuntime::PortalFolder &folder) (deprecated) void deletePortalItem(Esri::ArcGISRuntime::PortalItem *portalItem) (deprecated) void fetchContent() (deprecated) void fetchContentInFolder(const QString &folderId) (deprecated) void fetchFavoritesStatus(Esri::ArcGISRuntime::PortalItem *portalItem) (deprecated) void movePortalItem(Esri::ArcGISRuntime::PortalItem *portalItem, const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder()) (since Esri::ArcGISRuntime 100.1, deprecated) void movePortalItems(const QList<Esri::ArcGISRuntime::PortalItem *> &portalItems, const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder()) (deprecated) void removeFromFavorites(Esri::ArcGISRuntime::PortalItem *portalItem) Signals Member Function Documentation [signal, since Esri::ArcGISRuntime 100.1, deprecated] void PortalUser::addPortalItemCompleted(bool success)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when an add operation is completed. success is true when the operation succeeded.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    [since Esri::ArcGISRuntime 100.1, deprecated] void PortalUser::addPortalItemWithJson(Esri::ArcGISRuntime::PortalItem *portalItem, const QString &json, const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder())

    This function is deprecated. We strongly advise against using it in new code.

    Adds a PortalItem from a JSON object.

    The portalItem will be created using the following arguments:

    This function was introduced in Esri::ArcGISRuntime 100.1.

    See also Items and item types.

    [since Esri::ArcGISRuntime 100.1, deprecated] void PortalUser::addPortalItemWithUrl(Esri::ArcGISRuntime::PortalItem *portalItem, const QUrl &fromUrl, const QString &fileName = QString(), const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder())

    This function is deprecated. We strongly advise against using it in new code.

    Adds a PortalItem from a local or online URL.

    The PortalItem will be created using the following arguments:

    This function was introduced in Esri::ArcGISRuntime 100.1.

    See also Items and item types.

    [deprecated] void PortalUser::addToFavorites(Esri::ArcGISRuntime::PortalItem *portalItem)

    This function is deprecated. We strongly advise against using it in new code.

    Adds the PortalItem portalItem to the user's favorites group.

    [signal, deprecated] void PortalUser::addToFavoritesCompleted(bool success)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a addToFavorites operation is completed.

    The parameter success is true when the operation succeeded, otherwise false.

    [deprecated] void PortalUser::createFolder(const QString &title)

    This function is deprecated. We strongly advise against using it in new code.

    Creates a new PortalFolder with the given title in the user's root folder.

    Multilevel folders are not supported in a portal.

    [signal, since Esri::ArcGISRuntime 100.1, deprecated] void PortalUser::createFolderCompleted(bool success, const Esri::ArcGISRuntime::PortalFolder &folder)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a createFolder operation is completed.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    [deprecated] void PortalUser::deleteFolder(const Esri::ArcGISRuntime::PortalFolder &folder)

    This function is deprecated. We strongly advise against using it in new code.

    Removes the specified folder from the portal.

    [signal, deprecated] void PortalUser::deleteFolderCompleted(bool success)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a deleteFolder operation is completed. success is true when the operation succeeded.

    [deprecated] void PortalUser::deletePortalItem(Esri::ArcGISRuntime::PortalItem *portalItem)

    This function is deprecated. We strongly advise against using it in new code.

    Removes the PortalItem portalItem from the portal.

    [signal, deprecated] void PortalUser::deletePortalItemCompleted(bool success)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a delete item operation is completed. success is true when the operation succeeded.

    [deprecated] void PortalUser::fetchContent()

    This function is deprecated. We strongly advise against using it in new code.

    Starts an operation that fetches the user's content at the root level (not in a folder).

    The content is made up of lists of PortalItem and PortalFolder objects.

    Example:

    Retrieve the model representing a user's folders:

    // fetch the portal user's folders
    QMap<QString, QString> folderTitles; // folderId and folderTitle
    
    connect(&portalUser, &PortalUser::fetchContentCompleted, this, [&portalUser, &folderTitles](bool success)
            {
              if (!success)
              {
                return;
              }
    
              PortalFolderListModel* folders = portalUser.folders();
              Q_CHECK_PTR(folders);
    
              for (auto&& i : *folders)
              {
                PortalFolder folder = i;
                folderTitles[folder.folderId()] = folder.title();
                qDebug() << folder.title();
              }
            });
    
    portalUser.fetchContent();
    [signal, since Esri::ArcGISRuntime 100.1, deprecated] void PortalUser::fetchContentCompleted(bool success)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the fetchContent or fetchContentInFolder operations are completed.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    [deprecated] void PortalUser::fetchContentInFolder(const QString &folderId)

    This function is deprecated. We strongly advise against using it in new code.

    Starts an operation that fetches the user's content within a specific folder (folderId).

    The content is made up of lists of PortalItem objects.

    [deprecated] void PortalUser::fetchFavoritesStatus(Esri::ArcGISRuntime::PortalItem *portalItem)

    This function is deprecated. We strongly advise against using it in new code.

    Starts an operation to determine whether PortalItem portalItem is in the user's favorites group.

    The fetchFavoritesStatusCompleted is emitted when the operation is complete.

    [signal, deprecated] void PortalUser::fetchFavoritesStatusCompleted(bool status)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a removeFromFavorites operation is completed. status is true when the operation succeeded.

    [deprecated] void PortalUser::movePortalItem(Esri::ArcGISRuntime::PortalItem *portalItem, const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder())

    This function is deprecated. We strongly advise against using it in new code.

    Moves a PortalItem.

    Move item portalItem to the folder specified by toFolder. Leaving toFolder empty will move the item to the user's root folder.

    [signal, deprecated] void PortalUser::movePortalItemCompleted(bool success)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a move item operation is completed. success is true when the operation succeeded.

    [since Esri::ArcGISRuntime 100.1, deprecated] void PortalUser::movePortalItems(const QList<Esri::ArcGISRuntime::PortalItem *> &portalItems, const Esri::ArcGISRuntime::PortalFolder &toFolder = PortalFolder())

    This function is deprecated. We strongly advise against using it in new code.

    Moves multiple PortalItems.

    Move the items listed in portalItems to the folder specified by toFolder. Leaving toFolder empty will move the items to the user's root folder.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    [signal, deprecated] void PortalUser::movePortalItemsCompleted(const QList<Esri::ArcGISRuntime::PortalResult> &results)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a movePortalItems operation is completed. The list of results indicates the status for individual items.

    [deprecated] void PortalUser::removeFromFavorites(Esri::ArcGISRuntime::PortalItem *portalItem)

    This function is deprecated. We strongly advise against using it in new code.

    Removes the PortalItem portalItem from the user's favorites group.

    [signal, deprecated] void PortalUser::removeFromFavoritesCompleted(bool success)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when a removeFromFavorites operation is completed.

    The parameter success is true when the operation succeeded, otherwise false.

    [override virtual, deprecated] QJsonObject PortalUser::unknownJson() const

    This function is deprecated. We strongly advise against using it in new code.

    Reimplements: JsonSerializable::unknownJson() const.

    Returns the unknown JSON of this object.

    Unknown JSON is a dictionary of values not defined in the ArcGIS specification used to create this object but found in the source JSON. If the object is written back to JSON, all unknown JSON data is persisted. The ArcGIS specification may be for a web map, web scene, REST API, and so on.

    See also JsonSerializable.

    [override virtual, deprecated] QJsonObject PortalUser::unsupportedJson() const

    This function is deprecated. We strongly advise against using it in new code.

    Reimplements: JsonSerializable::unsupportedJson() const.

    Returns the unsupported JSON of this object.

    See also JsonSerializable.


    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