Obsolete Members for ServiceGeodatabase

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

    Public Functions

    (deprecated) Esri::ArcGISRuntime::TaskWatcher applyEdits()
    (deprecated) Esri::ArcGISRuntime::TaskWatcher close()
    (deprecated) Esri::ArcGISRuntime::TaskWatcher createVersion(Esri::ArcGISRuntime::ServiceVersionParameters *parameters)
    (deprecated) Esri::ArcGISRuntime::TaskWatcher fetchVersions()
    (deprecated) Esri::ArcGISRuntime::TaskWatcher switchVersion(const QString &versionName)
    (deprecated) Esri::ArcGISRuntime::TaskWatcher undoLocalEdits()

    Signals

    (deprecated) void applyEditsCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::FeatureTableEditResult *> &editResults)
    (deprecated) void createVersionCompleted(const QUuid &taskId, Esri::ArcGISRuntime::ServiceVersionInfo *serviceVersionInfo)
    (deprecated) void fetchVersionsCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::ServiceVersionInfo *> &serviceVersionInfos)
    (deprecated) void undoLocalEditsCompleted(const QUuid &taskId)

    Member Function Documentation

    Esri::ArcGISRuntime::TaskWatcher ServiceGeodatabase::applyEdits()

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

    Applies all local edits in all tables to the service.

    The edits in all tables are applied to the feature service in a call, This is more efficient than applying edits one Esri::ArcGISRuntime::ServiceFeatureTable at a time.

    Returns a TaskWatcher for the asynchronous operation.

    [signal] void ServiceGeodatabase::applyEditsCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::FeatureTableEditResult *> &editResults)

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

    Signal emitted when the applyEdits operation completes.

    • taskId - The task ID of the asynchronous operation.
    • editResults - A list of edit results from the apply edits operation.

    See also Returned QObjects Parenting.

    [since Esri::ArcGISRuntime 100.10] Esri::ArcGISRuntime::TaskWatcher ServiceGeodatabase::close()

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

    Closes this service geodatabase.

    A request to stop any active reading or editing sessions with the feature service is sent, and after this asynchronous process is complete, this service geodatabase will be closed.

    Before calling this method, there should be no references to any related data. For example, terminate fetch versions, create version, switch, apply or undo edits, remove feature layers, and release tables from map.

    After calling this method, accessing this service geodatabase or any of its connected tables will fail.

    Closing this service geodatabase is not necessary if it has not been loaded.

    Returns a TaskWatcher for the asynchronous operation.

    This function was introduced in Esri::ArcGISRuntime 100.10.

    Esri::ArcGISRuntime::TaskWatcher ServiceGeodatabase::createVersion(Esri::ArcGISRuntime::ServiceVersionParameters *parameters)

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

    Creates a new version in the service based on the default version.

    • parameters - The properties of the new version.

    Branch versioning requires that the default version always be the ancestor of all other versions.

    If the service isn't branch-versioned or the parameters do not include a name, an error will occur.

    This method returns a TaskWatcher for the asynchronous operation.

    See also errorOccurred.

    [signal] void ServiceGeodatabase::createVersionCompleted(const QUuid &taskId, Esri::ArcGISRuntime::ServiceVersionInfo *serviceVersionInfo)

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

    Signal emitted when the createVersion operation completes.

    • taskId - The task ID of the asynchronous operation.
    • serviceVersionInfo - A new version in the service based on the default version.

    See also Returned QObjects Parenting.

    Esri::ArcGISRuntime::TaskWatcher ServiceGeodatabase::fetchVersions()

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

    Returns a list of all versions on the service.

    If the service isn't branch-versioned or the parameters do not include a name, an error will occur.

    This method returns a TaskWatcher for the asynchronous operation.

    See also errorOccurred.

    [signal] void ServiceGeodatabase::fetchVersionsCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::ServiceVersionInfo *> &serviceVersionInfos)

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

    Signal emitted when the fetchVersions operation completes.

    • taskId - The task ID of the asynchronous operation.
    • serviceVersionInfos - A list of all versions on the service.

    See also Returned QObjects Parenting.

    Esri::ArcGISRuntime::TaskWatcher ServiceGeodatabase::switchVersion(const QString &versionName)

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

    Switches all the connected feature tables to the new version.

    • versionName - The name of the version to connect to.

    An error is emitted if:

    Check the result of ServiceGeodatabase::hasLocalEdits() before attempting to switch versions, to make sure all changes are saved to the service or discarded from the local cache. Use the ServiceGeodatabase::applyEditsAsync() or ServiceGeodatabase::undoLocalEdits() methods as appropriate to save or discard changes before switching versions.

    Returns a TaskWatcher for the asynchronous operation.

    Esri::ArcGISRuntime::TaskWatcher ServiceGeodatabase::undoLocalEdits()

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

    Undoes all of the local edits in all the tables.

    Returns a TaskWatcher for the asynchronous operation.

    [signal] void ServiceGeodatabase::undoLocalEditsCompleted(const QUuid &taskId)

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

    Signal emitted when the undoLocalEdits operation completes.

    • taskId - The task ID of the asynchronous operation.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.