com.esri.arcgis.catalog
Interface IIMSConnection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IIMSConnectionProxy, IMSConnection

public interface IIMSConnection
extends java.io.Serializable

COM Interface 'IIMSConnection'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriCatalog.olb'

Description: 'Provides access to members to connect to an ArcIMS server (IMS).' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IIDa98227bf_d1cd_402e_b5ea_d05f77513755
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void connect()
          Connects to an ArcIMS server.
 void disconnect()
          Disconnects from an ArcIMS server.
 java.lang.String getFileName()
          Path to the IMS connection file.
 java.lang.Object getFilterServices()
          Filters out only the specified services.
 java.lang.String getURL()
          URL to ArcIMS server.
 java.lang.String getUserName()
          User name.
 boolean isConnected()
          Indicates whether the IMS connection has been made.
 boolean isSavePassword()
          Indicates if the password should be saved.
 void loadFromFile(java.lang.String path)
          Loads an IMS connection file containing the URL.
 void saveToFile(java.lang.String path)
          Writes an IMS connection file containing the URL.
 void setFilterServices(java.lang.Object names)
          Filters out only the specified services.
 void setPassword(java.lang.String rhs1)
          Password.
 void setSavePassword(boolean flag)
          Indicates if the password should be saved.
 void setURL(java.lang.String uRL)
          URL to ArcIMS server.
 void setUserName(java.lang.String userName)
          User name.
 

Field Detail

IIDa98227bf_d1cd_402e_b5ea_d05f77513755

static final int IIDa98227bf_d1cd_402e_b5ea_d05f77513755
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

isConnected

boolean isConnected()
                    throws java.io.IOException,
                           AutomationException
Indicates whether the IMS connection has been made.

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

connect

void connect()
             throws java.io.IOException,
                    AutomationException
Connects to an ArcIMS server.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disconnect

void disconnect()
                throws java.io.IOException,
                       AutomationException
Disconnects from an ArcIMS server.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromFile

void loadFromFile(java.lang.String path)
                  throws java.io.IOException,
                         AutomationException
Loads an IMS connection file containing the URL.

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

saveToFile

void saveToFile(java.lang.String path)
                throws java.io.IOException,
                       AutomationException
Writes an IMS connection file containing the URL.

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

getFileName

java.lang.String getFileName()
                             throws java.io.IOException,
                                    AutomationException
Path to the IMS connection file.

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

getURL

java.lang.String getURL()
                        throws java.io.IOException,
                               AutomationException
URL to ArcIMS server.

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

setURL

void setURL(java.lang.String uRL)
            throws java.io.IOException,
                   AutomationException
URL to ArcIMS server.

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

setUserName

void setUserName(java.lang.String userName)
                 throws java.io.IOException,
                        AutomationException
User name.

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

getUserName

java.lang.String getUserName()
                             throws java.io.IOException,
                                    AutomationException
User name.

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

setPassword

void setPassword(java.lang.String rhs1)
                 throws java.io.IOException,
                        AutomationException
Password.

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

isSavePassword

boolean isSavePassword()
                       throws java.io.IOException,
                              AutomationException
Indicates if the password should be saved.

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

setSavePassword

void setSavePassword(boolean flag)
                     throws java.io.IOException,
                            AutomationException
Indicates if the password should be saved.

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

getFilterServices

java.lang.Object getFilterServices()
                                   throws java.io.IOException,
                                          AutomationException
Filters out only the specified services. Array of strings.

Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFilterServices

void setFilterServices(java.lang.Object names)
                       throws java.io.IOException,
                              AutomationException
Filters out only the specified services. Array of strings.

Parameters:
names - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.