com.esri.arcgis.carto
Interface IGraphicFeatureServerReplication

All Superinterfaces:
Serializable
All Known Implementing Classes:
GraphicFeatureServer, GraphicFeatureServerIP, GraphicFeatureServerLP

public interface IGraphicFeatureServerReplication
extends Serializable

Provides access to replication members of Graphic Feature Server.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void alterReplica(IGPReplica replica)
          Alter the definition of a replica.
 IGDSData createReplica(String replicaName, IGFSReplicaDescription replicaDescription, IGPReplicaOptions repOptions, IGDSExportOptions exportOptions, int transportType)
          Create Replica.
 IGDSData exportReplicaDataChanges(String replicaName, IGDSExportOptions options, int transportType)
          Exports data changes for a replica.
 IGPReplicas getReplicas()
          The replicas in the workspace of the mxd document's data source.
 boolean importReplicaDataChanges(int sourceType, int reconcilePolicy, IGDSData data)
          Import the data changes for a replica.
 void unregisterReplica(String replicaName)
          Unregister the replica.
 

Method Detail

createReplica

IGDSData createReplica(String replicaName,
                       IGFSReplicaDescription replicaDescription,
                       IGPReplicaOptions repOptions,
                       IGDSExportOptions exportOptions,
                       int transportType)
                       throws IOException,
                              AutomationException
Create Replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
replicaName - The replicaName (in)
replicaDescription - A reference to a com.esri.arcgis.carto.IGFSReplicaDescription (in)
repOptions - A reference to a com.esri.arcgis.geodatabase.IGPReplicaOptions (in)
exportOptions - A reference to a com.esri.arcgis.geodatabasedistributed.IGDSExportOptions (in)
transportType - A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IGDSData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicas

IGPReplicas getReplicas()
                        throws IOException,
                               AutomationException
The replicas in the workspace of the mxd document's data source.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geodatabase.IGPReplicas
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unregisterReplica

void unregisterReplica(String replicaName)
                       throws IOException,
                              AutomationException
Unregister the replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
replicaName - The replicaName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportReplicaDataChanges

IGDSData exportReplicaDataChanges(String replicaName,
                                  IGDSExportOptions options,
                                  int transportType)
                                  throws IOException,
                                         AutomationException
Exports data changes for a replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
replicaName - The replicaName (in)
options - A reference to a com.esri.arcgis.geodatabasedistributed.IGDSExportOptions (in)
transportType - A com.esri.arcgis.geodatabasedistributed.esriGDSTransportType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IGDSData
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importReplicaDataChanges

boolean importReplicaDataChanges(int sourceType,
                                 int reconcilePolicy,
                                 IGDSData data)
                                 throws IOException,
                                        AutomationException
Import the data changes for a replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
sourceType - A com.esri.arcgis.geodatabasedistributed.esriGDSReplicaImportSource constant (in)
reconcilePolicy - A com.esri.arcgis.geodatabase.esriReplicaReconcilePolicyType constant (in)
data - A reference to a com.esri.arcgis.geodatabasedistributed.IGDSData (in)
Returns:
The conflictsFound
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterReplica

void alterReplica(IGPReplica replica)
                  throws IOException,
                         AutomationException
Alter the definition of a replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
replica - A reference to a com.esri.arcgis.geodatabase.IGPReplica (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.