com.esri.arcgis.editor
Class VersionChangesWindow

java.lang.Object
  extended by com.esri.arcgis.editor.VersionChangesWindow
All Implemented Interfaces:
IVersionChangesWindow, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class VersionChangesWindow
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IVersionChangesWindow

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

Description 'Window used to find changes between versions.' 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.IVersionChangesWindow
IID, IID5203ad2e_ffdc_4357_ba9f_45175813d590, xxDummy
 
Constructor Summary
VersionChangesWindow()
          Constructs a VersionChangesWindow using ArcGIS Engine.
VersionChangesWindow(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
VersionChangesWindow theVersionChangesWindow = (VersionChangesWindow) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String esri_getClass(int index)
          Class by index.
 IObjectClass findClass(java.lang.String className, int vers)
          Finds a cached table corresponding to specified version.
 int getClassCount()
          The number of classes with changes.
static java.lang.String getClsid()
          getClsid.
 int getCurrentChangeType()
          Change Type of the selected row or feature.
 java.lang.String getCurrentClass()
          Class name of the selected row or feature.
 int getCurrentRow()
          ID of the current row or feature.
 IEnumIDs getIDs(java.lang.String className, int changeType)
          Enumerate the difference row IDs of the current class.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ILongArray getSelectedFieldIndexes()
          The indexes of the fields in the row that are currently selected.
 int hashCode()
          the hashcode for this object
 boolean initialize(int parentHwnd, IMap pMap, IVersion pSourceVersion, IVersion pTargetVersion, IEnvelope pEnvelope, ITrackCancel pTrackCancel)
          Initialize Version Changes Window.
 boolean isVisible()
          Indicates if Version Changes Window is visible.
 boolean refreshChanges(ITrackCancel pTrackCancel)
          Re-Discover changes and re-populate window.
 void release()
          Release a VersionChangesWindow.
 void setVisible(boolean pVisible)
          Indicates if Version Changes Window is visible.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionChangesWindow

public VersionChangesWindow()
                     throws java.io.IOException,
                            java.net.UnknownHostException
Constructs a VersionChangesWindow using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

VersionChangesWindow

public VersionChangesWindow(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
VersionChangesWindow theVersionChangesWindow = (VersionChangesWindow) obj;

Construct a VersionChangesWindow using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to VersionChangesWindow.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


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 VersionChangesWindow.

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

initialize

public boolean initialize(int parentHwnd,
                          IMap pMap,
                          IVersion pSourceVersion,
                          IVersion pTargetVersion,
                          IEnvelope pEnvelope,
                          ITrackCancel pTrackCancel)
                   throws java.io.IOException,
                          AutomationException
Initialize Version Changes Window.

Specified by:
initialize in interface IVersionChangesWindow
Parameters:
parentHwnd - The parentHwnd (A COM typedef) (in)
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
pSourceVersion - A reference to a com.esri.arcgis.geodatabase.IVersion (in)
pTargetVersion - A reference to a com.esri.arcgis.geodatabase.IVersion (in)
pEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
The pCanceled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshChanges

public boolean refreshChanges(ITrackCancel pTrackCancel)
                       throws java.io.IOException,
                              AutomationException
Re-Discover changes and re-populate window.

Specified by:
refreshChanges in interface IVersionChangesWindow
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
The pCanceled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisible

public void setVisible(boolean pVisible)
                throws java.io.IOException,
                       AutomationException
Indicates if Version Changes Window is visible.

Specified by:
setVisible in interface IVersionChangesWindow
Parameters:
pVisible - The pVisible (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 Version Changes Window is visible.

Specified by:
isVisible in interface IVersionChangesWindow
Returns:
The pVisible
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 IVersionChangesWindow
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.

getCurrentRow

public int getCurrentRow()
                  throws java.io.IOException,
                         AutomationException
ID of the current row or feature.

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

getCurrentChangeType

public int getCurrentChangeType()
                         throws java.io.IOException,
                                AutomationException
Change Type of the selected row or feature.

Specified by:
getCurrentChangeType in interface IVersionChangesWindow
Returns:
A com.esri.arcgis.editor.esriChangeType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentClass

public java.lang.String getCurrentClass()
                                 throws java.io.IOException,
                                        AutomationException
Class name of the selected row or feature.

Specified by:
getCurrentClass in interface IVersionChangesWindow
Returns:
The pClassName
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 changes.

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

esri_getClass

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

Specified by:
esri_getClass in interface IVersionChangesWindow
Parameters:
index - The index (in)
Returns:
The pClassName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIDs

public IEnumIDs getIDs(java.lang.String className,
                       int changeType)
                throws java.io.IOException,
                       AutomationException
Enumerate the difference row IDs of the current class.

Specified by:
getIDs in interface IVersionChangesWindow
Parameters:
className - The className (in)
changeType - A com.esri.arcgis.editor.esriChangeType constant (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.

findClass

public IObjectClass findClass(java.lang.String className,
                              int vers)
                       throws java.io.IOException,
                              AutomationException
Finds a cached table corresponding to specified version.

Specified by:
findClass in interface IVersionChangesWindow
Parameters:
className - The className (in)
vers - A com.esri.arcgis.editor.esriChangeVersion constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IObjectClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.