com.esri.arcgis.geodatabaseui
Class GdbAdminWindowFactory

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

public class GdbAdminWindowFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGdbAdminWindowFactory

A window for administering enterprise Geodatabases.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
GdbAdminWindowFactory()
          Constructs a GdbAdminWindowFactory using ArcGIS Engine.
GdbAdminWindowFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GdbAdminWindowFactory theGdbAdminWindowFactory = (GdbAdminWindowFactory) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void open(IWorkspace workspace)
          Opens the Geodatabase administration window.
 void showConnectedUsers(IWorkspace workspace)
          Opens the Geodatabase administration window to show user connected to the database.
 void showDatasetLocks(IDatasetName dataset)
          Opens the Geodatabase adminstration window to show locks on the dataset.
 
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

GdbAdminWindowFactory

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

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

GdbAdminWindowFactory

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

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

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

open

public void open(IWorkspace workspace)
          throws IOException,
                 AutomationException
Opens the Geodatabase administration window.

Product Availability

Available with ArcGIS Desktop.

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

showConnectedUsers

public void showConnectedUsers(IWorkspace workspace)
                        throws IOException,
                               AutomationException
Opens the Geodatabase administration window to show user connected to the database.

Product Availability

Available with ArcGIS Desktop.

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

showDatasetLocks

public void showDatasetLocks(IDatasetName dataset)
                      throws IOException,
                             AutomationException
Opens the Geodatabase adminstration window to show locks on the dataset.

Product Availability

Available with ArcGIS Desktop.

Specified by:
showDatasetLocks in interface IGdbAdminWindowFactory
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.