com.esri.arcgis.catalogUI
Class AGSPublishToolboxDialog

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

public class AGSPublishToolboxDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGSPublishToolboxAdminDialog

ArcGIS Server Toolbox Publish Dialog.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
AGSPublishToolboxDialog()
          Constructs a AGSPublishToolboxDialog using ArcGIS Engine.
AGSPublishToolboxDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AGSPublishToolboxDialog theAGSPublishToolboxDialog = (AGSPublishToolboxDialog) obj;
 
Method Summary
 boolean doModalPublish(int hParent, IGPToolbox pGpToolbox)
          Displays the dialog to publish a toolbox.
 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

AGSPublishToolboxDialog

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

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

AGSPublishToolboxDialog

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

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

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

doModalPublish

public boolean doModalPublish(int hParent,
                              IGPToolbox pGpToolbox)
                       throws IOException,
                              AutomationException
Displays the dialog to publish a toolbox.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModalPublish in interface IAGSPublishToolboxAdminDialog
Parameters:
hParent - The hParent (A COM typedef) (in)
pGpToolbox - A reference to a com.esri.arcgis.geoprocessing.IGPToolbox (in)
Returns:
The pSuccess
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.