com.esri.arcgis.geodatabasedistributed
Interface IReplicationAgent

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IReplicationAgent2
All Known Implementing Classes:
IReplicationAgent2Proxy, IReplicationAgentProxy, ReplicationAgent

public interface IReplicationAgent
extends java.io.Serializable

COM Interface 'IReplicationAgent'. Generated 3/19/2015 1:20:57 PM from 'C:\ArcGIS\COM\esriGeoDatabaseDistributed.olb'

Description: 'Provides access to replica operations.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDab9f2c3d_9298_480b_a57c_4afcc8d7c498
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void createReplica(java.lang.String versionName, IGeoDataServer srcGDS, IGeoDataServer destGDS, java.lang.String replicaName, IGPReplicaDescription desc, IGPReplicaOptions repOptions)
          Creates a replica pair in the workspaces bound to the input geodataservers.
 void extractData(java.lang.String versionName, IGeoDataServer srcGDS, IGeoDataServer destGDS, IGPReplicaDescription desc)
          Extracts data from the source geodata server into the destination geodata server.
 boolean synchronizeReplica(IGeoDataServer gds1, IGeoDataServer gds2, IGPReplica rep1, IGPReplica rep2, int pol, int dir, boolean columnLevel)
          Synchronizes a replica pair.
 

Field Detail

IIDab9f2c3d_9298_480b_a57c_4afcc8d7c498

static final int IIDab9f2c3d_9298_480b_a57c_4afcc8d7c498
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

createReplica

void createReplica(java.lang.String versionName,
                   IGeoDataServer srcGDS,
                   IGeoDataServer destGDS,
                   java.lang.String replicaName,
                   IGPReplicaDescription desc,
                   IGPReplicaOptions repOptions)
                   throws java.io.IOException,
                          AutomationException
Creates a replica pair in the workspaces bound to the input geodataservers.

Parameters:
versionName - The versionName (in)
srcGDS - A reference to a com.esri.arcgis.geodatabasedistributed.IGeoDataServer (in)
destGDS - A reference to a com.esri.arcgis.geodatabasedistributed.IGeoDataServer (in)
replicaName - The replicaName (in)
desc - A reference to a com.esri.arcgis.geodatabase.IGPReplicaDescription (in)
repOptions - A reference to a com.esri.arcgis.geodatabase.IGPReplicaOptions (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronizeReplica

boolean synchronizeReplica(IGeoDataServer gds1,
                           IGeoDataServer gds2,
                           IGPReplica rep1,
                           IGPReplica rep2,
                           int pol,
                           int dir,
                           boolean columnLevel)
                           throws java.io.IOException,
                                  AutomationException
Synchronizes a replica pair.

Parameters:
gds1 - A reference to a com.esri.arcgis.geodatabasedistributed.IGeoDataServer (in)
gds2 - A reference to a com.esri.arcgis.geodatabasedistributed.IGeoDataServer (in)
rep1 - A reference to a com.esri.arcgis.geodatabase.IGPReplica (in)
rep2 - A reference to a com.esri.arcgis.geodatabase.IGPReplica (in)
pol - A com.esri.arcgis.geodatabasedistributed.esriReplicationAgentReconcilePolicy constant (in)
dir - A com.esri.arcgis.geodatabasedistributed.esriReplicaSynchronizeDirection constant (in)
columnLevel - The columnLevel (in)
Returns:
The conflictsDetected
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractData

void extractData(java.lang.String versionName,
                 IGeoDataServer srcGDS,
                 IGeoDataServer destGDS,
                 IGPReplicaDescription desc)
                 throws java.io.IOException,
                        AutomationException
Extracts data from the source geodata server into the destination geodata server.

Parameters:
versionName - The versionName (in)
srcGDS - A reference to a com.esri.arcgis.geodatabasedistributed.IGeoDataServer (in)
destGDS - A reference to a com.esri.arcgis.geodatabasedistributed.IGeoDataServer (in)
desc - A reference to a com.esri.arcgis.geodatabase.IGPReplicaDescription (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.