com.esri.arcgis.geodatabaseui
Class PrivilegesDialog

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

public class PrivilegesDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPrivilegesDialog

A dialog for viewing and editing dataset privileges

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
PrivilegesDialog()
          Constructs a PrivilegesDialog using ArcGIS Engine.
PrivilegesDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PrivilegesDialog thePrivilegesDialog = (PrivilegesDialog) obj;
 
Method Summary
 void doModal(IDatasetName dataset)
          Show the privileges dialog based on the provided dataset.
 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

PrivilegesDialog

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

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

PrivilegesDialog

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

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

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 void doModal(IDatasetName dataset)
             throws IOException,
                    AutomationException
Show the privileges dialog based on the provided dataset.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModal in interface IPrivilegesDialog
Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.