|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.geodatabasedistributed.ReplicationAgent
public class ReplicationAgent
COM Class 'ReplicationAgent'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabaseDistributed.olb'
Description 'A class used to perform 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 |
---|
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicationAgent2 |
---|
IID, IIDfc1d0cbb_38ee_44b7_be6e_80049e06f855, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicationAgent |
---|
IIDab9f2c3d_9298_480b_a57c_4afcc8d7c498 |
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicationAgentCancelControl |
---|
IID, IIDfe61bef1_7ae3_45c6_84de_a9d6019a4d77, xxDummy |
Constructor Summary | |
---|---|
ReplicationAgent()
Constructs a ReplicationAgent using ArcGIS Engine. |
|
ReplicationAgent(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ReplicationAgent theReplicationAgent = (ReplicationAgent) obj; |
Method Summary | |
---|---|
void |
addIFeatureProgressListener(IFeatureProgress theListener)
addIFeatureProgressListener. |
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 |
createReplica2(java.lang.String versionName,
IGeoDataServer srcGDS,
IGeoDataServer destGDS,
java.lang.String replicaName,
IGPReplicaDescription desc,
IGPReplicaOptions repOptions,
java.lang.String layersFolder)
Creates a replica pair and optionally layers in the workspaces bound to the input geodataservers. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
extractData(java.lang.String versionName,
IGeoDataServer srcGDS,
IGeoDataServer destGDS,
IGPReplicaDescription desc)
Extracts data from the source geodata server into the destination geodata server. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a ReplicationAgent. |
void |
removeIFeatureProgressListener(IFeatureProgress theListener)
removeIFeatureProgressListener. |
void |
setCancelTrackerByRef(ITrackCancel rhs1)
The cancel tracker to inspect for user cancellations. |
boolean |
synchronizeReplica(IGeoDataServer gds1,
IGeoDataServer gds2,
IGPReplica rep1,
IGPReplica rep2,
int pol,
int dir,
boolean columnLevel)
Synchronizes a replica pair. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicationAgent() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic ReplicationAgent(java.lang.Object obj) throws java.io.IOException
ReplicationAgent theReplicationAgent = (ReplicationAgent) obj;
obj
to ReplicationAgent
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIFeatureProgressListener(IFeatureProgress theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
java.io.IOException
- If there are communications problems.public void removeIFeatureProgressListener(IFeatureProgress theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void createReplica(java.lang.String versionName, IGeoDataServer srcGDS, IGeoDataServer destGDS, java.lang.String replicaName, IGPReplicaDescription desc, IGPReplicaOptions repOptions) throws java.io.IOException, AutomationException
createReplica
in interface IReplicationAgent
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean synchronizeReplica(IGeoDataServer gds1, IGeoDataServer gds2, IGPReplica rep1, IGPReplica rep2, int pol, int dir, boolean columnLevel) throws java.io.IOException, AutomationException
synchronizeReplica
in interface IReplicationAgent
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void extractData(java.lang.String versionName, IGeoDataServer srcGDS, IGeoDataServer destGDS, IGPReplicaDescription desc) throws java.io.IOException, AutomationException
extractData
in interface IReplicationAgent
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createReplica2(java.lang.String versionName, IGeoDataServer srcGDS, IGeoDataServer destGDS, java.lang.String replicaName, IGPReplicaDescription desc, IGPReplicaOptions repOptions, java.lang.String layersFolder) throws java.io.IOException, AutomationException
createReplica2
in interface IReplicationAgent2
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)layersFolder
- The layersFolder (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCancelTrackerByRef(ITrackCancel rhs1) throws java.io.IOException, AutomationException
setCancelTrackerByRef
in interface IReplicationAgentCancelControl
rhs1
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |