com.esri.arcgis.datasourcesGDB
Class SdeWorkspaceFactory

java.lang.Object
  extended by com.esri.arcgis.datasourcesGDB.SdeWorkspaceFactory
All Implemented Interfaces:
IEnterpriseWorkspaceFactory, IRemoteDatabaseWorkspaceFactory, ISetDefaultConnectionInfo, ISetDefaultConnectionInfo2, ISetDefaultConnectionInfo3, IWorkspaceFactory, IWorkspaceFactory2, IWorkspaceFactorySchemaCache, IWorkspaceFactoryStatus, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class SdeWorkspaceFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IWorkspaceFactory, IRemoteDatabaseWorkspaceFactory, IEnterpriseWorkspaceFactory, ISetDefaultConnectionInfo, IWorkspaceFactory2, ISupportErrorInfo, ISetDefaultConnectionInfo2, IWorkspaceFactorySchemaCache, IWorkspaceFactoryStatus, ISetDefaultConnectionInfo3

COM Class 'SdeWorkspaceFactory'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesGDB.olb'

Description 'Esri SDE Workspace Factory.' 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
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRemoteDatabaseWorkspaceFactory
IID, IIDab4a2d7a_055b_11d2_aa97_00c04fa33a15, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEnterpriseWorkspaceFactory
IID, IIDb871b848_7b8f_4aef_bd4d_ec3aefe76ebf, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactory2
IID, IIDd29cd15f_3014_11d4_8141_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactory
IIDf173fc16_d63a_11d1_aa81_00c04fa33a15
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactorySchemaCache
IID, IID968ab1ea_7c1f_4aa1_9055_ca98cb622278, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactoryStatus
IID, IID9b90c0b4_6848_4a17_a0a4_708ee05193d6, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISetDefaultConnectionInfo3
IID, IIDfc5b76d5_5ca4_4a0e_a998_fe383e73d6c0, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISetDefaultConnectionInfo2
IID518570d2_ef66_4b3b_b0bb_fcac077814df
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISetDefaultConnectionInfo
IID094a1c7d_90ae_11d3_80ef_00c04f686238
 
Constructor Summary
SdeWorkspaceFactory()
          Constructs a SdeWorkspaceFactory using ArcGIS Engine.
SdeWorkspaceFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SdeWorkspaceFactory theSdeWorkspaceFactory = (SdeWorkspaceFactory) obj;
 
Method Summary
 void clearParameters(java.lang.String server, java.lang.String instance)
          Clears ArcSDE connection property parameters.
 void clearParameters3(java.lang.String server, java.lang.String instance, java.lang.String authenticationMode)
          Clears ArcSDE connection property parameters.
 boolean containsWorkspace(java.lang.String parentDirectory, IFileNames fileNames)
          Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace.
 boolean copy(IWorkspaceName workspaceName, java.lang.String destinationFolder, IWorkspaceName[] workspaceNameCopy)
          Copies a workspace to the specified destination folder.
 IWorkspaceName create(java.lang.String parentDirectory, java.lang.String name, IPropertySet connectionProperties, int hWnd)
          Creates a new workspace specified by the directory, file name, and connection properties.
 void deleteConnectionFile(java.lang.String pathName)
          Deletes the remote database workspace connection file.
 void disableAllSchemaCaches()
          Disable the schema caches of all open workspaces.
 void disableSchemaCache(IWorkspace workspace)
          Disable the schema cache for a specific workspace.
 void disableSchemaCaching()
          All new workspaces handed out by the factory will not have schema caching enabled.
 IWorkspaceName editConnectionFile(java.lang.String pathName, int hWnd)
          Edits the properties of a remote database workspace connection file.
 void enableAllSchemaCaches()
          Enable the schema caches of all open workspaces.
 void enableSchemaCache(IWorkspace workspace)
          Enable the schema cache for a specific workspace.
 void enableSchemaCaching()
          All new workspaces handed out by the factory will have schema caching enabled.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IUID getClassID()
          The class ID of the WorkspaceFactory.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getWorkspaceDescription(boolean plural)
          A singular or plural description of the type of workspace the workspace factory opens/creates.
 IWorkspaceName getWorkspaceName(java.lang.String parentDirectory, IFileNames fileNames)
          Retrieves the workspace name of a workspace from the given list of file names.
 IEnumWorkspaceStatus getWorkspaceStatus()
          Retrieve the workspace status information for all currently opened workspaces.
 int getWorkspaceType()
          The type of workspace the workspace factory opens/creates.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isAnySchemaCacheStale()
          Checks all current schema caches for staleness.
 boolean isSchemaCacheStale(IWorkspace workspace)
          Checks a specific schema cache for staleness.
 boolean isWorkspace(java.lang.String fileName)
          True if the specified file identifies a workspace supported by the workspace factory.
 boolean move(IWorkspaceName workspaceName, java.lang.String destinationFolder)
          Moves a workspace to the specified destination folder.
 IWorkspace open(IPropertySet connectionProperties, int hWnd)
          Opens the workspace specified by the connection properties.
 IWorkspace openAvailableWorkspace(IWorkspaceStatus wstatus)
          Makes an attempt to open a new instance of a workspace that is esriWCSDown but has since become esriWCSAvailable.
 IWorkspace openFromFile(java.lang.String fileName, int hWnd)
          Opens the workspace specified by the given file name.
 IWorkspace openFromString(java.lang.String connectStr, int hWnd)
          Opens the workspace specified by a connection string.
 IWorkspace openWithNewLicense(IPropertySet connectionProperties, int hWnd, java.lang.String newLicensePath)
          Open the enterprise database connection with new license file.
 IWorkspace openWithNewPassword(IPropertySet connectionProperties, int hWnd, java.lang.String newPassword)
          Opens the workspace specified by the connection properties.
 IWorkspaceStatus pingWorkspaceStatus(IWorkspace workspace)
          Checks if the status of an esriWCSDown workspace has changed.
 IPropertySet readConnectionPropertiesFromFile(java.lang.String fileName)
          The connection properties from the specified file.
 void refreshAllSchemaCaches()
          Refreshes all current schema caches.
 void refreshSchemaCache(IWorkspace workspace)
          Refreshes the schema cache for a specific workspace.
 void release()
          Release a SdeWorkspaceFactory.
 IWorkspaceName renameConnectionFile(java.lang.String oldPathName, java.lang.String newName)
          Renames the remote database workspace connection file.
 void setParameters(java.lang.String server, java.lang.String instance, java.lang.String user, java.lang.String password, java.lang.String versName)
          Sets ArcSDE connection property parameters.
 void setParameters3(java.lang.String server, java.lang.String instance, java.lang.String authenticationMode, java.lang.String userName, java.lang.String password, java.lang.String versionName, java.lang.Object historicalInfo)
          Sets ArcSDE connection property parameters.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SdeWorkspaceFactory

public SdeWorkspaceFactory()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a SdeWorkspaceFactory using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SdeWorkspaceFactory

public SdeWorkspaceFactory(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SdeWorkspaceFactory theSdeWorkspaceFactory = (SdeWorkspaceFactory) obj;

Construct a SdeWorkspaceFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SdeWorkspaceFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SdeWorkspaceFactory.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

open

public IWorkspace open(IPropertySet connectionProperties,
                       int hWnd)
                throws java.io.IOException,
                       AutomationException
Opens the workspace specified by the connection properties.

Specified by:
open in interface IWorkspaceFactory
Parameters:
connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFromFile

public IWorkspace openFromFile(java.lang.String fileName,
                               int hWnd)
                        throws java.io.IOException,
                               AutomationException
Opens the workspace specified by the given file name.

Specified by:
openFromFile in interface IWorkspaceFactory
Parameters:
fileName - The fileName (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public IWorkspaceName create(java.lang.String parentDirectory,
                             java.lang.String name,
                             IPropertySet connectionProperties,
                             int hWnd)
                      throws java.io.IOException,
                             AutomationException
Creates a new workspace specified by the directory, file name, and connection properties.

Specified by:
create in interface IWorkspaceFactory
Parameters:
parentDirectory - The parentDirectory (in)
name - The name (in)
connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

containsWorkspace

public boolean containsWorkspace(java.lang.String parentDirectory,
                                 IFileNames fileNames)
                          throws java.io.IOException,
                                 AutomationException
Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace.

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

getWorkspaceName

public IWorkspaceName getWorkspaceName(java.lang.String parentDirectory,
                                       IFileNames fileNames)
                                throws java.io.IOException,
                                       AutomationException
Retrieves the workspace name of a workspace from the given list of file names.

Specified by:
getWorkspaceName in interface IWorkspaceFactory
Parameters:
parentDirectory - The parentDirectory (in)
fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public IUID getClassID()
                throws java.io.IOException,
                       AutomationException
The class ID of the WorkspaceFactory.

Specified by:
getClassID in interface IWorkspaceFactory
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isWorkspace

public boolean isWorkspace(java.lang.String fileName)
                    throws java.io.IOException,
                           AutomationException
True if the specified file identifies a workspace supported by the workspace factory.

Specified by:
isWorkspace in interface IWorkspaceFactory
Parameters:
fileName - The fileName (in)
Returns:
The isWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readConnectionPropertiesFromFile

public IPropertySet readConnectionPropertiesFromFile(java.lang.String fileName)
                                              throws java.io.IOException,
                                                     AutomationException
The connection properties from the specified file.

Specified by:
readConnectionPropertiesFromFile in interface IWorkspaceFactory
Parameters:
fileName - The fileName (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.

getWorkspaceDescription

public java.lang.String getWorkspaceDescription(boolean plural)
                                         throws java.io.IOException,
                                                AutomationException
A singular or plural description of the type of workspace the workspace factory opens/creates.

Specified by:
getWorkspaceDescription in interface IWorkspaceFactory
Parameters:
plural - The plural (in)
Returns:
The description
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceType

public int getWorkspaceType()
                     throws java.io.IOException,
                            AutomationException
The type of workspace the workspace factory opens/creates.

Specified by:
getWorkspaceType in interface IWorkspaceFactory
Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public boolean copy(IWorkspaceName workspaceName,
                    java.lang.String destinationFolder,
                    IWorkspaceName[] workspaceNameCopy)
             throws java.io.IOException,
                    AutomationException
Copies a workspace to the specified destination folder.

Specified by:
copy in interface IWorkspaceFactory
Parameters:
workspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
destinationFolder - The destinationFolder (in)
workspaceNameCopy - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (out: use single element array)
Returns:
The successfulCopy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

move

public boolean move(IWorkspaceName workspaceName,
                    java.lang.String destinationFolder)
             throws java.io.IOException,
                    AutomationException
Moves a workspace to the specified destination folder.

Specified by:
move in interface IWorkspaceFactory
Parameters:
workspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
destinationFolder - The destinationFolder (in)
Returns:
The successfulMove
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteConnectionFile

public void deleteConnectionFile(java.lang.String pathName)
                          throws java.io.IOException,
                                 AutomationException
Deletes the remote database workspace connection file.

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

renameConnectionFile

public IWorkspaceName renameConnectionFile(java.lang.String oldPathName,
                                           java.lang.String newName)
                                    throws java.io.IOException,
                                           AutomationException
Renames the remote database workspace connection file.

Specified by:
renameConnectionFile in interface IRemoteDatabaseWorkspaceFactory
Parameters:
oldPathName - The oldPathName (in)
newName - The newName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

editConnectionFile

public IWorkspaceName editConnectionFile(java.lang.String pathName,
                                         int hWnd)
                                  throws java.io.IOException,
                                         AutomationException
Edits the properties of a remote database workspace connection file.

Specified by:
editConnectionFile in interface IRemoteDatabaseWorkspaceFactory
Parameters:
pathName - The pathName (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openWithNewPassword

public IWorkspace openWithNewPassword(IPropertySet connectionProperties,
                                      int hWnd,
                                      java.lang.String newPassword)
                               throws java.io.IOException,
                                      AutomationException
Opens the workspace specified by the connection properties. Changes the connection password if it's expiring or expired.

Specified by:
openWithNewPassword in interface IEnterpriseWorkspaceFactory
Parameters:
connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
hWnd - The hWnd (A COM typedef) (in)
newPassword - The newPassword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openWithNewLicense

public IWorkspace openWithNewLicense(IPropertySet connectionProperties,
                                     int hWnd,
                                     java.lang.String newLicensePath)
                              throws java.io.IOException,
                                     AutomationException
Open the enterprise database connection with new license file.

Specified by:
openWithNewLicense in interface IEnterpriseWorkspaceFactory
Parameters:
connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
hWnd - The hWnd (A COM typedef) (in)
newLicensePath - The newLicensePath (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParameters

public void setParameters(java.lang.String server,
                          java.lang.String instance,
                          java.lang.String user,
                          java.lang.String password,
                          java.lang.String versName)
                   throws java.io.IOException,
                          AutomationException
Sets ArcSDE connection property parameters.

Specified by:
setParameters in interface ISetDefaultConnectionInfo
Parameters:
server - The server (in)
instance - The instance (in)
user - The user (in)
password - The password (in)
versName - The versName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFromString

public IWorkspace openFromString(java.lang.String connectStr,
                                 int hWnd)
                          throws java.io.IOException,
                                 AutomationException
Opens the workspace specified by a connection string.

Specified by:
openFromString in interface IWorkspaceFactory2
Parameters:
connectStr - The connectStr (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearParameters

public void clearParameters(java.lang.String server,
                            java.lang.String instance)
                     throws java.io.IOException,
                            AutomationException
Clears ArcSDE connection property parameters.

Specified by:
clearParameters in interface ISetDefaultConnectionInfo2
Parameters:
server - The server (in)
instance - The instance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enableSchemaCaching

public void enableSchemaCaching()
                         throws java.io.IOException,
                                AutomationException
All new workspaces handed out by the factory will have schema caching enabled.

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

disableSchemaCaching

public void disableSchemaCaching()
                          throws java.io.IOException,
                                 AutomationException
All new workspaces handed out by the factory will not have schema caching enabled.

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

enableSchemaCache

public void enableSchemaCache(IWorkspace workspace)
                       throws java.io.IOException,
                              AutomationException
Enable the schema cache for a specific workspace.

Specified by:
enableSchemaCache in interface IWorkspaceFactorySchemaCache
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enableAllSchemaCaches

public void enableAllSchemaCaches()
                           throws java.io.IOException,
                                  AutomationException
Enable the schema caches of all open workspaces.

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

disableSchemaCache

public void disableSchemaCache(IWorkspace workspace)
                        throws java.io.IOException,
                               AutomationException
Disable the schema cache for a specific workspace.

Specified by:
disableSchemaCache in interface IWorkspaceFactorySchemaCache
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disableAllSchemaCaches

public void disableAllSchemaCaches()
                            throws java.io.IOException,
                                   AutomationException
Disable the schema caches of all open workspaces.

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

isSchemaCacheStale

public boolean isSchemaCacheStale(IWorkspace workspace)
                           throws java.io.IOException,
                                  AutomationException
Checks a specific schema cache for staleness.

Specified by:
isSchemaCacheStale in interface IWorkspaceFactorySchemaCache
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
The isStale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAnySchemaCacheStale

public boolean isAnySchemaCacheStale()
                              throws java.io.IOException,
                                     AutomationException
Checks all current schema caches for staleness.

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

refreshSchemaCache

public void refreshSchemaCache(IWorkspace workspace)
                        throws java.io.IOException,
                               AutomationException
Refreshes the schema cache for a specific workspace.

Specified by:
refreshSchemaCache in interface IWorkspaceFactorySchemaCache
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshAllSchemaCaches

public void refreshAllSchemaCaches()
                            throws java.io.IOException,
                                   AutomationException
Refreshes all current schema caches.

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

getWorkspaceStatus

public IEnumWorkspaceStatus getWorkspaceStatus()
                                        throws java.io.IOException,
                                               AutomationException
Retrieve the workspace status information for all currently opened workspaces.

Specified by:
getWorkspaceStatus in interface IWorkspaceFactoryStatus
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumWorkspaceStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pingWorkspaceStatus

public IWorkspaceStatus pingWorkspaceStatus(IWorkspace workspace)
                                     throws java.io.IOException,
                                            AutomationException
Checks if the status of an esriWCSDown workspace has changed.

Specified by:
pingWorkspaceStatus in interface IWorkspaceFactoryStatus
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openAvailableWorkspace

public IWorkspace openAvailableWorkspace(IWorkspaceStatus wstatus)
                                  throws java.io.IOException,
                                         AutomationException
Makes an attempt to open a new instance of a workspace that is esriWCSDown but has since become esriWCSAvailable.

Specified by:
openAvailableWorkspace in interface IWorkspaceFactoryStatus
Parameters:
wstatus - A reference to a com.esri.arcgis.geodatabase.IWorkspaceStatus (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParameters3

public void setParameters3(java.lang.String server,
                           java.lang.String instance,
                           java.lang.String authenticationMode,
                           java.lang.String userName,
                           java.lang.String password,
                           java.lang.String versionName,
                           java.lang.Object historicalInfo)
                    throws java.io.IOException,
                           AutomationException
Sets ArcSDE connection property parameters.

Specified by:
setParameters3 in interface ISetDefaultConnectionInfo3
Parameters:
server - The server (in)
instance - The instance (in)
authenticationMode - The authenticationMode (in)
userName - The userName (in)
password - The password (in)
versionName - The versionName (in)
historicalInfo - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearParameters3

public void clearParameters3(java.lang.String server,
                             java.lang.String instance,
                             java.lang.String authenticationMode)
                      throws java.io.IOException,
                             AutomationException
Clears ArcSDE connection property parameters.

Specified by:
clearParameters3 in interface ISetDefaultConnectionInfo3
Parameters:
server - The server (in)
instance - The instance (in)
authenticationMode - The authenticationMode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.