com.esri.arcgis.editor
Class IConflictsWindowProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.IConflictsWindowProxy
All Implemented Interfaces:
IConflictsWindow, Externalizable, Serializable
Direct Known Subclasses:
IConflictsWindow2Proxy

public class IConflictsWindowProxy
extends com.esri.arcgis.interop.Dispatch
implements IConflictsWindow, 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.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IConflictsWindowProxy()
           
  IConflictsWindowProxy(Object obj)
           
protected IConflictsWindowProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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 removeListener(String iidStr, Object theListener)
           
 void reset()
          Resets the conflicts.
 void setVisible(boolean vis)
          Indicates if Conflicts Window is visible.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IConflictsWindowProxy

public IConflictsWindowProxy()

IConflictsWindowProxy

public IConflictsWindowProxy(Object obj)
                      throws IOException
Throws:
IOException

IConflictsWindowProxy

protected IConflictsWindowProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

setVisible

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

isVisible

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
isVisible in interface IConflictsWindow
Returns:
The vis
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasConflicts

public 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

Specified by:
hasConflicts in interface IConflictsWindow
Returns:
The conflicts
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentRow

public 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

Specified by:
getCurrentRow in interface IConflictsWindow
Returns:
The fid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentClass

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getCurrentClass in interface IConflictsWindow
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

public 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

Specified by:
getClassCount in interface IConflictsWindow
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_getClass

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

Product Availability

Available with ArcGIS Desktop.

Specified by:
esri_getClass in interface IConflictsWindow
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

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

Product Availability

Available with ArcGIS Desktop.

Specified by:
getIDs in interface IConflictsWindow
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

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
reset in interface IConflictsWindow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findTable

public 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

Specified by:
findTable in interface IConflictsWindow
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.