com.esri.arcgis.geodatabasedistributed
Class CheckInDataSynchronizer

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.CheckInDataSynchronizer
All Implemented Interfaces:
ICheckInDataSynchronizer, ICheckInDataSynchronizer2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class CheckInDataSynchronizer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ICheckInDataSynchronizer, ICheckInDataSynchronizer2

COM Class 'CheckInDataSynchronizer'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabaseDistributed.olb'

Description 'Synchronizes changes from a check-out with the master geodatabase.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.ICheckInDataSynchronizer2
IID, IIDbb18b086_729b_4990_ab3e_a457cc584548, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.ICheckInDataSynchronizer
IID73987267_11c4_477b_ae52_3dfb7dc62918
 
Constructor Summary
CheckInDataSynchronizer()
          Constructs a CheckInDataSynchronizer using ArcGIS Engine.
CheckInDataSynchronizer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CheckInDataSynchronizer theCheckInDataSynchronizer = (CheckInDataSynchronizer) obj;
 
Method Summary
 void addIFeatureProgressListener(IFeatureProgress theListener)
          addIFeatureProgressListener.
 void addIReplicaProgressListener(IReplicaProgress theListener)
          addIReplicaProgressListener.
 boolean equals(java.lang.Object o)
          Compare this object with another
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 CheckInDataSynchronizer.
 void removeIFeatureProgressListener(IFeatureProgress theListener)
          removeIFeatureProgressListener.
 void removeIReplicaProgressListener(IReplicaProgress theListener)
          removeIReplicaProgressListener.
 boolean synchronize(IDataChanges dataChanges, java.lang.String editVersionName, IWorkspaceName parentWorkspace, boolean reconcileCheckout, boolean createOIDMappingTable)
          Synchronizes the changes in the check-out geodatabase or delta database with the master geodatabase.
 boolean synchronize2(IDataChanges dataChanges, java.lang.String editVersionName, IWorkspaceName parentWorkspace, boolean reconcileCheckout, int reconcilePolicy, boolean columnLevel, boolean createOIDMappingTable)
          Synchronizes the changes in the check-out geodatabase or delta database with the master geodatabase.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckInDataSynchronizer

public CheckInDataSynchronizer()
                        throws java.io.IOException,
                               java.net.UnknownHostException
Constructs a CheckInDataSynchronizer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

CheckInDataSynchronizer

public CheckInDataSynchronizer(java.lang.Object obj)
                        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CheckInDataSynchronizer theCheckInDataSynchronizer = (CheckInDataSynchronizer) obj;

Construct a CheckInDataSynchronizer using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to CheckInDataSynchronizer.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

addIFeatureProgressListener

public void addIFeatureProgressListener(IFeatureProgress theListener)
                                 throws java.io.IOException
addIFeatureProgressListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

removeIFeatureProgressListener

public void removeIFeatureProgressListener(IFeatureProgress theListener)
                                    throws java.io.IOException
removeIFeatureProgressListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

addIReplicaProgressListener

public void addIReplicaProgressListener(IReplicaProgress theListener)
                                 throws java.io.IOException
addIReplicaProgressListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IReplicaProgress interface.
Throws:
java.io.IOException - If there are communications problems.

removeIReplicaProgressListener

public void removeIReplicaProgressListener(IReplicaProgress theListener)
                                    throws java.io.IOException
removeIReplicaProgressListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IReplicaProgress interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a CheckInDataSynchronizer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

synchronize

public boolean synchronize(IDataChanges dataChanges,
                           java.lang.String editVersionName,
                           IWorkspaceName parentWorkspace,
                           boolean reconcileCheckout,
                           boolean createOIDMappingTable)
                    throws java.io.IOException,
                           AutomationException
Synchronizes the changes in the check-out geodatabase or delta database with the master geodatabase.

Specified by:
synchronize in interface ICheckInDataSynchronizer
Parameters:
dataChanges - A reference to a com.esri.arcgis.geodatabasedistributed.IDataChanges (in)
editVersionName - The editVersionName (in)
parentWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
reconcileCheckout - The reconcileCheckout (in)
createOIDMappingTable - The createOIDMappingTable (in)
Returns:
The conflictsDetected
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronize2

public boolean synchronize2(IDataChanges dataChanges,
                            java.lang.String editVersionName,
                            IWorkspaceName parentWorkspace,
                            boolean reconcileCheckout,
                            int reconcilePolicy,
                            boolean columnLevel,
                            boolean createOIDMappingTable)
                     throws java.io.IOException,
                            AutomationException
Synchronizes the changes in the check-out geodatabase or delta database with the master geodatabase.

Specified by:
synchronize2 in interface ICheckInDataSynchronizer2
Parameters:
dataChanges - A reference to a com.esri.arcgis.geodatabasedistributed.IDataChanges (in)
editVersionName - The editVersionName (in)
parentWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
reconcileCheckout - The reconcileCheckout (in)
reconcilePolicy - A com.esri.arcgis.geodatabase.esriReplicaReconcilePolicyType constant (in)
columnLevel - The columnLevel (in)
createOIDMappingTable - The createOIDMappingTable (in)
Returns:
The conflictsDetected
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.