| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataSourceHelperMap
Provides access to members that help repair/replace data sources at the Map Level.
| Method Summary | |
|---|---|
 void | 
findAndReplaceWorkspaceNamePath(IBasicMap pBasicMap,
                                String oldWorkspaceName,
                                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.  | 
| Method Detail | 
|---|
void replaceWorkspaceName(IBasicMap pBasicMap,
                          IWorkspaceName pOldWorkspaceName,
                          IWorkspaceName pNewWorkspaceName,
                          boolean validate)
                          throws IOException,
                                 AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void repair(IBasicMap pBasicMap,
            IDataLayer pDataLayer,
            IName pName,
            boolean validate)
            throws IOException,
                   AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void findAndReplaceWorkspaceNamePath(IBasicMap pBasicMap,
                                     String oldWorkspaceName,
                                     String newWorkspaceName,
                                     boolean validate)
                                     throws IOException,
                                            AutomationException
pBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap  (in)oldWorkspaceName - The oldWorkspaceName  (in)newWorkspaceName - The newWorkspaceName  (in)validate - The validate  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||