com.esri.arcgis.server
Class IServerObjectAdmin2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerObjectAdminProxy
          extended by com.esri.arcgis.server.IServerObjectAdmin2Proxy
All Implemented Interfaces:
IServerObjectAdmin, IServerObjectAdmin2, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IServerObjectAdmin3Proxy

public class IServerObjectAdmin2Proxy
extends IServerObjectAdminProxy
implements IServerObjectAdmin2, java.io.Serializable

Internal use class Proxy for COM Interface 'IServerObjectAdmin2'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description: 'Provides access to members that administer the ArcGIS 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.server.IServerObjectAdmin2
IID, IID4bc97a90_0b03_478c_8eb8_2ba647297bf7
 
Fields inherited from interface com.esri.arcgis.server.IServerObjectAdmin
IID01f6db39_6458_4c12_bcc7_30f1021075e2
 
Constructor Summary
  IServerObjectAdmin2Proxy()
          For internal use only
  IServerObjectAdmin2Proxy(java.lang.Object obj)
           
protected IServerObjectAdmin2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IServerObjectAdmin2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IServerObjectAdmin2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addExtensionType(java.lang.String sOTypeName, IServerObjectExtensionType pSOEType)
          Registers a new server object extension type with the server object type indicated in the argument list.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 IServerObjectExtensionType createExtensionType()
          Creates a new empty server object extension type.
 void createFolder(java.lang.String folderName)
          Creates a server configuration folder.
 void deleteExtensionType(java.lang.String sOTypeName, java.lang.String sOETypeName)
          Unregisters a server object extension type from the server object type indicated in the argument list.
 void deleteFolder(java.lang.String folderName)
          Deletes a server configuration folder.
 void disable()
          Disables a started SOM.
 void enable()
          Enables a disabled SOM.
 IEnumServerObjectConfiguration getConfigurationsEx(java.lang.String folderName)
          An enumerator over all the server object configurations in a server configuration folder.
 IEnumServerObjectExtensionType getExtensionTypes(java.lang.String sOTypeName)
          An enumerator over all the server object extension types.
 IPropertySet getFolderInfo(java.lang.String folderName)
          Properties associated with a server configuration folder.
 IEnumBSTR getFolders(java.lang.String folderName)
          An array of folder names in the server configuration folder.
 IServerLog getServerLog()
          Retrieves a reference to the ArcGIS Server logs.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void renameFolder(java.lang.String folderName, java.lang.String newName)
          Renames a server configuration folder.
 void setFolderInfo(java.lang.String folderName, IPropertySet ppInfo)
          Properties associated with a server configuration folder.
 void validateConfiguration(java.lang.String name, java.lang.String typeName)
          Validates server object configuration.
 
Methods inherited from class com.esri.arcgis.server.IServerObjectAdminProxy
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
 
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
 
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
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IServerObjectAdmin2Proxy

public IServerObjectAdmin2Proxy(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

IServerObjectAdmin2Proxy

public IServerObjectAdmin2Proxy()
For internal use only


IServerObjectAdmin2Proxy

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

IServerObjectAdmin2Proxy

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

IServerObjectAdmin2Proxy

protected IServerObjectAdmin2Proxy(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 IServerObjectAdminProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class IServerObjectAdminProxy
Throws:
java.io.IOException

getExtensionTypes

public IEnumServerObjectExtensionType getExtensionTypes(java.lang.String sOTypeName)
                                                 throws java.io.IOException,
                                                        AutomationException
An enumerator over all the server object extension types.

Specified by:
getExtensionTypes in interface IServerObjectAdmin2
Parameters:
sOTypeName - The sOTypeName (in)
Returns:
A reference to a com.esri.arcgis.server.IEnumServerObjectExtensionType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerLog

public IServerLog getServerLog()
                        throws java.io.IOException,
                               AutomationException
Retrieves a reference to the ArcGIS Server logs.

Specified by:
getServerLog in interface IServerObjectAdmin2
Returns:
A reference to a com.esri.arcgis.server.IServerLog
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enable

public void enable()
            throws java.io.IOException,
                   AutomationException
Enables a disabled SOM.

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

disable

public void disable()
             throws java.io.IOException,
                    AutomationException
Disables a started SOM.

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

createExtensionType

public IServerObjectExtensionType createExtensionType()
                                               throws java.io.IOException,
                                                      AutomationException
Creates a new empty server object extension type.

Specified by:
createExtensionType in interface IServerObjectAdmin2
Returns:
A reference to a com.esri.arcgis.server.IServerObjectExtensionType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addExtensionType

public void addExtensionType(java.lang.String sOTypeName,
                             IServerObjectExtensionType pSOEType)
                      throws java.io.IOException,
                             AutomationException
Registers a new server object extension type with the server object type indicated in the argument list.

Specified by:
addExtensionType in interface IServerObjectAdmin2
Parameters:
sOTypeName - The sOTypeName (in)
pSOEType - A reference to a com.esri.arcgis.server.IServerObjectExtensionType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteExtensionType

public void deleteExtensionType(java.lang.String sOTypeName,
                                java.lang.String sOETypeName)
                         throws java.io.IOException,
                                AutomationException
Unregisters a server object extension type from the server object type indicated in the argument list.

Specified by:
deleteExtensionType in interface IServerObjectAdmin2
Parameters:
sOTypeName - The sOTypeName (in)
sOETypeName - The sOETypeName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFolder

public void createFolder(java.lang.String folderName)
                  throws java.io.IOException,
                         AutomationException
Creates a server configuration folder.

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

deleteFolder

public void deleteFolder(java.lang.String folderName)
                  throws java.io.IOException,
                         AutomationException
Deletes a server configuration folder.

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

renameFolder

public void renameFolder(java.lang.String folderName,
                         java.lang.String newName)
                  throws java.io.IOException,
                         AutomationException
Renames a server configuration folder.

Specified by:
renameFolder in interface IServerObjectAdmin2
Parameters:
folderName - The folderName (in)
newName - The newName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolders

public IEnumBSTR getFolders(java.lang.String folderName)
                     throws java.io.IOException,
                            AutomationException
An array of folder names in the server configuration folder.

Specified by:
getFolders in interface IServerObjectAdmin2
Parameters:
folderName - The folderName (in)
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.

getFolderInfo

public IPropertySet getFolderInfo(java.lang.String folderName)
                           throws java.io.IOException,
                                  AutomationException
Properties associated with a server configuration folder.

Specified by:
getFolderInfo in interface IServerObjectAdmin2
Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFolderInfo

public void setFolderInfo(java.lang.String folderName,
                          IPropertySet ppInfo)
                   throws java.io.IOException,
                          AutomationException
Properties associated with a server configuration folder.

Specified by:
setFolderInfo in interface IServerObjectAdmin2
Parameters:
folderName - The folderName (in)
ppInfo - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfigurationsEx

public IEnumServerObjectConfiguration getConfigurationsEx(java.lang.String folderName)
                                                   throws java.io.IOException,
                                                          AutomationException
An enumerator over all the server object configurations in a server configuration folder.

Specified by:
getConfigurationsEx in interface IServerObjectAdmin2
Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.server.IEnumServerObjectConfiguration
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateConfiguration

public void validateConfiguration(java.lang.String name,
                                  java.lang.String typeName)
                           throws java.io.IOException,
                                  AutomationException
Validates server object configuration.

Specified by:
validateConfiguration in interface IServerObjectAdmin2
Parameters:
name - The name (in)
typeName - The typeName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.