com.esri.arcgis.geodatabasedistributed
Interface IImportDataChanges2

All Superinterfaces:
IImportDataChanges, Serializable
All Known Subinterfaces:
IImportDataChanges3
All Known Implementing Classes:
DataChangesImporter, IImportDataChanges2Proxy, IImportDataChanges3Proxy

public interface IImportDataChanges2
extends IImportDataChanges, Serializable

Provides access to members that import edits or check in from a delta file to a geodatabase.

Remarks

The IImportChanges2 interface provides a method for importing from delta files into replica geodatabases. See the DataChangesExporter coclass for more information on delta files.

Product Availability

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


Method Summary
 boolean importDataChanges2(IWorkspaceName workspaceName, IDeltaDataChanges deltaDataChanges, boolean reconcileWithParent, int reconcilePolicy, boolean columnLevel, boolean createOIDMappingTable)
          Imports data.
 
Methods inherited from interface com.esri.arcgis.geodatabasedistributed.IImportDataChanges
importDataChanges
 

Method Detail

importDataChanges2

boolean importDataChanges2(IWorkspaceName workspaceName,
                           IDeltaDataChanges deltaDataChanges,
                           boolean reconcileWithParent,
                           int reconcilePolicy,
                           boolean columnLevel,
                           boolean createOIDMappingTable)
                           throws IOException,
                                  AutomationException
Imports data.

Remarks

The ImportDataChange2 method imports edits into replica geodatabases from delta files. See the DataChangesExporter coclass and the ReplicationDataChanges coclass for more information on exporting delta files from replicas.

The WorkspaceName argument refers to the ArcSDE geodatabase into which the changes will be imported. The DeltaDataChanges argument references the delta file. See the DeltaDataChanges coclass for more information.

The ReconcilePolicy can be used to define how conflicts will be handled if they are detected during the import. See the esriReplicaReconcilePolicy enumeration for more information.

This method returns TRUE if conflicts are detected and FALSE if no conflicts are detected on import.

Product Availability

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

Parameters:
workspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
deltaDataChanges - A reference to a com.esri.arcgis.geodatabasedistributed.IDeltaDataChanges (in)
reconcileWithParent - The reconcileWithParent (in)
reconcilePolicy - A com.esri.arcgis.geodatabase.esriReplicaReconcilePolicyType constant (in)
columnLevel - The columnLevel (in)
createOIDMappingTable - The createOIDMappingTable (in)
Returns:
The pConflictDetected
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.