com.esri.arcgis.editor
Class ConflictsWindow

java.lang.Object
  extended by com.esri.arcgis.editor.ConflictsWindow
All Implemented Interfaces:
IConflictDisplay, IConflictsWindow, IConflictsWindow2, IConflictsWindow3, com.esri.arcgis.interop.RemoteObjRef, IExtension, java.io.Serializable

public class ConflictsWindow
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IConflictsWindow, IConflictsWindow2, IConflictsWindow3, IConflictDisplay, IExtension

COM Class 'ConflictsWindow'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description 'Window used to resolve versioning conflicts.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.editor.IConflictsWindow3
IID, IIDe6aed5ea_fa73_48dd_9535_af890862a404, xxDummy
 
Fields inherited from interface com.esri.arcgis.editor.IConflictsWindow2
IID903f0c5b_b203_48d9_a136_797934cae895
 
Fields inherited from interface com.esri.arcgis.editor.IConflictsWindow
IID121a14e0_96b0_11d2_8526_0000f875b9c6
 
Fields inherited from interface com.esri.arcgis.editor.IConflictDisplay
IID, IID121a14e1_96b0_11d2_8526_0000f875b9c6, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Constructor Summary
ConflictsWindow(java.lang.Object obj)
          Construct a ConflictsWindow using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 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.
 IFillSymbol getFillSymbol(int vers)
          Display symbol used to draw polygon features.
 IEnumIDs getIDs(IConflictClass conflictClass)
          Enumerate the feature IDs for a ConflictClass.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ILineSymbol getLineSymbol(int vers)
          Display symbol used to draw line features.
 IMarkerSymbol getMarkerSymbol(int vers)
          Display symbol used to draw point features.
 java.lang.String getName()
          The name of the extension.
 ILongArray getSelectedFieldIndexes()
          The indexes of the fields in the row that are currently selected.
 boolean hasConflicts()
          Indicates if conflicts have been detected.
 int hashCode()
          the hashcode for this object
 boolean isCurrentVisited()
          Indicates whether the visited state of the current selected tree item.
 boolean isShowOnConflictsDetected()
          Indicates whether the conficts window is displayed when a conflicts event is fired.
 boolean isVersionVisible(int vers)
          Indicates whether the specified version is visible in the conflicts window.
 boolean isVisible()
          Indicates if Conflicts Window is visible.
 void release()
          Release a ConflictsWindow.
 void removeClass(IConflictClass conflictClass)
          Removes the conlict class from the window.
 void reset()
          Resets the conflicts.
 void setCurrentVisited(boolean visited)
          Indicates whether the visited state of the current selected tree item.
 void setFillSymbolByRef(int vers, IFillSymbol symbol)
          Display symbol used to draw polygon features.
 void setLineSymbolByRef(int vers, ILineSymbol symbol)
          Display symbol used to draw line features.
 void setMarkerSymbolByRef(int vers, IMarkerSymbol symbol)
          Display symbol used to draw point features.
 void setShowOnConflictsDetected(boolean showWindow)
          Indicates whether the conficts window is displayed when a conflicts event is fired.
 void setVersionVisible(int vers, boolean visible)
          Indicates whether the specified version is visible in the conflicts window.
 void setVisible(boolean vis)
          Indicates if Conflicts Window is visible.
 void shutdown()
          Shuts down the extension.
 void startup(java.lang.Object initializationData)
          Starts up the extension with the given initialization data.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConflictsWindow

public ConflictsWindow(java.lang.Object obj)
                throws java.io.IOException
Construct a ConflictsWindow using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ConflictsWindow.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ConflictsWindow o = (ConflictsWindow)obj; // will not work

ConflictsWindow o = new ConflictsWindow(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ConflictsWindow theConflictsWindow = (ConflictsWindow) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ConflictsWindow.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setVisible

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

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

isVisible

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

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

hasConflicts

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

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

getCurrentRow

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

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

getCurrentClass

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

Specified by:
getCurrentClass in interface IConflictsWindow
Returns:
A reference to a com.esri.arcgis.geodatabase.IConflictClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassCount

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

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

esri_getClass

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

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

getIDs

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

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

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

findTable

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeClass

public void removeClass(IConflictClass conflictClass)
                 throws java.io.IOException,
                        AutomationException
Removes the conlict class from the window.

Specified by:
removeClass in interface IConflictsWindow2
Parameters:
conflictClass - A reference to a com.esri.arcgis.geodatabase.IConflictClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShowOnConflictsDetected

public void setShowOnConflictsDetected(boolean showWindow)
                                throws java.io.IOException,
                                       AutomationException
Indicates whether the conficts window is displayed when a conflicts event is fired.

Specified by:
setShowOnConflictsDetected in interface IConflictsWindow3
Parameters:
showWindow - The showWindow (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowOnConflictsDetected

public boolean isShowOnConflictsDetected()
                                  throws java.io.IOException,
                                         AutomationException
Indicates whether the conficts window is displayed when a conflicts event is fired.

Specified by:
isShowOnConflictsDetected in interface IConflictsWindow3
Returns:
The showWindow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedFieldIndexes

public ILongArray getSelectedFieldIndexes()
                                   throws java.io.IOException,
                                          AutomationException
The indexes of the fields in the row that are currently selected.

Specified by:
getSelectedFieldIndexes in interface IConflictsWindow3
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCurrentVisited

public boolean isCurrentVisited()
                         throws java.io.IOException,
                                AutomationException
Indicates whether the visited state of the current selected tree item.

Specified by:
isCurrentVisited in interface IConflictsWindow3
Returns:
The visited
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCurrentVisited

public void setCurrentVisited(boolean visited)
                       throws java.io.IOException,
                              AutomationException
Indicates whether the visited state of the current selected tree item.

Specified by:
setCurrentVisited in interface IConflictsWindow3
Parameters:
visited - The visited (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVersionVisible

public boolean isVersionVisible(int vers)
                         throws java.io.IOException,
                                AutomationException
Indicates whether the specified version is visible in the conflicts window.

Specified by:
isVersionVisible in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
Returns:
The visible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVersionVisible

public void setVersionVisible(int vers,
                              boolean visible)
                       throws java.io.IOException,
                              AutomationException
Indicates whether the specified version is visible in the conflicts window.

Specified by:
setVersionVisible in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
visible - The visible (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMarkerSymbol

public IMarkerSymbol getMarkerSymbol(int vers)
                              throws java.io.IOException,
                                     AutomationException
Display symbol used to draw point features.

Specified by:
getMarkerSymbol in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
Returns:
A reference to a com.esri.arcgis.display.IMarkerSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarkerSymbolByRef

public void setMarkerSymbolByRef(int vers,
                                 IMarkerSymbol symbol)
                          throws java.io.IOException,
                                 AutomationException
Display symbol used to draw point features.

Specified by:
setMarkerSymbolByRef in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
symbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLineSymbol

public ILineSymbol getLineSymbol(int vers)
                          throws java.io.IOException,
                                 AutomationException
Display symbol used to draw line features.

Specified by:
getLineSymbol in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
Returns:
A reference to a com.esri.arcgis.display.ILineSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLineSymbolByRef

public void setLineSymbolByRef(int vers,
                               ILineSymbol symbol)
                        throws java.io.IOException,
                               AutomationException
Display symbol used to draw line features.

Specified by:
setLineSymbolByRef in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
symbol - A reference to a com.esri.arcgis.display.ILineSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFillSymbol

public IFillSymbol getFillSymbol(int vers)
                          throws java.io.IOException,
                                 AutomationException
Display symbol used to draw polygon features.

Specified by:
getFillSymbol in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
Returns:
A reference to a com.esri.arcgis.display.IFillSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFillSymbolByRef

public void setFillSymbolByRef(int vers,
                               IFillSymbol symbol)
                        throws java.io.IOException,
                               AutomationException
Display symbol used to draw polygon features.

Specified by:
setFillSymbolByRef in interface IConflictDisplay
Parameters:
vers - A com.esri.arcgis.editor.esriVersion constant (in)
symbol - A reference to a com.esri.arcgis.display.IFillSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the extension.

Specified by:
getName in interface IExtension
Returns:
The extensionName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public void startup(java.lang.Object initializationData)
             throws java.io.IOException,
                    AutomationException
Starts up the extension with the given initialization data.

Specified by:
startup in interface IExtension
Parameters:
initializationData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Shuts down the extension.

Specified by:
shutdown in interface IExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.