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, java.io.Externalizable, java.io.Serializable

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

Internal use class Proxy for COM Interface 'IGxGDSConnection'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriCatalog.olb'

Description: 'Provides access to members of GxObject that connects to a GeoData Server.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.catalog.IGxGDSConnection
IID, IIDe10b6c94_58ed_4e45_84b2_285559bfa11e
 
Constructor Summary
  IGxGDSConnectionProxy()
          For internal use only
  IGxGDSConnectionProxy(java.lang.Object obj)
           
protected IGxGDSConnectionProxy(java.lang.Object obj, java.lang.String iid)
           
  IGxGDSConnectionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGxGDSConnectionProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void attachGeoDatabase(java.lang.String gdbName, java.lang.String gdbFileName)
          Attaches a Geodatabase.
 void connect()
          Connects to a GIS Data server.
 void createGeoDatabase(java.lang.String gdbName, java.lang.String gdbFileName, int gdbFileSize)
          Creates a new Geodatabase.
 void disconnect()
          Disconnects from a GIS Data server.
 java.lang.Object getDataServerManager()
          The Data Server Manager object.
 java.lang.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(java.lang.String iidStr, java.lang.Object theListener)
           
 void restoreGeodatabase(java.lang.String gdbName, java.lang.String backupFileName, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IGxGDSConnectionProxy

public IGxGDSConnectionProxy(java.lang.String CLSID,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.net.UnknownHostException,
                             java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IGxGDSConnectionProxy

public IGxGDSConnectionProxy()
For internal use only


IGxGDSConnectionProxy

public IGxGDSConnectionProxy(java.lang.Object obj)
                      throws java.io.IOException
Throws:
java.io.IOException

IGxGDSConnectionProxy

protected IGxGDSConnectionProxy(java.lang.Object obj,
                                java.lang.String iid)
                         throws java.io.IOException
Throws:
java.io.IOException

IGxGDSConnectionProxy

protected IGxGDSConnectionProxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

isConnected

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

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

isAdministrator

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

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

connect

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

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

disconnect

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

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

getServerName

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

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

getDataServerManager

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

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

createGeoDatabase

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

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

attachGeoDatabase

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

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

restoreGeodatabase

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

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

start

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

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

stop

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

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

resume

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

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

pause

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

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