com.esri.arcgis.catalog
Class IGxGDSConnectionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.catalog.IGxGDSConnectionProxy
All Implemented Interfaces:
IGxGDSConnection, Externalizable, Serializable

public class IGxGDSConnectionProxy
extends com.esri.arcgis.interop.Dispatch
implements IGxGDSConnection, Serializable

Provides access to members of GxObject that connects to a GeoData Server.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGxGDSConnectionProxy()
           
  IGxGDSConnectionProxy(Object obj)
           
protected IGxGDSConnectionProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void attachGeoDatabase(String gdbName, String gdbFileName)
          Attaches a Geodatabase.
 void connect()
          Connects to a GIS Data server.
 void createGeoDatabase(String gdbName, String gdbFileName, int gdbFileSize)
          Creates a new Geodatabase.
 void disconnect()
          Disconnects from a GIS Data server.
 Object getDataServerManager()
          The Data Server Manager object.
 String getServerName()
          The server name.
 boolean isAdministrator()
          Indicates whether the connected user is an administrator or not.
 boolean isConnected()
          Indicates whether the GIS Data server connection has been made.
 void pause()
          Pauses a Database server.
 void removeListener(String iidStr, Object theListener)
           
 void restoreGeodatabase(String gdbName, String backupFileName, String dbFileName)
          Restores a backup to the specified Geodatabase.
 void resume()
          Resumes a Database server.
 void start()
          Starts a Database server.
 void stop()
          Stops a Database server.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGxGDSConnectionProxy

public IGxGDSConnectionProxy()

IGxGDSConnectionProxy

public IGxGDSConnectionProxy(Object obj)
                      throws IOException
Throws:
IOException

IGxGDSConnectionProxy

protected IGxGDSConnectionProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

isConnected

public boolean isConnected()
                    throws IOException,
                           AutomationException
Indicates whether the GIS Data server connection has been made.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isConnected in interface IGxGDSConnection
Returns:
The isConnected
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAdministrator

public boolean isAdministrator()
                        throws IOException,
                               AutomationException
Indicates whether the connected user is an administrator or not.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isAdministrator in interface IGxGDSConnection
Returns:
The isAdministrator
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

connect

public void connect()
             throws IOException,
                    AutomationException
Connects to a GIS Data server.

Product Availability

Available with ArcGIS Desktop.

Specified by:
connect in interface IGxGDSConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disconnect

public void disconnect()
                throws IOException,
                       AutomationException
Disconnects from a GIS Data server.

Product Availability

Available with ArcGIS Desktop.

Specified by:
disconnect in interface IGxGDSConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerName

public String getServerName()
                     throws IOException,
                            AutomationException
The server name.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getServerName in interface IGxGDSConnection
Returns:
The serverName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataServerManager

public Object getDataServerManager()
                            throws IOException,
                                   AutomationException
The Data Server Manager object.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getDataServerManager in interface IGxGDSConnection
Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeoDatabase

public void createGeoDatabase(String gdbName,
                              String gdbFileName,
                              int gdbFileSize)
                       throws IOException,
                              AutomationException
Creates a new Geodatabase.

Product Availability

Available with ArcGIS Desktop.

Specified by:
createGeoDatabase in interface IGxGDSConnection
Parameters:
gdbName - The gdbName (in)
gdbFileName - The gdbFileName (in)
gdbFileSize - The gdbFileSize (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

attachGeoDatabase

public void attachGeoDatabase(String gdbName,
                              String gdbFileName)
                       throws IOException,
                              AutomationException
Attaches a Geodatabase.

Product Availability

Available with ArcGIS Desktop.

Specified by:
attachGeoDatabase in interface IGxGDSConnection
Parameters:
gdbName - The gdbName (in)
gdbFileName - The gdbFileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

restoreGeodatabase

public void restoreGeodatabase(String gdbName,
                               String backupFileName,
                               String dbFileName)
                        throws IOException,
                               AutomationException
Restores a backup to the specified Geodatabase.

Product Availability

Available with ArcGIS Desktop.

Specified by:
restoreGeodatabase in interface IGxGDSConnection
Parameters:
gdbName - The gdbName (in)
backupFileName - The backupFileName (in)
dbFileName - The dbFileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

start

public void start()
           throws IOException,
                  AutomationException
Starts a Database server.

Product Availability

Available with ArcGIS Desktop.

Specified by:
start in interface IGxGDSConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stop

public void stop()
          throws IOException,
                 AutomationException
Stops a Database server.

Product Availability

Available with ArcGIS Desktop.

Specified by:
stop in interface IGxGDSConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resume

public void resume()
            throws IOException,
                   AutomationException
Resumes a Database server.

Product Availability

Available with ArcGIS Desktop.

Specified by:
resume in interface IGxGDSConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pause

public void pause()
           throws IOException,
                  AutomationException
Pauses a Database server.

Product Availability

Available with ArcGIS Desktop.

Specified by:
pause in interface IGxGDSConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.