|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesGDB.DataServerManager
public class DataServerManager
COM Class 'DataServerManager'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesGDB.olb'
Description 'Object to administer 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 =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.datasourcesGDB.IDataServerManager |
|---|
IID, IID737ef71f_3646_49f3_95b9_667259a5d498, xxDummy |
| Fields inherited from interface com.esri.arcgis.datasourcesGDB.IDataServerManagerAdmin |
|---|
IID, IIDdd374473_eda4_4a24_80f5_0b8c708a453b, xxDummy |
| Fields inherited from interface com.esri.arcgis.datasourcesGDB.IServiceControl |
|---|
IID, IID271445cb_af1b_483a_a91e_337fa7bf2c0c, xxDummy |
| Constructor Summary | |
|---|---|
DataServerManager()
Constructs a DataServerManager using ArcGIS Engine. |
|
DataServerManager(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DataServerManager theDataServerManager = (DataServerManager) obj; |
|
| Method Summary | |
|---|---|
void |
analyze(java.lang.String gdbName)
Updates the statistics for a Geodatabase. |
void |
attachGeodatabase(java.lang.String dbName,
java.lang.String dataFileName,
java.lang.String logFileName)
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)
Performs a full backup on the specified Geodatabase. |
void |
connect()
Connects to an initialized Data Server. |
void |
continueServer()
Continues the server. |
java.lang.String |
createConnectionFile(java.lang.String pathName,
java.lang.String serverName)
Create a Data Server connection file. |
void |
createGeodatabase(java.lang.String gdbName,
java.lang.String gdbFileName,
int gdbFileSize,
java.lang.String logFileName,
int logFileSize)
Creates a new Geodatabase. |
void |
createLogin(java.lang.String loginName,
boolean isAdministrator)
Creates a new login. |
IWorkspaceName |
createWorkspaceName(java.lang.String gdbName,
java.lang.String versionPropName,
java.lang.Object versionSpecifier)
Creates a Workspace Name object to the Geodatabase. |
void |
deleteGeodatabase(java.lang.String gdbName)
Deletes a Geodatabase. |
void |
deleteLogin(java.lang.String loginName)
Deletes a login. |
void |
detachGeodatabase(java.lang.String dbName)
Detachs a database from a server. |
void |
disconnect()
Disconnects from the Data Server. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
int |
getAvailableMemory()
The total available memory (MB). |
static java.lang.String |
getClsid()
getClsid. |
int |
getConnectedUsers(java.lang.String dbName)
Gets active users. |
int |
getDataServerClass()
The server class. |
int |
getDataServerType()
The type of data server. |
void |
getDBProperties(java.lang.String dbName,
java.lang.String[] status,
int[] dbSize,
java.lang.String[] owner,
java.lang.Object[] createDate,
java.lang.Object[] dbBackup)
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)
Return various properties on a database file. |
java.lang.String |
getGeodatabaseName(java.lang.String dataFileName)
Returns the Database name from the database file. |
IEnumBSTR |
getGeodatabaseNames()
Returns a list of Geodatabse names. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
void |
getLogins(IEnumBSTR[] loginNames,
IEnumBSTR[] dbNames,
IEnumBSTR[] loginTypes,
IEnumBSTR[] languages)
Returns a list logins and associated information. |
java.lang.String |
getProductName()
The product name. |
java.lang.String |
getProductVersion()
The product version. |
void |
getServerAdministrators(IEnumBSTR[] userNames)
Gets a list of server administrators. |
java.lang.String |
getServerName()
The data server name. |
int |
getServerStatus()
The status of the server. |
void |
getUsersByPermissionType(java.lang.String dbName,
int permission,
IEnumBSTR[] userNames)
Get Users in by the Permission type. |
int |
hashCode()
the hashcode for this object |
void |
initFromFile(java.lang.String gdsFileName)
Initializes a saved connection to the GIS Data Server. |
boolean |
isConnected()
Indicates whether the server is connected or not. |
boolean |
isConnectedUserAdministrator()
Indicates whether the connected user is an administrator or not. |
boolean |
isHasControlPermissions()
Indicates whether the user has permissions to control the service. |
void |
isSimpleRecoveryModel(java.lang.String gdbName,
boolean[] isSimpleRecoveryModel)
Returns whether the Geodatabase is in simple recovery model or not. |
void |
modifyGeodatabaseSecurity(java.lang.String dbName,
java.lang.String loginName,
int permission)
Modify a login's database security. |
void |
modifyLoginSecurity(java.lang.String loginName,
boolean isAdministrator)
Modify a login's server security. |
void |
pauseServer()
Pauses the server. |
void |
rebuildIndices(java.lang.String gdbName)
Rebuilds the indices on all tables in a Geodatabase. |
void |
release()
Release a DataServerManager. |
void |
restoreGeodatabase(java.lang.String gdbName,
java.lang.String backupFileName,
java.lang.String dbFilePath)
Restores a backup for the specified Geodatabase. |
void |
setGeodatabaseToSimpleRecoveryModel(java.lang.String gdbName)
Sets a Geodatabase to simple recovery model. |
void |
setServerName(java.lang.String serverName)
The data server name. |
void |
shrinkGeodatabase(java.lang.String gdbName)
Shrinks the size of a Geodatabase and frees up unused space. |
void |
startServer()
Starts the server. |
void |
stopServer()
Stops the server. |
void |
upgradeGeoDatabase(java.lang.String gdbName)
Upgrades a Geodatabase. |
void |
upgradeSDESchema(java.lang.String gdbName)
Upgrades the SDE schema. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataServerManager()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public DataServerManager(java.lang.Object obj)
throws java.io.IOException
DataServerManager theDataServerManager = (DataServerManager) obj;
obj to DataServerManager.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void connect()
throws java.io.IOException,
AutomationException
connect in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void disconnect()
throws java.io.IOException,
AutomationException
disconnect in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setServerName(java.lang.String serverName)
throws java.io.IOException,
AutomationException
setServerName in interface IDataServerManagerserverName - The serverName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getServerName()
throws java.io.IOException,
AutomationException
getServerName in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initFromFile(java.lang.String gdsFileName)
throws java.io.IOException,
AutomationException
initFromFile in interface IDataServerManagergdsFileName - The gdsFileName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String createConnectionFile(java.lang.String pathName,
java.lang.String serverName)
throws java.io.IOException,
AutomationException
createConnectionFile in interface IDataServerManagerpathName - The pathName (in)serverName - The serverName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isConnected()
throws java.io.IOException,
AutomationException
isConnected in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDataServerType()
throws java.io.IOException,
AutomationException
getDataServerType in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getProductName()
throws java.io.IOException,
AutomationException
getProductName in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getProductVersion()
throws java.io.IOException,
AutomationException
getProductVersion in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAvailableMemory()
throws java.io.IOException,
AutomationException
getAvailableMemory in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDataServerClass()
throws java.io.IOException,
AutomationException
getDataServerClass in interface IDataServerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void createGeodatabase(java.lang.String gdbName,
java.lang.String gdbFileName,
int gdbFileSize,
java.lang.String logFileName,
int logFileSize)
throws java.io.IOException,
AutomationException
createGeodatabase in interface IDataServerManagerAdmingdbName - The gdbName (in)gdbFileName - The gdbFileName (in)gdbFileSize - The gdbFileSize (in)logFileName - The logFileName (in)logFileSize - The logFileSize (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteGeodatabase(java.lang.String gdbName)
throws java.io.IOException,
AutomationException
deleteGeodatabase in interface IDataServerManagerAdmingdbName - The gdbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void createLogin(java.lang.String loginName,
boolean isAdministrator)
throws java.io.IOException,
AutomationException
createLogin in interface IDataServerManagerAdminloginName - The loginName (in)isAdministrator - The isAdministrator (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void modifyLoginSecurity(java.lang.String loginName,
boolean isAdministrator)
throws java.io.IOException,
AutomationException
modifyLoginSecurity in interface IDataServerManagerAdminloginName - The loginName (in)isAdministrator - The isAdministrator (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void modifyGeodatabaseSecurity(java.lang.String dbName,
java.lang.String loginName,
int permission)
throws java.io.IOException,
AutomationException
modifyGeodatabaseSecurity in interface IDataServerManagerAdmindbName - The dbName (in)loginName - The loginName (in)permission - A com.esri.arcgis.datasourcesGDB.esriGeodatabasePermissionsType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteLogin(java.lang.String loginName)
throws java.io.IOException,
AutomationException
deleteLogin in interface IDataServerManagerAdminloginName - The loginName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumBSTR getGeodatabaseNames()
throws java.io.IOException,
AutomationException
getGeodatabaseNames in interface IDataServerManagerAdminjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getLogins(IEnumBSTR[] loginNames,
IEnumBSTR[] dbNames,
IEnumBSTR[] loginTypes,
IEnumBSTR[] languages)
throws java.io.IOException,
AutomationException
getLogins in interface IDataServerManagerAdminloginNames - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detachGeodatabase(java.lang.String dbName)
throws java.io.IOException,
AutomationException
detachGeodatabase in interface IDataServerManagerAdmindbName - The dbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void attachGeodatabase(java.lang.String dbName,
java.lang.String dataFileName,
java.lang.String logFileName)
throws java.io.IOException,
AutomationException
attachGeodatabase in interface IDataServerManagerAdmindbName - The dbName (in)dataFileName - The dataFileName (in)logFileName - The logFileName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void upgradeGeoDatabase(java.lang.String gdbName)
throws java.io.IOException,
AutomationException
upgradeGeoDatabase in interface IDataServerManagerAdmingdbName - The gdbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void upgradeSDESchema(java.lang.String gdbName)
throws java.io.IOException,
AutomationException
upgradeSDESchema in interface IDataServerManagerAdmingdbName - The gdbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getGeodatabaseName(java.lang.String dataFileName)
throws java.io.IOException,
AutomationException
getGeodatabaseName in interface IDataServerManagerAdmindataFileName - The dataFileName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean backupGeodatabase(java.lang.String gdbName,
java.lang.String backupFileName,
java.lang.String backupName,
java.lang.String description)
throws java.io.IOException,
AutomationException
backupGeodatabase in interface IDataServerManagerAdmingdbName - The gdbName (in)backupFileName - The backupFileName (in)backupName - The backupName (in)description - The description (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void restoreGeodatabase(java.lang.String gdbName,
java.lang.String backupFileName,
java.lang.String dbFilePath)
throws java.io.IOException,
AutomationException
restoreGeodatabase in interface IDataServerManagerAdmingdbName - The gdbName (in)backupFileName - The backupFileName (in)dbFilePath - The dbFilePath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isSimpleRecoveryModel(java.lang.String gdbName,
boolean[] isSimpleRecoveryModel)
throws java.io.IOException,
AutomationException
isSimpleRecoveryModel in interface IDataServerManagerAdmingdbName - The gdbName (in)isSimpleRecoveryModel - The isSimpleRecoveryModel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGeodatabaseToSimpleRecoveryModel(java.lang.String gdbName)
throws java.io.IOException,
AutomationException
setGeodatabaseToSimpleRecoveryModel in interface IDataServerManagerAdmingdbName - The gdbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isConnectedUserAdministrator()
throws java.io.IOException,
AutomationException
isConnectedUserAdministrator in interface IDataServerManagerAdminjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IWorkspaceName createWorkspaceName(java.lang.String gdbName,
java.lang.String versionPropName,
java.lang.Object versionSpecifier)
throws java.io.IOException,
AutomationException
createWorkspaceName in interface IDataServerManagerAdmingdbName - The gdbName (in)versionPropName - The versionPropName (in)versionSpecifier - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
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
getDBProperties in interface IDataServerManagerAdmindbName - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
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
getFileProperties in interface IDataServerManagerAdmindbName - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void analyze(java.lang.String gdbName)
throws java.io.IOException,
AutomationException
analyze in interface IDataServerManagerAdmingdbName - The gdbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rebuildIndices(java.lang.String gdbName)
throws java.io.IOException,
AutomationException
rebuildIndices in interface IDataServerManagerAdmingdbName - The gdbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void shrinkGeodatabase(java.lang.String gdbName)
throws java.io.IOException,
AutomationException
shrinkGeodatabase in interface IDataServerManagerAdmingdbName - The gdbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getConnectedUsers(java.lang.String dbName)
throws java.io.IOException,
AutomationException
getConnectedUsers in interface IDataServerManagerAdmindbName - The dbName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getServerAdministrators(IEnumBSTR[] userNames)
throws java.io.IOException,
AutomationException
getServerAdministrators in interface IDataServerManagerAdminuserNames - A reference to a com.esri.arcgis.system.IEnumBSTR (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getUsersByPermissionType(java.lang.String dbName,
int permission,
IEnumBSTR[] userNames)
throws java.io.IOException,
AutomationException
getUsersByPermissionType in interface IDataServerManagerAdmindbName - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getServerStatus()
throws java.io.IOException,
AutomationException
getServerStatus in interface IServiceControljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasControlPermissions()
throws java.io.IOException,
AutomationException
isHasControlPermissions in interface IServiceControljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void stopServer()
throws java.io.IOException,
AutomationException
stopServer in interface IServiceControljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void startServer()
throws java.io.IOException,
AutomationException
startServer in interface IServiceControljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void pauseServer()
throws java.io.IOException,
AutomationException
pauseServer in interface IServiceControljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void continueServer()
throws java.io.IOException,
AutomationException
continueServer in interface IServiceControljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||