Class EditResult

java.lang.Object
com.esri.arcgisruntime.data.EditResult
Direct Known Subclasses:
FeatureEditResult

public class EditResult extends Object
Represents the result of an attempt to push an update to a service, such as after applying edits to a service by calling ServiceFeatureTable.applyEditsAsync() or syncing results for a table in a geodatabase from a SyncGeodatabaseJob.
Since:
100.0.0
  • Method Details

    • hasCompletedWithErrors

      public boolean hasCompletedWithErrors()
      Returns true if there are any errors associated with the edit operation, including its attachments.
      Returns:
      true if there are errors, otherwise false
      Since:
      100.0.0
    • getObjectId

      public long getObjectId()
      Gets the ObjectId of the Feature.
      Returns:
      the ObjectId of the feature
      Since:
      100.0.0
    • getGlobalId

      public String getGlobalId()
      Gets the globalId of the Feature.
      Returns:
      the globalId of the feature
      Since:
      100.0.0
    • getError

      public ArcGISRuntimeException getError()
      Gets the error if the operation failed. This could be for the feature or its attachments.
      Returns:
      an ArcGISRuntimeException representing the error that occurred when applying a feature or attachment edit
      Since:
      100.0.0
    • getEditOperation

      public EditResult.EditOperation getEditOperation()
      Returns the type of edit operation.
      Returns:
      the type of the edit operation
      Since:
      100.0.0