com.esri.arcgis.datasourcesGDB
Class IDataServerManagerAdminProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesGDB.IDataServerManagerAdminProxy
All Implemented Interfaces:
IDataServerManagerAdmin, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IDataServerManagerAdmin'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesGDB.olb'

Description: 'Provides access to administration functions of a Data 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 =

public class IDataServerManagerAdminProxy
extends com.esri.arcgis.interop.Dispatch
implements IDataServerManagerAdmin, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
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.datasourcesGDB.IDataServerManagerAdmin
IID, IIDdd374473_eda4_4a24_80f5_0b8c708a453b
 
Constructor Summary
  IDataServerManagerAdminProxy()
          Deprecated. For internal use only
  IDataServerManagerAdminProxy(java.lang.Object obj)
          Deprecated.  
protected IDataServerManagerAdminProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IDataServerManagerAdminProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IDataServerManagerAdminProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void analyze(java.lang.String gdbName)
          Deprecated. Updates the statistics for a Geodatabase.
 void attachGeodatabase(java.lang.String dbName, java.lang.String dataFileName, java.lang.String logFileName)
          Deprecated. Attachs an existing database to a server.
 boolean backupGeodatabase(java.lang.String gdbName, java.lang.String backupFileName, java.lang.String backupName, java.lang.String description)
          Deprecated. Performs a full backup on the specified Geodatabase.
 void createGeodatabase(java.lang.String gdbName, java.lang.String gdbFileName, int gdbFileSize, java.lang.String logFileName, int logFileSize)
          Deprecated. Creates a new Geodatabase.
 void createLogin(java.lang.String loginName, boolean isAdministrator)
          Deprecated. Creates a new login.
 IWorkspaceName createWorkspaceName(java.lang.String gdbName, java.lang.String versionPropName, java.lang.Object versionSpecifier)
          Deprecated. Creates a Workspace Name object to the Geodatabase.
 void deleteGeodatabase(java.lang.String gdbName)
          Deprecated. Deletes a Geodatabase.
 void deleteLogin(java.lang.String loginName)
          Deprecated. Deletes a login.
 void detachGeodatabase(java.lang.String dbName)
          Deprecated. Detachs a database from a server.
 int getConnectedUsers(java.lang.String dbName)
          Deprecated. Gets active users.
 void getDBProperties(java.lang.String dbName, java.lang.String[] status, int[] dbSize, java.lang.String[] owner, java.lang.Object[] createDate, java.lang.Object[] dbBackup)
          Deprecated. Returns various properties on a Database.
 void getFileProperties(java.lang.String dbName, java.lang.String[] dataName, java.lang.String[] dataPhysicalName, int[] dataFileSize, java.lang.String[] logName, java.lang.String[] logPhysicalName, int[] logFileSize)
          Deprecated. Return various properties on a database file.
 java.lang.String getGeodatabaseName(java.lang.String dataFileName)
          Deprecated. Returns the Database name from the database file.
 IEnumBSTR getGeodatabaseNames()
          Deprecated. Returns a list of Geodatabse names.
 void getLogins(IEnumBSTR[] loginNames, IEnumBSTR[] dbNames, IEnumBSTR[] loginTypes, IEnumBSTR[] languages)
          Deprecated. Returns a list logins and associated information.
 void getServerAdministrators(IEnumBSTR[] userNames)
          Deprecated. Gets a list of server administrators.
 void getUsersByPermissionType(java.lang.String dbName, int permission, IEnumBSTR[] userNames)
          Deprecated. Get Users in by the Permission type.
 boolean isConnectedUserAdministrator()
          Deprecated. Indicates whether the connected user is an administrator or not.
 void isSimpleRecoveryModel(java.lang.String gdbName, boolean[] isSimpleRecoveryModel)
          Deprecated. Returns whether the Geodatabase is in simple recovery model or not.
 void modifyGeodatabaseSecurity(java.lang.String dbName, java.lang.String loginName, int permission)
          Deprecated. Modify a login's database security.
 void modifyLoginSecurity(java.lang.String loginName, boolean isAdministrator)
          Deprecated. Modify a login's server security.
 void rebuildIndices(java.lang.String gdbName)
          Deprecated. Rebuilds the indices on all tables in a Geodatabase.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void restoreGeodatabase(java.lang.String gdbName, java.lang.String backupFileName, java.lang.String dbFilePath)
          Deprecated. Restores a backup for the specified Geodatabase.
 void setGeodatabaseToSimpleRecoveryModel(java.lang.String gdbName)
          Deprecated. Sets a Geodatabase to simple recovery model.
 void shrinkGeodatabase(java.lang.String gdbName)
          Deprecated. Shrinks the size of a Geodatabase and frees up unused space.
 void upgradeGeoDatabase(java.lang.String gdbName)
          Deprecated. Upgrades a Geodatabase.
 void upgradeSDESchema(java.lang.String gdbName)
          Deprecated. Upgrades the SDE schema.
 
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
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IDataServerManagerAdminProxy

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

IDataServerManagerAdminProxy

public IDataServerManagerAdminProxy()
Deprecated. 
For internal use only


IDataServerManagerAdminProxy

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

IDataServerManagerAdminProxy

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

IDataServerManagerAdminProxy

protected IDataServerManagerAdminProxy(java.lang.String CLSID,
                                       java.lang.String iid,
                                       java.lang.String host,
                                       com.esri.arcgis.interop.AuthInfo authInfo)
                                throws java.io.IOException
Deprecated. 
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
Deprecated. 
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
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

createGeodatabase

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

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

deleteGeodatabase

public void deleteGeodatabase(java.lang.String gdbName)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Deletes a Geodatabase.

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

createLogin

public void createLogin(java.lang.String loginName,
                        boolean isAdministrator)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Creates a new login.

Specified by:
createLogin in interface IDataServerManagerAdmin
Parameters:
loginName - The loginName (in)
isAdministrator - The isAdministrator (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

modifyLoginSecurity

public void modifyLoginSecurity(java.lang.String loginName,
                                boolean isAdministrator)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Modify a login's server security.

Specified by:
modifyLoginSecurity in interface IDataServerManagerAdmin
Parameters:
loginName - The loginName (in)
isAdministrator - The isAdministrator (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

modifyGeodatabaseSecurity

public void modifyGeodatabaseSecurity(java.lang.String dbName,
                                      java.lang.String loginName,
                                      int permission)
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
Modify a login's database security.

Specified by:
modifyGeodatabaseSecurity in interface IDataServerManagerAdmin
Parameters:
dbName - The dbName (in)
loginName - The loginName (in)
permission - A com.esri.arcgis.datasourcesGDB.esriGeodatabasePermissionsType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteLogin

public void deleteLogin(java.lang.String loginName)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Deletes a login.

Specified by:
deleteLogin in interface IDataServerManagerAdmin
Parameters:
loginName - The loginName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeodatabaseNames

public IEnumBSTR getGeodatabaseNames()
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
Returns a list of Geodatabse names.

Specified by:
getGeodatabaseNames in interface IDataServerManagerAdmin
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLogins

public void getLogins(IEnumBSTR[] loginNames,
                      IEnumBSTR[] dbNames,
                      IEnumBSTR[] loginTypes,
                      IEnumBSTR[] languages)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Returns a list logins and associated information.

Specified by:
getLogins in interface IDataServerManagerAdmin
Parameters:
loginNames - A reference to a com.esri.arcgis.system.IEnumBSTR (out: use single element array)
dbNames - A reference to a com.esri.arcgis.system.IEnumBSTR (out: use single element array)
loginTypes - A reference to a com.esri.arcgis.system.IEnumBSTR (out: use single element array)
languages - A reference to a com.esri.arcgis.system.IEnumBSTR (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

detachGeodatabase

public void detachGeodatabase(java.lang.String dbName)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Detachs a database from a server.

Specified by:
detachGeodatabase in interface IDataServerManagerAdmin
Parameters:
dbName - The dbName (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 dbName,
                              java.lang.String dataFileName,
                              java.lang.String logFileName)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Attachs an existing database to a server.

Specified by:
attachGeodatabase in interface IDataServerManagerAdmin
Parameters:
dbName - The dbName (in)
dataFileName - The dataFileName (in)
logFileName - The logFileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

upgradeGeoDatabase

public void upgradeGeoDatabase(java.lang.String gdbName)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Upgrades a Geodatabase.

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

upgradeSDESchema

public void upgradeSDESchema(java.lang.String gdbName)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Upgrades the SDE schema.

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

getGeodatabaseName

public java.lang.String getGeodatabaseName(java.lang.String dataFileName)
                                    throws java.io.IOException,
                                           AutomationException
Deprecated. 
Returns the Database name from the database file.

Specified by:
getGeodatabaseName in interface IDataServerManagerAdmin
Parameters:
dataFileName - The dataFileName (in)
Returns:
The dbName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

backupGeodatabase

public boolean backupGeodatabase(java.lang.String gdbName,
                                 java.lang.String backupFileName,
                                 java.lang.String backupName,
                                 java.lang.String description)
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
Performs a full backup on the specified Geodatabase.

Specified by:
backupGeodatabase in interface IDataServerManagerAdmin
Parameters:
gdbName - The gdbName (in)
backupFileName - The backupFileName (in)
backupName - The backupName (in)
description - The description (in)
Returns:
The isSimpleRecoveryModel
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 dbFilePath)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Restores a backup for the specified Geodatabase.

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

isSimpleRecoveryModel

public void isSimpleRecoveryModel(java.lang.String gdbName,
                                  boolean[] isSimpleRecoveryModel)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Returns whether the Geodatabase is in simple recovery model or not.

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

setGeodatabaseToSimpleRecoveryModel

public void setGeodatabaseToSimpleRecoveryModel(java.lang.String gdbName)
                                         throws java.io.IOException,
                                                AutomationException
Deprecated. 
Sets a Geodatabase to simple recovery model.

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

isConnectedUserAdministrator

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

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

createWorkspaceName

public IWorkspaceName createWorkspaceName(java.lang.String gdbName,
                                          java.lang.String versionPropName,
                                          java.lang.Object versionSpecifier)
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
Creates a Workspace Name object to the Geodatabase.

Specified by:
createWorkspaceName in interface IDataServerManagerAdmin
Parameters:
gdbName - The gdbName (in)
versionPropName - The versionPropName (in)
versionSpecifier - A Variant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDBProperties

public void getDBProperties(java.lang.String dbName,
                            java.lang.String[] status,
                            int[] dbSize,
                            java.lang.String[] owner,
                            java.lang.Object[] createDate,
                            java.lang.Object[] dbBackup)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Returns various properties on a Database.

Specified by:
getDBProperties in interface IDataServerManagerAdmin
Parameters:
dbName - The dbName (in)
status - The status (out: use single element array)
dbSize - The dbSize (out: use single element array)
owner - The owner (out: use single element array)
createDate - A Variant (out: use single element array)
dbBackup - A Variant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileProperties

public void getFileProperties(java.lang.String dbName,
                              java.lang.String[] dataName,
                              java.lang.String[] dataPhysicalName,
                              int[] dataFileSize,
                              java.lang.String[] logName,
                              java.lang.String[] logPhysicalName,
                              int[] logFileSize)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Return various properties on a database file.

Specified by:
getFileProperties in interface IDataServerManagerAdmin
Parameters:
dbName - The dbName (in)
dataName - The dataName (out: use single element array)
dataPhysicalName - The dataPhysicalName (out: use single element array)
dataFileSize - The dataFileSize (out: use single element array)
logName - The logName (out: use single element array)
logPhysicalName - The logPhysicalName (out: use single element array)
logFileSize - The logFileSize (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

analyze

public void analyze(java.lang.String gdbName)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Updates the statistics for a Geodatabase.

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

rebuildIndices

public void rebuildIndices(java.lang.String gdbName)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Rebuilds the indices on all tables in a Geodatabase.

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

shrinkGeodatabase

public void shrinkGeodatabase(java.lang.String gdbName)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Shrinks the size of a Geodatabase and frees up unused space.

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

getConnectedUsers

public int getConnectedUsers(java.lang.String dbName)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Gets active users.

Specified by:
getConnectedUsers in interface IDataServerManagerAdmin
Parameters:
dbName - The dbName (in)
Returns:
The nUsers
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerAdministrators

public void getServerAdministrators(IEnumBSTR[] userNames)
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
Gets a list of server administrators.

Specified by:
getServerAdministrators in interface IDataServerManagerAdmin
Parameters:
userNames - A reference to a com.esri.arcgis.system.IEnumBSTR (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsersByPermissionType

public void getUsersByPermissionType(java.lang.String dbName,
                                     int permission,
                                     IEnumBSTR[] userNames)
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
Get Users in by the Permission type.

Specified by:
getUsersByPermissionType in interface IDataServerManagerAdmin
Parameters:
dbName - The dbName (in)
permission - A com.esri.arcgis.datasourcesGDB.esriGeodatabasePermissionsType constant (in)
userNames - A reference to a com.esri.arcgis.system.IEnumBSTR (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.