Class SyncLayerResult
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.geodatabase.SyncLayerResult
-
public final class SyncLayerResult extends java.lang.Object
Represents the result of a synchronize operation from aSyncGeodatabaseJob
for a single table in a geodatabase initiated byGeodatabaseSyncTask.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:
GeodatabaseSyncTask.syncGeodatabase(SyncGeodatabaseParameters, Geodatabase)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FeatureEditResult>
getEditResults()
Gets a list of errors from edits made to the table this SyncLayerResult relates to.long
getLayerId()
Gets the ID of the layer in the feature service this SyncLayerResult applies to.java.lang.String
getTableName()
Gets the name of the table in the geodatabase this SyncLayerResult applies to.
-
-
-
Method Detail
-
getEditResults
public java.util.List<FeatureEditResult> 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
public java.lang.String 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
-
-