com.esri.arcgis.geodatabase
Class GeoDBDataTransfer

java.lang.Object
  extended by com.esri.arcgis.geodatabase.GeoDBDataTransfer
All Implemented Interfaces:
IConnectionPointContainer, IGeoDBDataTransfer, IGeoDBDataTransfer2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GeoDBDataTransfer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeoDBDataTransfer, IGeoDBDataTransfer2, IConnectionPointContainer

COM Class 'GeoDBDataTransfer'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'Transfers data to/from GeoDatabases.' 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.IGeoDBDataTransfer2
IID, IID69ebda67_d1fc_4f5a_829f_3e73098cd6d7, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IGeoDBDataTransfer
IID9b6b1ad3_e0e7_11d3_8118_00c04f686238
 
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy
 
Constructor Summary
GeoDBDataTransfer()
          Constructs a GeoDBDataTransfer using ArcGIS Engine.
GeoDBDataTransfer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeoDBDataTransfer theGeoDBDataTransfer = (GeoDBDataTransfer) obj;
 
Method Summary
 void addIFeatureProgressListener(IFeatureProgress theListener)
          addIFeatureProgressListener.
 void delete(IEnumNameMapping from, IName toName)
          Deletes objects that were transfered.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 boolean generateNameMapping(IEnumName from, IName toName, IEnumNameMapping[] to)
          Generate a list of objects to transfer.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 int numberObjectsToTransfer(IEnumNameMapping from)
          Returns the number of objects to be transfered (by the Simple Data Converter).
 void release()
          Release a GeoDBDataTransfer.
 void removeIFeatureProgressListener(IFeatureProgress theListener)
          removeIFeatureProgressListener.
 void transfer(IEnumNameMapping from, IName toName)
          Transfers Data from one Workspace to another.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoDBDataTransfer

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

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

GeoDBDataTransfer

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

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

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

addIFeatureProgressListener

public void addIFeatureProgressListener(IFeatureProgress theListener)
                                 throws java.io.IOException
addIFeatureProgressListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

removeIFeatureProgressListener

public void removeIFeatureProgressListener(IFeatureProgress theListener)
                                    throws java.io.IOException
removeIFeatureProgressListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a GeoDBDataTransfer.

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

generateNameMapping

public boolean generateNameMapping(IEnumName from,
                                   IName toName,
                                   IEnumNameMapping[] to)
                            throws java.io.IOException,
                                   AutomationException
Generate a list of objects to transfer.

Specified by:
generateNameMapping in interface IGeoDBDataTransfer
Parameters:
from - A reference to a com.esri.arcgis.system.IEnumName (in)
toName - A reference to a com.esri.arcgis.system.IName (in)
to - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (out: use single element array)
Returns:
The conflicts
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transfer

public void transfer(IEnumNameMapping from,
                     IName toName)
              throws java.io.IOException,
                     AutomationException
Transfers Data from one Workspace to another.

Specified by:
transfer in interface IGeoDBDataTransfer
Parameters:
from - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)
toName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

numberObjectsToTransfer

public int numberObjectsToTransfer(IEnumNameMapping from)
                            throws java.io.IOException,
                                   AutomationException
Returns the number of objects to be transfered (by the Simple Data Converter).

Specified by:
numberObjectsToTransfer in interface IGeoDBDataTransfer
Parameters:
from - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)
Returns:
The nObjects
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete(IEnumNameMapping from,
                   IName toName)
            throws java.io.IOException,
                   AutomationException
Deletes objects that were transfered.

Specified by:
delete in interface IGeoDBDataTransfer2
Parameters:
from - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)
toName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws java.io.IOException,
                                 AutomationException
enumConnectionPoints

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws java.io.IOException,
                                AutomationException
findConnectionPoint

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.