public class

SyncCapabilities

extends Object
java.lang.Object
   ↳ com.esri.core.ags.SyncCapabilities

Class Overview

Represents different properties to synchronize the features of a feature service.

Summary

Public Constructors
SyncCapabilities()
Public Methods
static SyncCapabilities fromJson(JsonParser parser)
boolean isAsyncSupported()
boolean isPerGeodatabaseSyncSupported()
boolean isPerLayerSyncSupported()
boolean isRegisteringExistingDataSupported()
boolean isRollbackOnFailureSupported()
boolean isSyncDirectionControlSupported()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SyncCapabilities ()

Public Methods

public static SyncCapabilities fromJson (JsonParser parser)

Parameters
parser JsonParser
Returns
SyncCapabilities
Throws
JsonParseException
IOException

public boolean isAsyncSupported ()

Returns
boolean true if the service can execute sync operations asynchronously. Returns false if sync is not enabled.

public boolean isPerGeodatabaseSyncSupported ()

Returns
boolean true if the layers can be synchronized together. Returns false if the only sync model supported is perLayer or if sync is not enabled.

public boolean isPerLayerSyncSupported ()

Returns
boolean true if the layers can be synchronized independently. Returns false if the only sync model supported is GEODATABASE or if sync is not enabled.

public boolean isRegisteringExistingDataSupported ()

Returns
boolean true if the service supports registration of existing data for createReplica. Returns false if sync is not enabled.

public boolean isRollbackOnFailureSupported ()

Returns
boolean true if the rollbackOnFailure parameter can be set to true or false for synchronization. Returns false if this parameter is not supported.

public boolean isSyncDirectionControlSupported ()

Returns
boolean true if the service will allow control of data sync direction. Returns false if sync is not enabled.