com.esri.arcgis.carto
Interface IDataSourceHelperLayer

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

public interface IDataSourceHelperLayer
extends java.io.Serializable

COM Interface 'IDataSourceHelperLayer'. 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 Layer 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 IIDe448a908_20be_477e_bb03_b948a4b97ebf
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void findAndReplaceWorkspaceNamePath(ILayer pLayer, java.lang.String oldWorkspaceName, java.lang.String newWorkspaceName, boolean validate)
          Replaces the layer's workspace path name with the given workspace path name; Also does find and replace of parts of the workspace path name.
 void replaceName(ILayer pLayer, IName pName, boolean validate)
          Replaces the layer's IName with the given IName.
 

Field Detail

IIDe448a908_20be_477e_bb03_b948a4b97ebf

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

replaceName

void replaceName(ILayer pLayer,
                 IName pName,
                 boolean validate)
                 throws java.io.IOException,
                        AutomationException
Replaces the layer's IName with the given IName.

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (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(ILayer pLayer,
                                     java.lang.String oldWorkspaceName,
                                     java.lang.String newWorkspaceName,
                                     boolean validate)
                                     throws java.io.IOException,
                                            AutomationException
Replaces the layer's workspace path name with the given workspace path name; Also does find and replace of parts of the workspace path name.

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (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.