com.esri.arcgis.server
Class IServerDirectoryProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.server.IServerDirectoryProxy
All Implemented Interfaces:
IServerDirectory, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IServerDirectory2Proxy

public class IServerDirectoryProxy
extends com.esri.arcgis.interop.Dispatch
implements IServerDirectory, java.io.Serializable

Internal use class Proxy for COM Interface 'IServerDirectory'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description: 'Provides access to members that control the behavior and properties of a server directory to administrators.' 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.IServerDirectory
IID, IIDe7402a4c_0962_4e2e_ba8f_e90b6dabfcb2
 
Constructor Summary
  IServerDirectoryProxy()
          For internal use only
  IServerDirectoryProxy(java.lang.Object obj)
           
protected IServerDirectoryProxy(java.lang.Object obj, java.lang.String iid)
           
  IServerDirectoryProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IServerDirectoryProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 int getCleaningMode()
          The mode by which the files in the server directory are cleaned (by age, by size or none).
 java.lang.String getDescription()
          The description of the server directory.
 int getMaxFileAge()
          The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.
 java.lang.String getPath()
          The path of the server directory.
 java.lang.String getURL()
          The URL of the virtual directory that maps to the physical directory as described by the Path property.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setCleaningMode(int pMode)
          The mode by which the files in the server directory are cleaned (by age, by size or none).
 void setDescription(java.lang.String pText)
          The description of the server directory.
 void setMaxFileAge(int pAge)
          The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.
 void setPath(java.lang.String pPath)
          The path of the server directory.
 void setURL(java.lang.String pUrl)
          The URL of the virtual directory that maps to the physical directory as described by the Path property.
 
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

noncastable

public boolean noncastable
Constructor Detail

IServerDirectoryProxy

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

IServerDirectoryProxy

public IServerDirectoryProxy()
For internal use only


IServerDirectoryProxy

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

IServerDirectoryProxy

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

IServerDirectoryProxy

protected IServerDirectoryProxy(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 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
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getPath

public java.lang.String getPath()
                         throws java.io.IOException,
                                AutomationException
The path of the server directory.

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

setPath

public void setPath(java.lang.String pPath)
             throws java.io.IOException,
                    AutomationException
The path of the server directory.

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

getURL

public java.lang.String getURL()
                        throws java.io.IOException,
                               AutomationException
The URL of the virtual directory that maps to the physical directory as described by the Path property.

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

setURL

public void setURL(java.lang.String pUrl)
            throws java.io.IOException,
                   AutomationException
The URL of the virtual directory that maps to the physical directory as described by the Path property.

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

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The description of the server directory.

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

setDescription

public void setDescription(java.lang.String pText)
                    throws java.io.IOException,
                           AutomationException
The description of the server directory.

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

getCleaningMode

public int getCleaningMode()
                    throws java.io.IOException,
                           AutomationException
The mode by which the files in the server directory are cleaned (by age, by size or none).

Specified by:
getCleaningMode in interface IServerDirectory
Returns:
A com.esri.arcgis.server.esriServerDirectoryCleaningMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCleaningMode

public void setCleaningMode(int pMode)
                     throws java.io.IOException,
                            AutomationException
The mode by which the files in the server directory are cleaned (by age, by size or none).

Specified by:
setCleaningMode in interface IServerDirectory
Parameters:
pMode - A com.esri.arcgis.server.esriServerDirectoryCleaningMode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxFileAge

public int getMaxFileAge()
                  throws java.io.IOException,
                         AutomationException
The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.

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

setMaxFileAge

public void setMaxFileAge(int pAge)
                   throws java.io.IOException,
                          AutomationException
The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.

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