com.esri.arcgis.geodatabase
Interface IConflictClass

All Superinterfaces:
Serializable
All Known Implementing Classes:
IConflictClassProxy

public interface IConflictClass
extends Serializable

Provides access to members that control the conflict class.

Description

References to the IConflictClass interface are obtained from the IEnumConflictClass enumerator. It is provided as a mechanism to work with conflicting rows from each conflict class after performing a reconcile. If IVersionEdit.Reconcile is not been called prior to getting a reference to the IEnumConflictClass enumerator, the classes will not be available.

Product Availability

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


Method Summary
 ISelectionSet getDeleteUpdates()
          The selection set of all the objects which are delete/update conflicts.
 ISelectionSet getUpdateDeletes()
          The selection set of all the objects which are update/delete conflicts.
 ISelectionSet getUpdateUpdates()
          The selection set of all the objects which are update/update conflicts.
 boolean isHasConflicts()
          Indicates if the conflict class contains conflicts.
 IRow restoreRow(int rowID)
          Restores the row from either the reconcile version or the prereconcile version.
 

Method Detail

isHasConflicts

boolean isHasConflicts()
                       throws IOException,
                              AutomationException
Indicates if the conflict class contains conflicts.

Remarks

The HasConflicts method returns a Boolean if the conflict class contains conflicts.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The hasConflicts
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpdateDeletes

ISelectionSet getUpdateDeletes()
                               throws IOException,
                                      AutomationException
The selection set of all the objects which are update/delete conflicts.

Remarks

The UpdateDeletes method returns an ISelectionSet of all the object IDs of rows that have been updated in the edit version and deleted in the target reconcile version. If no conflicts were detected the selection set is null.

The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeleteUpdates

ISelectionSet getDeleteUpdates()
                               throws IOException,
                                      AutomationException
The selection set of all the objects which are delete/update conflicts.

Remarks

The DeleteUpdates method returns an ISelectionSet of all the object IDs of rows that have been deleted in the edit version and updated in the target reconcile version. If no conflicts were detected the selection set is null.

The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpdateUpdates

ISelectionSet getUpdateUpdates()
                               throws IOException,
                                      AutomationException
The selection set of all the objects which are update/update conflicts.

Remarks

The UpdateUpdates method returns an ISelectionSet of all the object IDs of rows that have been updated in the edit version and updated in the target reconcile version. If no conflicts were detected the selection set is null.

The selection set returned from the method can also be used to remove object IDs from the Editor's conflicts window.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

restoreRow

IRow restoreRow(int rowID)
                throws IOException,
                       AutomationException
Restores the row from either the reconcile version or the prereconcile version.

Remarks

The RestoreRow method should only be called in the case of restoring a row that was removed in the edit session because of a DeleteUpdate conflict with the target version.

The row is restored from the pre-reconcile version that represents the state of the database prior to the reconcile operation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rowID - The rowID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.