com.esri.arcgis.catalogUI
Class AddAGSDialog

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

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

Add ArcGIS Server Dialog.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

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

AddAGSDialog

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

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

AddAGSDialog

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

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

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.