com.esri.arcgis.geodatabaseui
Class NewVersionDialog

java.lang.Object
  extended by com.esri.arcgis.geodatabaseui.NewVersionDialog
All Implemented Interfaces:
INewVersionDialog, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class NewVersionDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INewVersionDialog

A dialog for creating new versions in a versioned geodatabase.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
NewVersionDialog()
          Constructs a NewVersionDialog using ArcGIS Engine.
NewVersionDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NewVersionDialog theNewVersionDialog = (NewVersionDialog) obj;
 
Method Summary
 boolean doModal()
          Displays the dialog used to create new versions in a versioned geodatabase.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int getVersionAccess()
          The level of access provided for the version.
 String getVersionDescription()
          The description of the version.
 String getVersionName()
          The name of the version.
 int hashCode()
          the hashcode for this object
 
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

NewVersionDialog

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

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

NewVersionDialog

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

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

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

doModal

public boolean doModal()
                throws IOException,
                       AutomationException
Displays the dialog used to create new versions in a versioned geodatabase.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface INewVersionDialog
Returns:
The okPressed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionName

public String getVersionName()
                      throws IOException,
                             AutomationException
The name of the version.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getVersionName in interface INewVersionDialog
Returns:
The versionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionDescription

public String getVersionDescription()
                             throws IOException,
                                    AutomationException
The description of the version.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getVersionDescription in interface INewVersionDialog
Returns:
The versionDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionAccess

public int getVersionAccess()
                     throws IOException,
                            AutomationException
The level of access provided for the version.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getVersionAccess in interface INewVersionDialog
Returns:
A com.esri.arcgis.geodatabase.esriVersionAccess constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.