com.esri.arcgis.catalogUI
Class AGSConnectionAdminDialog

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

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

ArcGIS Server Connection Admin tools.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
AGSConnectionAdminDialog()
          Constructs a AGSConnectionAdminDialog using ArcGIS Engine.
AGSConnectionAdminDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AGSConnectionAdminDialog theAGSConnectionAdminDialog = (AGSConnectionAdminDialog) 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

AGSConnectionAdminDialog

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

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

AGSConnectionAdminDialog

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

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

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.