Class SyncCapabilities


  • public final class SyncCapabilities
    extends java.lang.Object
    Instances of this class represent capabilities supported by a sync-enabled ArcGIS feature service.
    Since:
    100.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isSupportsAsync()
      Indicates whether you can execute sync operations asynchronously.
      boolean isSupportsAttachmentsSyncDirection()
      Indicates whether the service supports options to define how attachments will be synced.
      boolean isSupportsRegisteringExistingData()
      Indicates whether the service supports registering existing datasets (*.geodatabase file) as new a sync-enabled geodatabase.
      boolean isSupportsRollbackOnFailure()
      Indicates whether the service supports rolling back edits in case of a failure during sync operations.
      boolean isSupportsSyncDirectionControl()
      Indicates whether the service allows the client application to control direction of sync - upload only, download only, or bi-directional.
      boolean isSupportsSyncModelGeodatabase()
      Indicates whether the service supports sync capabilities for the entire sync-enabled geodatabase.
      boolean isSupportsSyncModelLayer()
      Indicates whether the service supports sync capabilities independently on a layer-by-layer basis in the sync-enabled geodatabase.
      boolean isSupportsSyncModelNone()
      Indicates whether the service supports neither sync capabilities independently on a layer-by-layer basis in the sync-enabled geodatabase nor supports sync capabilities for the entire sync-enabled geodatabase.
      boolean isSupportsUtilityNetworkSystem()
      Indicates if Utility Network System data is available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isSupportsAsync

        public boolean isSupportsAsync()
        Indicates whether you can execute sync operations asynchronously. Only present if syncEnabled is true.
        Returns:
        true if the feature service supports executing sync operations asynchronously, otherwise false
        Since:
        100.0.0
      • isSupportsSyncModelGeodatabase

        public boolean isSupportsSyncModelGeodatabase()
        Indicates whether the service supports sync capabilities for the entire sync-enabled geodatabase. All layers in the geodatabase will be synchronized together in the same direction.
        Returns:
        true if the feature service supports sync model geodatabase, otherwise false
        Since:
        100.0.0
      • isSupportsSyncModelLayer

        public boolean isSupportsSyncModelLayer()
        Indicates whether the service supports sync capabilities independently on a layer-by-layer basis in the sync-enabled geodatabase. For example, one layer can upload changes while another downloads during sync. A perLayer sync model also allows clients to limit the sync to a subset of layers in the geodatabase.
        Returns:
        true if the feature service supports sync model layer, otherwise false
        Since:
        100.0.0
      • isSupportsRegisteringExistingData

        public boolean isSupportsRegisteringExistingData()
        Indicates whether the service supports registering existing datasets (*.geodatabase file) as new a sync-enabled geodatabase. This is useful when you already have a geodatabase that you want to sync on multiple devices independently without affecting each other.
        Returns:
        true if the feature service supports registering existing data, otherwise false
        Since:
        100.0.0
      • isSupportsRollbackOnFailure

        public boolean isSupportsRollbackOnFailure()
        Indicates whether the service supports rolling back edits in case of a failure during sync operations.
        Returns:
        true if the feature service supports rollback on sync failure, otherwise false
        Since:
        100.0.0
      • isSupportsSyncDirectionControl

        public boolean isSupportsSyncDirectionControl()
        Indicates whether the service allows the client application to control direction of sync - upload only, download only, or bi-directional.
        Returns:
        true if the feature service supports sync direction control, otherwise false
        Since:
        100.0.0
      • isSupportsSyncModelNone

        public boolean isSupportsSyncModelNone()
        Indicates whether the service supports neither sync capabilities independently on a layer-by-layer basis in the sync-enabled geodatabase nor supports sync capabilities for the entire sync-enabled geodatabase.
        Returns:
        true if the feature service supports none of the sync models, otherwise false
        Since:
        100.0.0
      • isSupportsAttachmentsSyncDirection

        public boolean isSupportsAttachmentsSyncDirection()
        Indicates whether the service supports options to define how attachments will be synced. If true, the service will accept setting the attachments Sync Direction during the operation to create a replica.
        Returns:
        true if the feature service supports setting the attachment sync direction parameter, otherwise false
        Since:
        100.0.0
      • isSupportsUtilityNetworkSystem

        public boolean isSupportsUtilityNetworkSystem()
        Indicates if Utility Network System data is available.

        Feature layers and tables are always included in the generation and synchronization of the geodatabase. This property indicates whether Utility Network System data is also available from the service, for generation of an offline geodatabase and for resynchronization.

        Returns:
        true if Utility Network System data is available
        Since:
        100.11.0
        See Also:
        GenerateGeodatabaseParameters.getUtilityNetworkSyncMode()