com.esri.arcgis.carto
Interface IDataSourceHelperMap

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DataSourceHelper, IDataSourceHelperMapProxy

public interface IDataSourceHelperMap
extends java.io.Serializable

COM Interface 'IDataSourceHelperMap'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that help repair/replace data sources at the Map Level.' 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 IIDa31a9a8a_3b4a_4a6e_abbd_589296e1ec02
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void findAndReplaceWorkspaceNamePath(IBasicMap pBasicMap, java.lang.String oldWorkspaceName, java.lang.String newWorkspaceName, boolean validate)
          String version of ReplaceWorkspaceName; Also does find and replace of parts of the workspace path name.
 void repair(IBasicMap pBasicMap, IDataLayer pDataLayer, IName pName, boolean validate)
          Repairs the specified layer and attempt to repair all other broken layers with same workspace path name as the specified layer.
 void replaceWorkspaceName(IBasicMap pBasicMap, IWorkspaceName pOldWorkspaceName, IWorkspaceName pNewWorkspaceName, boolean validate)
          Replaces all layers having matching workspace path names with the new workspace name object.
 

Field Detail

IIDa31a9a8a_3b4a_4a6e_abbd_589296e1ec02

static final int IIDa31a9a8a_3b4a_4a6e_abbd_589296e1ec02
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

replaceWorkspaceName

void replaceWorkspaceName(IBasicMap pBasicMap,
                          IWorkspaceName pOldWorkspaceName,
                          IWorkspaceName pNewWorkspaceName,
                          boolean validate)
                          throws java.io.IOException,
                                 AutomationException
Replaces all layers having matching workspace path names with the new workspace name object.

Parameters:
pBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
pOldWorkspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
pNewWorkspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
validate - The validate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

repair

void repair(IBasicMap pBasicMap,
            IDataLayer pDataLayer,
            IName pName,
            boolean validate)
            throws java.io.IOException,
                   AutomationException
Repairs the specified layer and attempt to repair all other broken layers with same workspace path name as the specified layer.

Parameters:
pBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
pDataLayer - A reference to a com.esri.arcgis.carto.IDataLayer (in)
pName - A reference to a com.esri.arcgis.system.IName (in)
validate - The validate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findAndReplaceWorkspaceNamePath

void findAndReplaceWorkspaceNamePath(IBasicMap pBasicMap,
                                     java.lang.String oldWorkspaceName,
                                     java.lang.String newWorkspaceName,
                                     boolean validate)
                                     throws java.io.IOException,
                                            AutomationException
String version of ReplaceWorkspaceName; Also does find and replace of parts of the workspace path name.

Parameters:
pBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
oldWorkspaceName - The oldWorkspaceName (in)
newWorkspaceName - The newWorkspaceName (in)
validate - The validate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.