com.esri.arcgis.geodatabasedistributed
Interface IExportDataChanges

All Superinterfaces:
Serializable
All Known Subinterfaces:
IExportDataChanges2
All Known Implementing Classes:
DataChangesExporter

public interface IExportDataChanges
extends Serializable

Provides access to members that export edits from versions or a check-out geodatabase to a delta file.

Superseded By

IExportDataChanges2

Remarks

The IExportdataChanges interface provides a method to export edits in a check-out or edits between source and target versions to a delta file. This method always creates full model type delta files. There are no components provided to create simple model type delta files. However, the XML format for an update-gram is published and can be used by any application to create these files.

See the DataChangesExporter coclass for more information on delta files.

Product Availability

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

See Also:
DataChangesImporter, DeltaDataChanges

Method Summary
 void exportDataChanges(String exportFileName, int exportOption, IDataChanges dataChanges, boolean overwriteIfExists)
          Exports the edits to a delta file.
 

Method Detail

exportDataChanges

void exportDataChanges(String exportFileName,
                       int exportOption,
                       IDataChanges dataChanges,
                       boolean overwriteIfExists)
                       throws IOException,
                              AutomationException
Exports the edits to a delta file.

Remarks

The ExportDataChanges method exports the edits from a check-out/check-in replica or source and target version to a delta file. To export edits from a two way or one way replica use the methods available of the IExportDataChanges2 interface.

The exportoption parameter controls whether the result will be XML, a delta database, or a delta file geodatabase. The datachanges parameter must reference a CheckoutDataChanges object to export edits in a check-out or a VersionDataChanges object to export edits between source and target versions. The overwriteexists parameter indicates if the target database will be overwritten during the export.


Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
exportFileName - The exportFileName (in)
exportOption - A com.esri.arcgis.geodatabasedistributed.esriExportDataChangesOption constant (in)
dataChanges - A reference to a com.esri.arcgis.geodatabasedistributed.IDataChanges (in)
overwriteIfExists - The overwriteIfExists (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.