com.esri.arcgis.editor
Interface IConflictsWindow

All Superinterfaces:
Serializable
All Known Subinterfaces:
IConflictsWindow2, IConflictsWindow3
All Known Implementing Classes:
ConflictsWindow, IConflictsWindow2Proxy, IConflictsWindow3Proxy, IConflictsWindowProxy

public interface IConflictsWindow
extends Serializable

Provides access to Conflicts Display Window.

Superseded By

IConflictsWindow3

Description

The IConflictsWindow interface allows you to manage the conflict display environment after performing a reconcile in the Editor, if conflicts were detected. If further post processing of conflicts is required, the interface provides the methods to work with the classes that contain conflicts and the individual rows that are conflicts. Removing conflicting rows from the selection sets and resetting the conflicts window allows you to programmatically remove rows and classes from the dialog.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IConflictClass esri_getClass(int index)
          Class by index.
 ITable findTable(IConflictClass conflictClass, int vers)
          Finds a cached table corresponding to the conflict class and version.
 int getClassCount()
          The number of classes with conflicts.
 IConflictClass getCurrentClass()
          Class of the selected feature, or 0 if no ConflictClass.
 int getCurrentRow()
          ID of the selected row or feature, or -1 if no current row.
 IEnumIDs getIDs(IConflictClass conflictClass)
          Enumerate the feature IDs for a ConflictClass.
 boolean hasConflicts()
          Indicates if conflicts have been detected.
 boolean isVisible()
          Indicates if Conflicts Window is visible.
 void reset()
          Resets the conflicts.
 void setVisible(boolean vis)
          Indicates if Conflicts Window is visible.
 

Method Detail

setVisible

void setVisible(boolean vis)
                throws IOException,
                       AutomationException
Indicates if Conflicts Window is visible.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
vis - The vis (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

boolean isVisible()
                  throws IOException,
                         AutomationException
Indicates if Conflicts Window is visible.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

hasConflicts

boolean hasConflicts()
                     throws IOException,
                            AutomationException
Indicates if conflicts have been detected.

Remarks

HasConflicts returns True if any classes are returned by IVersionEdit::ConflictClasses.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getCurrentRow

int getCurrentRow()
                  throws IOException,
                         AutomationException
ID of the selected row or feature, or -1 if no current row.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getCurrentClass

IConflictClass getCurrentClass()
                               throws IOException,
                                      AutomationException
Class of the selected feature, or 0 if no ConflictClass.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getClassCount

int getClassCount()
                  throws IOException,
                         AutomationException
The number of classes with conflicts.

Remarks

Use ClassCount to loop over the set of conflict classes.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

esri_getClass

IConflictClass esri_getClass(int index)
                             throws IOException,
                                    AutomationException
Class by index.

Product Availability

Available with ArcGIS Desktop.

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

getIDs

IEnumIDs getIDs(IConflictClass conflictClass)
                throws IOException,
                       AutomationException
Enumerate the feature IDs for a ConflictClass.

Product Availability

Available with ArcGIS Desktop.

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

reset

void reset()
           throws IOException,
                  AutomationException
Resets the conflicts.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

findTable

ITable findTable(IConflictClass conflictClass,
                 int vers)
                 throws IOException,
                        AutomationException
Finds a cached table corresponding to the conflict class and version.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
conflictClass - A reference to a com.esri.arcgis.geodatabase.IConflictClass (in)
vers - A com.esri.arcgis.editor.esriVersion constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.