com.esri.arcgis.catalogUI
Class AddAGSDiscoveryDialog

java.lang.Object
  extended by com.esri.arcgis.catalogUI.AddAGSDiscoveryDialog
All Implemented Interfaces:
IAGSConnectionAdminDialog, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class AddAGSDiscoveryDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGSConnectionAdminDialog

Add ArcGIS Discovery Server Dialog.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
AddAGSDiscoveryDialog()
          Constructs a AddAGSDiscoveryDialog using ArcGIS Engine.
AddAGSDiscoveryDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AddAGSDiscoveryDialog theAddAGSDiscoveryDialog = (AddAGSDiscoveryDialog) obj;
 
Method Summary
 IAGSServerConnection doModalCreateServerConnection(int hParent, Object[] selectedResources)
          Displays the dialog to create a new server connection.
 void doModalUpdateServerConnection(int hParent, Object[] selectedResources, IGxAGSConnection[] ppGxAGSConn)
          Displays the dialog to update an existing server connection.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 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

AddAGSDiscoveryDialog

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

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

AddAGSDiscoveryDialog

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

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

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

doModalCreateServerConnection

public IAGSServerConnection doModalCreateServerConnection(int hParent,
                                                          Object[] selectedResources)
                                                   throws IOException,
                                                          AutomationException
Displays the dialog to create a new server connection.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModalCreateServerConnection in interface IAGSConnectionAdminDialog
Parameters:
hParent - The hParent (A COM typedef) (in)
selectedResources - A Variant (in/out: use single element array)
Returns:
A reference to a com.esri.arcgis.gisclient.IAGSServerConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalUpdateServerConnection

public void doModalUpdateServerConnection(int hParent,
                                          Object[] selectedResources,
                                          IGxAGSConnection[] ppGxAGSConn)
                                   throws IOException,
                                          AutomationException
Displays the dialog to update an existing server connection.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModalUpdateServerConnection in interface IAGSConnectionAdminDialog
Parameters:
hParent - The hParent (A COM typedef) (in)
selectedResources - A Variant (in/out: use single element array)
ppGxAGSConn - A reference to a com.esri.arcgis.catalog.IGxAGSConnection (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.