com.esri.arcgis.carto
Class IDataSourceHelperMapDocumentProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IDataSourceHelperMapDocumentProxy
All Implemented Interfaces:
IDataSourceHelperMapDocument, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IDataSourceHelperMapDocument'. 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 Document 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 =

public class IDataSourceHelperMapDocumentProxy
extends com.esri.arcgis.interop.Dispatch
implements IDataSourceHelperMapDocument, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.IDataSourceHelperMapDocument
IID, IIDbd16c25f_5ac2_4e6d_8e34_bcc5feb395dd
 
Constructor Summary
  IDataSourceHelperMapDocumentProxy()
          Deprecated. For internal use only
  IDataSourceHelperMapDocumentProxy(java.lang.Object obj)
          Deprecated.  
protected IDataSourceHelperMapDocumentProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IDataSourceHelperMapDocumentProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IDataSourceHelperMapDocumentProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void findAndReplaceWorkspaceNamePath(IMapDocument pMapDocument, java.lang.String oldWorkspaceName, java.lang.String newWorkspaceName, boolean validate)
          Deprecated. String version of ReplaceWorkspaceName.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void repair(IMapDocument pMapDocument, IDataLayer pDataLayer, IName pName, boolean validate)
          Deprecated. Repairs the specified layer and attempt to repair all other broken layers with same workspace path name as the specified layer.
 void replaceWorkspaceName(IMapDocument pMapDocument, IWorkspaceName pOldWorkspaceName, IWorkspaceName pNewWorkspaceName, boolean validate)
          Deprecated. Replaces all layers having matching workspace path names with the new workspace name object.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IDataSourceHelperMapDocumentProxy

public IDataSourceHelperMapDocumentProxy(java.lang.String CLSID,
                                         java.lang.String host,
                                         com.esri.arcgis.interop.AuthInfo authInfo)
                                  throws java.net.UnknownHostException,
                                         java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IDataSourceHelperMapDocumentProxy

public IDataSourceHelperMapDocumentProxy()
Deprecated. 
For internal use only


IDataSourceHelperMapDocumentProxy

public IDataSourceHelperMapDocumentProxy(java.lang.Object obj)
                                  throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IDataSourceHelperMapDocumentProxy

protected IDataSourceHelperMapDocumentProxy(java.lang.Object obj,
                                            java.lang.String iid)
                                     throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IDataSourceHelperMapDocumentProxy

protected IDataSourceHelperMapDocumentProxy(java.lang.String CLSID,
                                            java.lang.String iid,
                                            java.lang.String host,
                                            com.esri.arcgis.interop.AuthInfo authInfo)
                                     throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

replaceWorkspaceName

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

Specified by:
replaceWorkspaceName in interface IDataSourceHelperMapDocument
Parameters:
pMapDocument - A reference to a com.esri.arcgis.carto.IMapDocument (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

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

Specified by:
repair in interface IDataSourceHelperMapDocument
Parameters:
pMapDocument - A reference to a com.esri.arcgis.carto.IMapDocument (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

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

Specified by:
findAndReplaceWorkspaceNamePath in interface IDataSourceHelperMapDocument
Parameters:
pMapDocument - A reference to a com.esri.arcgis.carto.IMapDocument (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.