Module com.esri.arcgisruntime
Class SyncLayerResult
java.lang.Object
com.esri.arcgisruntime.tasks.geodatabase.SyncLayerResult
Represents the result of a synchronize operation from a
SyncGeodatabaseJob
for a single table in a geodatabase
initiated by GeodatabaseSyncTask.syncGeodatabase(SyncGeodatabaseParameters, Geodatabase)
.
Only errors are reported; the results of a synchronize operation do not contain information about successful adds, deletes, or updates.
- Since:
- 100.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of errors from edits made to the table this SyncLayerResult relates to.long
Gets the ID of the layer in the feature service this SyncLayerResult applies to.Gets the name of the table in the geodatabase this SyncLayerResult applies to.
-
Method Details
-
getEditResults
Gets a list of errors from edits made to the table this SyncLayerResult relates to.If the server has an error applying an edit, this is returned as a FeatureEditResult. Only errors are reported; the feature edit results of a synchronize operation do not contain information about successful adds, deletes, or updates.
- Returns:
- an unmodifiable list of FeatureEditResult objects
- Since:
- 100.0.0
-
getLayerId
public long getLayerId()Gets the ID of the layer in the feature service this SyncLayerResult applies to. This is the same asArcGISFeatureLayerInfo.getServiceLayerId()
- Returns:
- the layer ID
- Since:
- 100.0.0
-
getTableName
Gets the name of the table in the geodatabase this SyncLayerResult applies to. This is the same asFeatureTable.getTableName()
- Returns:
- the table name
- Since:
- 100.0.0
-