com.esri.arcgis.geodatabaseui
Class ExportOperation

java.lang.Object
  extended by com.esri.arcgis.geodatabaseui.ExportOperation
All Implemented Interfaces:
IFeatureProgress, IExportOperation, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class ExportOperation
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IExportOperation, IFeatureProgress

COM Class 'ExportOperation'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriGeoDatabaseUI.olb'

Description 'ExportOperation class used to export a table or feature class.' 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.geodatabaseui.IExportOperation
IID, IID4147a361_efc4_11d3_a0a4_00c04f6bc626, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureProgress
IID, IID29d3b6dd_3917_11d2_aadf_00c04fa33c20, xxDummy
 
Constructor Summary
ExportOperation()
          Constructs a ExportOperation using ArcGIS Engine.
ExportOperation(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ExportOperation theExportOperation = (ExportOperation) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void exportFeatureClass(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IGeometryDef inputGeometryDef, IFeatureClassName outputFClassName, int parantHWnd)
          Exports the given feature class to a new feature class.
 void exportTable(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IDatasetName outputDatasetName, int parentHWnd)
          Exports the given table to a new table.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IDatasetName getOptions(IFeatureClass featureClass, java.lang.String layerName, boolean hasSelection, boolean supportMapProjection, int parentHWnd, boolean[] saveProjection, int[] option)
          Provides a dialog that prompts for export options.
 int hashCode()
          the hashcode for this object
 boolean isCancelled(IFeatureProgressIsCancelledEvent theEvent)
          Indicates whether the cancel button is pressed.
 void release()
          Release a ExportOperation.
 void setFeatureClassName(IFeatureProgressSetFeatureClassNameEvent theEvent)
          Input feature class name.
 void setMaxFeatures(IFeatureProgressSetMaxFeaturesEvent theEvent)
          Maximum number of features/rows in the input object class.
 void setMinFeatures(IFeatureProgressSetMinFeaturesEvent theEvent)
          Minimum number of features/rows in the input objectclass.
 void setPosition(IFeatureProgressSetPositionEvent theEvent)
          Current feature/row that currently converted by the converter.
 void setStepValue(IFeatureProgressSetStepValueEvent theEvent)
          Current position of conversion.
 void step(IFeatureProgressStepEvent theEvent)
          Step the progressor interval.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportOperation

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

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

ExportOperation

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

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

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

release

public void release()
Release a ExportOperation.

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

getOptions

public IDatasetName getOptions(IFeatureClass featureClass,
                               java.lang.String layerName,
                               boolean hasSelection,
                               boolean supportMapProjection,
                               int parentHWnd,
                               boolean[] saveProjection,
                               int[] option)
                        throws java.io.IOException,
                               AutomationException
Provides a dialog that prompts for export options. These include including the output table/feature class.

Specified by:
getOptions in interface IExportOperation
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
layerName - The layerName (in)
hasSelection - The hasSelection (in)
supportMapProjection - The supportMapProjection (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
saveProjection - The saveProjection (out: use single element array)
option - A com.esri.arcgis.geodatabaseui.esriExportTableOptions constant (out: use single element array)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDatasetName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportTable

public void exportTable(IDatasetName inputDatasetName,
                        IQueryFilter inputQueryFilter,
                        ISelectionSet inputSelectionSet,
                        IDatasetName outputDatasetName,
                        int parentHWnd)
                 throws java.io.IOException,
                        AutomationException
Exports the given table to a new table.

Specified by:
exportTable in interface IExportOperation
Parameters:
inputDatasetName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
inputQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
inputSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
outputDatasetName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportFeatureClass

public void exportFeatureClass(IDatasetName inputDatasetName,
                               IQueryFilter inputQueryFilter,
                               ISelectionSet inputSelectionSet,
                               IGeometryDef inputGeometryDef,
                               IFeatureClassName outputFClassName,
                               int parantHWnd)
                        throws java.io.IOException,
                               AutomationException
Exports the given feature class to a new feature class.

Specified by:
exportFeatureClass in interface IExportOperation
Parameters:
inputDatasetName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
inputQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
inputSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
inputGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
outputFClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
parantHWnd - The parantHWnd (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureClassName

public void setFeatureClassName(IFeatureProgressSetFeatureClassNameEvent theEvent)
                         throws java.io.IOException,
                                AutomationException
Input feature class name.

Specified by:
setFeatureClassName in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinFeatures

public void setMinFeatures(IFeatureProgressSetMinFeaturesEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Minimum number of features/rows in the input objectclass.

Specified by:
setMinFeatures in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxFeatures

public void setMaxFeatures(IFeatureProgressSetMaxFeaturesEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Maximum number of features/rows in the input object class.

Specified by:
setMaxFeatures in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPosition

public void setPosition(IFeatureProgressSetPositionEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Current feature/row that currently converted by the converter.

Specified by:
setPosition in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStepValue

public void setStepValue(IFeatureProgressSetStepValueEvent theEvent)
                  throws java.io.IOException,
                         AutomationException
Current position of conversion.

Specified by:
setStepValue in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

step

public void step(IFeatureProgressStepEvent theEvent)
          throws java.io.IOException,
                 AutomationException
Step the progressor interval.

Specified by:
step in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCancelled

public boolean isCancelled(IFeatureProgressIsCancelledEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Indicates whether the cancel button is pressed. The data conversion will be cancelled if the user press the cancel button.

Specified by:
isCancelled in interface IFeatureProgress
Parameters:
theEvent - The event
Returns:
The pbIsCancelled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.