The result of an attempt to apply a local edit to a service. More...
Header: | #include <EditResult.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Inherits: | Esri::ArcGISRuntime::Object |
Inherited By: |
Public Functions
virtual | ~EditResult() override |
Esri::ArcGISRuntime::EditOperation | editOperation() const |
Esri::ArcGISRuntime::EditResultType | editResultType() const |
Esri::ArcGISRuntime::Error | error() const |
QString | globalId() const |
bool | isCompletedWithErrors() const |
qint64 | objectId() const |
Detailed Description
This is a base class for edit results, such as FeatureEditResult. If an edit fails to be applied, the isCompletedWithErrors value will be true
and you can investigate the failure using the error.
Member Function Documentation
[override virtual]
EditResult::~EditResult ()
Destructor
Esri::ArcGISRuntime::EditOperation EditResult::editOperation () const
Returns the type of the edit operation applied to the row.
Esri::ArcGISRuntime::EditResultType EditResult::editResultType () const
Returns the type of edit result.
Esri::ArcGISRuntime::Error EditResult::error() const
Returns error information about the edit operation.
QString EditResult::globalId () const
Returns the global id of the row that was edited.
When returned as a result of geodatabase sync (GeodatabaseSyncTask::syncGeodatabase(Esri::ArcGISRuntime::SyncDirection, bool, Esri::ArcGISRuntime::Geodatabase*) then SyncGeodatabaseJob::result) in a SyncLayerResult this property may return an empty string indicating a more general error with features in this table rather than an error specific to a single feature edit.
bool EditResult::isCompletedWithErrors () const
Returns true
if the attempt to push a local edit to a service resulted in errors, false
otherwise.
qint64 EditResult::objectId () const
Returns the
object ID of the Feature.