com.esri.arcgis.geodatabaseui
Class VersionManager

java.lang.Object
  extended by com.esri.arcgis.geodatabaseui.VersionManager
All Implemented Interfaces:
IConnectionPointContainer, IVersionManager, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class VersionManager
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IVersionManager, IConnectionPointContainer

A dialog for managing versions in a versioned geodatabase.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
VersionManager()
          Constructs a VersionManager using ArcGIS Engine.
VersionManager(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
VersionManager theVersionManager = (VersionManager) obj;
 
Method Summary
 void addIVersionManagerEventsListener(IVersionManagerEvents theListener)
          addIVersionManagerEventsListener.
 void doModal(IVersionedWorkspace vw)
          Displays the dialog used to manage versions for a versioned geodatabase.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeIVersionManagerEventsListener(IVersionManagerEvents theListener)
          removeIVersionManagerEventsListener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

VersionManager

public VersionManager()
               throws IOException,
                      UnknownHostException
Constructs a VersionManager using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

VersionManager

public VersionManager(Object obj)
               throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
VersionManager theVersionManager = (VersionManager) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

addIVersionManagerEventsListener

public void addIVersionManagerEventsListener(IVersionManagerEvents theListener)
                                      throws IOException
addIVersionManagerEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabaseui.IVersionManagerEvents interface.
Throws:
IOException - If there are communications problems.

removeIVersionManagerEventsListener

public void removeIVersionManagerEventsListener(IVersionManagerEvents theListener)
                                         throws IOException
removeIVersionManagerEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabaseui.IVersionManagerEvents interface.
Throws:
IOException - If there are communications problems.

doModal

public void doModal(IVersionedWorkspace vw)
             throws IOException,
                    AutomationException
Displays the dialog used to manage versions for a versioned geodatabase.

Remarks

The DoModal method starts the Version Manager obect by specifying a target versioned workspace.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface IVersionManager
Parameters:
vw - A reference to a com.esri.arcgis.geodatabase.IVersionedWorkspace (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws IOException,
                                 AutomationException
enumConnectionPoints

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws IOException,
                                AutomationException
findConnectionPoint

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.