com.esri.arcgis.server
Interface IServerObjectAdmin6

All Superinterfaces:
IServerObjectAdmin, IServerObjectAdmin2, IServerObjectAdmin3, IServerObjectAdmin4, IServerObjectAdmin5, Serializable
All Known Subinterfaces:
IServerObjectAdmin7
All Known Implementing Classes:
IServerObjectAdmin6Proxy, ServerObjectAdmin

public interface IServerObjectAdmin6
extends IServerObjectAdmin5, Serializable

Provides access to members that administer the ArcGIS server.

Product Availability

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


Method Summary
 String getInputDir(String cfgName, String cfgType)
          Returns the input directory for the given Server Object Configuration.
 boolean isInputDirInUse()
          Checks if at least one service is currently using the input directory
 void uploadData(String cfgName, String cfgType, String fileName, byte[] data)
          Uploads data to server and saves it as a file in the input directory of the given configuration.
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin5
getConfigurationProperties, updateConfigurationProperties
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin4
isSecurityEnabled, setIsSecurityEnabled
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin3
getConfigurationsEx2
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin2
addExtensionType, createExtensionType, createFolder, deleteExtensionType, deleteFolder, disable, enable, getConfigurationsEx, getExtensionTypes, getFolderInfo, getFolders, getServerLog, renameFolder, setFolderInfo, validateConfiguration
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectAdmin
addConfiguration, addMachine, addServerDirectory, createConfiguration, createMachine, createServerDirectory, deleteConfiguration, deleteMachine, deleteServerDirectory, getConfiguration, getConfigurations, getConfigurationStatus, getMachine, getMachines, getProperties, getServerDirectories, getServerDirectory, getTypes, pauseConfiguration, setProperties, startConfiguration, stopConfiguration, updateConfiguration, updateMachine, updateServerDirectory
 

Method Detail

getInputDir

String getInputDir(String cfgName,
                   String cfgType)
                   throws IOException,
                          AutomationException
Returns the input directory for the given Server Object Configuration.

Product Availability

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

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

isInputDirInUse

boolean isInputDirInUse()
                        throws IOException,
                               AutomationException
Checks if at least one service is currently using the input directory

Product Availability

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

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

uploadData

void uploadData(String cfgName,
                String cfgType,
                String fileName,
                byte[] data)
                throws IOException,
                       AutomationException
Uploads data to server and saves it as a file in the input directory of the given configuration.

Product Availability

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

Parameters:
cfgName - The cfgName (in)
cfgType - The cfgType (in)
fileName - The fileName (in)
data - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.