com.esri.arcgis.server
Interface IServerConfigurationStorage

All Superinterfaces:
Serializable

public interface IServerConfigurationStorage
extends Serializable

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void addFolder(String folderName, String info)
          addFolder
 void addGeodatabase(String gdbName, String val)
          addGeodatabase
 void addPermission(String resourceID, String acl)
          addPermission
 void addService(String iD, String definition)
          addService
 void connect(String connectionString)
          connect
 void deleteFolder(String folderName)
          deleteFolder
 void deleteGeodatabase(String gdbName)
          deleteGeodatabase
 void deleteLogFile(String fileName)
          deleteLogFile
 void deletePermission(String resourceID)
          deletePermission
 void deleteService(String iD)
          deleteService
 String getACL(String resourceID, String[] pUpdateID)
          getACL
 String getFolderInfo(String folderName, String[] pUpdateID)
          getFolderInfo
 String getFolders()
          getFolders
 String getGeodatabase(String gdbName, String[] pUpdateID)
          getGeodatabase
 String getGeodatabases()
          getGeodatabases
 String getLogFile(String fileName, Date[] pDateCreated, Date[] pDateModified)
          getLogFile
 String getLogFiles()
          getLogFiles
 String getPermissions()
          getPermissions
 String getServerProperties()
          getServerProperties
 String getServerProperty(String name)
          getServerProperty
 String getServiceDefinition(String iD, String[] pUpdateID)
          getServiceDefinition
 boolean getServiceIsStarted(String iD)
          getServiceIsStarted
 String getServices()
          getServices
 void getUpdateIDs(String[] pServerUpdateID, String[] pServicesUpdateID, String[] pFoldersUpdateID, String[] pPermissionsUpdateID, String[] pLogUpdateID, String[] pGDBUpdateID)
          getUpdateIDs
 void putACL(String resourceID, String val)
          putACL
 void putFolderInfo(String folderName, String val)
          putFolderInfo
 void putGeodatabase(String gdbName, String val)
          putGeodatabase
 void putLogFile(String fileName, Date dateCreated, Date dateModified, String log)
          putLogFile
 void putServerProperty(String name, String val)
          putServerProperty
 void putServiceDefinition(String iD, String val)
          putServiceDefinition
 void putServiceIsStarted(String iD, boolean val)
          putServiceIsStarted
 void renameFolder(String oldName, String newName)
          renameFolder
 

Method Detail

connect

void connect(String connectionString)
             throws IOException,
                    AutomationException
connect

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
connectionString - The connectionString (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpdateIDs

void getUpdateIDs(String[] pServerUpdateID,
                  String[] pServicesUpdateID,
                  String[] pFoldersUpdateID,
                  String[] pPermissionsUpdateID,
                  String[] pLogUpdateID,
                  String[] pGDBUpdateID)
                  throws IOException,
                         AutomationException
getUpdateIDs

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pServerUpdateID - The pServerUpdateID (out: use single element array)
pServicesUpdateID - The pServicesUpdateID (out: use single element array)
pFoldersUpdateID - The pFoldersUpdateID (out: use single element array)
pPermissionsUpdateID - The pPermissionsUpdateID (out: use single element array)
pLogUpdateID - The pLogUpdateID (out: use single element array)
pGDBUpdateID - The pGDBUpdateID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerProperty

String getServerProperty(String name)
                         throws IOException,
                                AutomationException
getServerProperty

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
name - The name (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putServerProperty

void putServerProperty(String name,
                       String val)
                       throws IOException,
                              AutomationException
putServerProperty

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
name - The name (in)
val - The val (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerProperties

String getServerProperties()
                           throws IOException,
                                  AutomationException
getServerProperties

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFolder

void addFolder(String folderName,
               String info)
               throws IOException,
                      AutomationException
addFolder

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
folderName - The folderName (in)
info - The info (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteFolder

void deleteFolder(String folderName)
                  throws IOException,
                         AutomationException
deleteFolder

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
folderName - The folderName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

renameFolder

void renameFolder(String oldName,
                  String newName)
                  throws IOException,
                         AutomationException
renameFolder

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
oldName - The oldName (in)
newName - The newName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolders

String getFolders()
                  throws IOException,
                         AutomationException
getFolders

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolderInfo

String getFolderInfo(String folderName,
                     String[] pUpdateID)
                     throws IOException,
                            AutomationException
getFolderInfo

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
folderName - The folderName (in)
pUpdateID - The pUpdateID (out: use single element array)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putFolderInfo

void putFolderInfo(String folderName,
                   String val)
                   throws IOException,
                          AutomationException
putFolderInfo

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
folderName - The folderName (in)
val - The val (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addService

void addService(String iD,
                String definition)
                throws IOException,
                       AutomationException
addService

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
iD - The iD (in)
definition - The definition (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteService

void deleteService(String iD)
                   throws IOException,
                          AutomationException
deleteService

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
iD - The iD (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServices

String getServices()
                   throws IOException,
                          AutomationException
getServices

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceDefinition

String getServiceDefinition(String iD,
                            String[] pUpdateID)
                            throws IOException,
                                   AutomationException
getServiceDefinition

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
iD - The iD (in)
pUpdateID - The pUpdateID (out: use single element array)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putServiceDefinition

void putServiceDefinition(String iD,
                          String val)
                          throws IOException,
                                 AutomationException
putServiceDefinition

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
iD - The iD (in)
val - The val (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceIsStarted

boolean getServiceIsStarted(String iD)
                            throws IOException,
                                   AutomationException
getServiceIsStarted

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
iD - The iD (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putServiceIsStarted

void putServiceIsStarted(String iD,
                         boolean val)
                         throws IOException,
                                AutomationException
putServiceIsStarted

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
iD - The iD (in)
val - The val (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPermission

void addPermission(String resourceID,
                   String acl)
                   throws IOException,
                          AutomationException
addPermission

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
resourceID - The resourceID (in)
acl - The acl (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deletePermission

void deletePermission(String resourceID)
                      throws IOException,
                             AutomationException
deletePermission

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
resourceID - The resourceID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPermissions

String getPermissions()
                      throws IOException,
                             AutomationException
getPermissions

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getACL

String getACL(String resourceID,
              String[] pUpdateID)
              throws IOException,
                     AutomationException
getACL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
resourceID - The resourceID (in)
pUpdateID - The pUpdateID (out: use single element array)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putACL

void putACL(String resourceID,
            String val)
            throws IOException,
                   AutomationException
putACL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
resourceID - The resourceID (in)
val - The val (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addGeodatabase

void addGeodatabase(String gdbName,
                    String val)
                    throws IOException,
                           AutomationException
addGeodatabase

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
gdbName - The gdbName (in)
val - The val (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteGeodatabase

void deleteGeodatabase(String gdbName)
                       throws IOException,
                              AutomationException
deleteGeodatabase

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
gdbName - The gdbName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeodatabases

String getGeodatabases()
                       throws IOException,
                              AutomationException
getGeodatabases

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeodatabase

String getGeodatabase(String gdbName,
                      String[] pUpdateID)
                      throws IOException,
                             AutomationException
getGeodatabase

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
gdbName - The gdbName (in)
pUpdateID - The pUpdateID (out: use single element array)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putGeodatabase

void putGeodatabase(String gdbName,
                    String val)
                    throws IOException,
                           AutomationException
putGeodatabase

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
gdbName - The gdbName (in)
val - The val (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLogFiles

String getLogFiles()
                   throws IOException,
                          AutomationException
getLogFiles

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putLogFile

void putLogFile(String fileName,
                Date dateCreated,
                Date dateModified,
                String log)
                throws IOException,
                       AutomationException
putLogFile

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fileName - The fileName (in)
dateCreated - The dateCreated (in)
dateModified - The dateModified (in)
log - The log (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLogFile

String getLogFile(String fileName,
                  Date[] pDateCreated,
                  Date[] pDateModified)
                  throws IOException,
                         AutomationException
getLogFile

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fileName - The fileName (in)
pDateCreated - The pDateCreated (out: use single element array)
pDateModified - The pDateModified (out: use single element array)
Returns:
The pLog
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteLogFile

void deleteLogFile(String fileName)
                   throws IOException,
                          AutomationException
deleteLogFile

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fileName - The fileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.