com.esri.arcgis.geoprocessing
Class IGpDispatchProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGpDispatchProxy
All Implemented Interfaces:
IGpDispatch, java.io.Externalizable, java.io.Serializable

public class IGpDispatchProxy
extends com.esri.arcgis.interop.Dispatch
implements IGpDispatch, java.io.Serializable

Internal use class Proxy for COM Interface 'IGpDispatch'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to the properties and methods of a Geoprocessor object.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
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.geoprocessing.IGpDispatch
DISPID_1_GET_NAME, DISPID_100_GET_NAME, DISPID_101_NAME, DISPID_102_NAME, DISPID_105_NAME, DISPID_11_NAME, DISPID_110_NAME, DISPID_111_NAME, DISPID_112_NAME, DISPID_113_GET_NAME, DISPID_113_PUT_NAME, DISPID_114_NAME, DISPID_115_NAME, DISPID_116_NAME, DISPID_12_NAME, DISPID_13_NAME, DISPID_130_NAME, DISPID_131_NAME, DISPID_132_NAME, DISPID_14_NAME, DISPID_141_NAME, DISPID_150_NAME, DISPID_151_NAME, DISPID_152_NAME, DISPID_153_NAME, DISPID_154_NAME, DISPID_158_NAME, DISPID_159_NAME, DISPID_170_NAME, DISPID_171_NAME, DISPID_172_NAME, DISPID_173_NAME, DISPID_180_NAME, DISPID_181_NAME, DISPID_2_NAME, DISPID_202_GET_NAME, DISPID_202_PUT_NAME, DISPID_203_GET_NAME, DISPID_203_PUT_NAME, DISPID_210_NAME, DISPID_211_NAME, DISPID_212_NAME, DISPID_213_NAME, DISPID_214_NAME, DISPID_215_NAME, DISPID_216_NAME, DISPID_217_NAME, DISPID_218_NAME, DISPID_219_NAME, DISPID_220_NAME, DISPID_230_NAME, DISPID_240_NAME, DISPID_3_NAME, DISPID_4_NAME, DISPID_5_NAME, DISPID_50_NAME, DISPID_51_NAME, DISPID_52_NAME, DISPID_53_NAME, DISPID_54_NAME, DISPID_55_NAME, DISPID_6_GET_NAME, IID, IIDccbc8b04_f507_423d_a9b8_20971e86ea86
 
Constructor Summary
  IGpDispatchProxy()
          For internal use only
  IGpDispatchProxy(java.lang.Object obj)
           
protected IGpDispatchProxy(java.lang.Object obj, java.lang.String iid)
           
  IGpDispatchProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGpDispatchProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addError(java.lang.String message)
          Sets the output error message.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void addMessage(java.lang.String message)
          Sets the output message.
 void addReturnMessage(int index)
          Sets the return message as an output message by index.
 void addToolbox(java.lang.String toolbox)
          Add the toolbox to the current session.
 void addWarning(java.lang.String message)
          Sets the output warning message.
 java.lang.String checkExtension(java.lang.String extension)
          Checks the status of a product extension.
 java.lang.String checkInExtension(java.lang.String extension)
          Checks in a product extension.
 java.lang.String checkOutExtension(java.lang.String extension)
          Checks out a product extension.
 java.lang.String checkProduct(java.lang.String code)
          Check the status of a license code.
 void clearEnvironment(java.lang.String env)
          Clears the value of a given environment.
 java.lang.String command(java.lang.String commandLine)
          executes the given command line.
 void copyParameter(int from, int to)
          Copy given tool parameter to another.
 java.lang.Object createObject(java.lang.Object pObjectName, java.lang.Object pExtraArg)
          Creates a geoprocessing object that can be used in a scripting environment.
 java.lang.Object createRandomValueGenerator(int seed, java.lang.String distributionType)
          Creates a geoprocessing random number generator object that can be used to generate random numbers.
 java.lang.String createScratchName(java.lang.Object prefix, java.lang.Object suffix, java.lang.Object dataType, java.lang.Object workspace)
          Creates a scratch name for the given workspace.
 java.lang.String createUniqueName(java.lang.String inputTableName, java.lang.Object workspace)
          Creates a unique name for the given workspace.
 java.lang.Object describe(java.lang.Object pInputValue, java.lang.Object dataType)
          Returns a descriptor object describing the properties of the specified data element.
 boolean exists(java.lang.Object pInputValue, java.lang.Object dataType)
          Checks if a data element exists.
 int getMaxSeverity()
          The maximum severity of the return messages.
 java.lang.String getMessage(int index)
          Gets the return message by index.
 int getMessageCount()
          The number of returned messages.
 java.lang.String getMessages(java.lang.Object severity)
          Gets all the return messages.
 java.lang.String getParameterAsText(int index)
          Gets given tool parameter as text.
 int getParameterCount()
          The number of input tool parameters.
 int getReturnCode(int index)
          Gets the return code by index.
 int getSeverity(int index)
          Gets the return severity by index.
 java.lang.String getSystemEnvironment(java.lang.String envName)
          Gets the given system environment.
 java.lang.String getToolbox()
          Sets the current (default) toolbox.
 java.lang.Object insertCursor(java.lang.Object pInputValue, java.lang.Object spRef)
          Returns an insert cursor object against the given table/feature class.
 boolean isLogHistory()
          Indicates whether or not operations are logged or not.
 boolean isOverwriteOutput()
          Indicates whether or not outputs should be overwritten.
 java.lang.Object listDatasets(java.lang.Object wildCard, java.lang.Object featureType)
          Returns a collection of datasets in the current workspace based on a query string and type.
 java.lang.Object listEnvironments(java.lang.Object pWildcard)
          Gets list of GeoProcessor Environments.
 java.lang.Object listFeatureClasses(java.lang.Object wildCard, java.lang.Object featureType, java.lang.Object dataset)
          Returns a collection of feature classes in the current workspace or optional dataset, based on a query string and type.
 java.lang.Object listFields(java.lang.Object pInputValue, java.lang.Object wildCard, java.lang.Object fieldType)
          Returns a collection of fields in the given table/feature class based on a query string and type.
 java.lang.Object listIndexes(java.lang.Object pInputValue, java.lang.Object wildCard)
          Returns a collection of indexes in the given table/feature class based on a query string and type.
 java.lang.Object listRasters(java.lang.Object wildCard, java.lang.Object rasterType)
          Returns a collection of rasters in the current workspace based on a query string and type.
 java.lang.Object listTables(java.lang.Object wildCard, java.lang.Object tableType)
          Returns a collection of tables in the current workspace based on a query string and type.
 java.lang.Object listToolboxes(java.lang.Object pWildcard)
          Gets list of GeoProcessor Toolboxes.
 java.lang.Object listTools(java.lang.Object pWildcard)
          Gets list of GeoProcessor Tools.
 java.lang.Object listWorkspaces(java.lang.Object wildCard, java.lang.Object workspaceType)
          Returns a collection of workspaces in the current workspace based on a query string and type.
 void loadSettings(java.lang.String fileName)
          Loads the current GeoProcessor environment settings.
 java.lang.String parseFieldName(java.lang.String inputFieldName, java.lang.Object workspace)
          Parses a field name into its constituent parts.
 java.lang.String parseTableName(java.lang.String inputTableName, java.lang.Object workspace)
          Parses a table name into its constituent parts.
 java.lang.String productInfo()
          Gets the product license info.
 java.lang.String qualifyFieldName(java.lang.String inputFieldName, java.lang.Object workspace)
          Qualifies a field name for the workspace and connected user.
 java.lang.String qualifyTableName(java.lang.String inputTableName, java.lang.Object workspace)
          Qualifies a table name for the workspace and connected user.
 void refreshCatalog(java.lang.Object pInputValue)
          Refreshes the parent of the specified object in the catalog object associated with the Geoprocessor.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void removeToolbox(java.lang.String toolbox)
          Remove the toolbox from the current session.
 void resetEnvironments()
          Tests if a given environments value is set or not.
 void saveSettings(java.lang.String fileName)
          Saves the current GeoProcessor environment settings.
 java.lang.Object searchCursor(java.lang.Object pInputValue, java.lang.Object whereClause, java.lang.Object spRef, java.lang.Object fields, java.lang.Object sortFields)
          Returns a search cursor object against the given table/feature class.
 void setLogHistory(boolean logHistory)
          Indicates whether or not operations are logged or not.
 void setOverwriteOutput(boolean overwriteOutput)
          Indicates whether or not outputs should be overwritten.
 void setParameterAsText(int index, java.lang.String argument)
          Sets given tool parameter as text.
 java.lang.String setProduct(java.lang.String code)
          Sets the license level.
 void setToolbox(java.lang.String toolbox)
          Sets the current (default) toolbox.
 java.lang.String testSchemaLock(java.lang.String fileName)
          Tests if an exclusive schema lock is set on a dataset.
 java.lang.Object updateCursor(java.lang.Object pInputValue, java.lang.Object whereClause, java.lang.Object spRef, java.lang.Object fields, java.lang.Object sortFields)
          Returns an update cursor object against the given table/feature class.
 java.lang.String usage(java.lang.String method)
          Generates the Usage for a given tool.
 java.lang.String validateFieldName(java.lang.String inputFieldName, java.lang.Object workspace)
          Checks a field for compatibility with the workspace.
 java.lang.String validateTableName(java.lang.String inputTableName, java.lang.Object workspace)
          Checks a table name for compatibility with the workspace.
 
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

noncastable

public boolean noncastable
Constructor Detail

IGpDispatchProxy

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

IGpDispatchProxy

public IGpDispatchProxy()
For internal use only


IGpDispatchProxy

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

IGpDispatchProxy

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

IGpDispatchProxy

protected IGpDispatchProxy(java.lang.String CLSID,
                           java.lang.String iid,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.io.IOException
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
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
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getMessageCount

public int getMessageCount()
                    throws java.io.IOException,
                           AutomationException
The number of returned messages.

Specified by:
getMessageCount in interface IGpDispatch
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessage

public java.lang.String getMessage(int index)
                            throws java.io.IOException,
                                   AutomationException
Gets the return message by index.

Specified by:
getMessage in interface IGpDispatch
Parameters:
index - The index (in)
Returns:
The message
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSeverity

public int getSeverity(int index)
                throws java.io.IOException,
                       AutomationException
Gets the return severity by index.

Specified by:
getSeverity in interface IGpDispatch
Parameters:
index - The index (in)
Returns:
The severity
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReturnCode

public int getReturnCode(int index)
                  throws java.io.IOException,
                         AutomationException
Gets the return code by index.

Specified by:
getReturnCode in interface IGpDispatch
Parameters:
index - The index (in)
Returns:
The code
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessages

public java.lang.String getMessages(java.lang.Object severity)
                             throws java.io.IOException,
                                    AutomationException
Gets all the return messages.

Specified by:
getMessages in interface IGpDispatch
Parameters:
severity - A Variant (in, optional, pass null if not required)
Returns:
The messages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxSeverity

public int getMaxSeverity()
                   throws java.io.IOException,
                          AutomationException
The maximum severity of the return messages.

Specified by:
getMaxSeverity in interface IGpDispatch
Returns:
The severity
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessage

public void addMessage(java.lang.String message)
                throws java.io.IOException,
                       AutomationException
Sets the output message.

Specified by:
addMessage in interface IGpDispatch
Parameters:
message - The message (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addError

public void addError(java.lang.String message)
              throws java.io.IOException,
                     AutomationException
Sets the output error message.

Specified by:
addError in interface IGpDispatch
Parameters:
message - The message (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addWarning

public void addWarning(java.lang.String message)
                throws java.io.IOException,
                       AutomationException
Sets the output warning message.

Specified by:
addWarning in interface IGpDispatch
Parameters:
message - The message (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addReturnMessage

public void addReturnMessage(int index)
                      throws java.io.IOException,
                             AutomationException
Sets the return message as an output message by index.

Specified by:
addReturnMessage in interface IGpDispatch
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProduct

public java.lang.String setProduct(java.lang.String code)
                            throws java.io.IOException,
                                   AutomationException
Sets the license level.

Specified by:
setProduct in interface IGpDispatch
Parameters:
code - The code (in)
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkProduct

public java.lang.String checkProduct(java.lang.String code)
                              throws java.io.IOException,
                                     AutomationException
Check the status of a license code.

Specified by:
checkProduct in interface IGpDispatch
Parameters:
code - The code (in)
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

productInfo

public java.lang.String productInfo()
                             throws java.io.IOException,
                                    AutomationException
Gets the product license info.

Specified by:
productInfo in interface IGpDispatch
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkOutExtension

public java.lang.String checkOutExtension(java.lang.String extension)
                                   throws java.io.IOException,
                                          AutomationException
Checks out a product extension.

Specified by:
checkOutExtension in interface IGpDispatch
Parameters:
extension - The extension (in)
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkInExtension

public java.lang.String checkInExtension(java.lang.String extension)
                                  throws java.io.IOException,
                                         AutomationException
Checks in a product extension.

Specified by:
checkInExtension in interface IGpDispatch
Parameters:
extension - The extension (in)
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

checkExtension

public java.lang.String checkExtension(java.lang.String extension)
                                throws java.io.IOException,
                                       AutomationException
Checks the status of a product extension.

Specified by:
checkExtension in interface IGpDispatch
Parameters:
extension - The extension (in)
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameterCount

public int getParameterCount()
                      throws java.io.IOException,
                             AutomationException
The number of input tool parameters.

Specified by:
getParameterCount in interface IGpDispatch
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameterAsText

public java.lang.String getParameterAsText(int index)
                                    throws java.io.IOException,
                                           AutomationException
Gets given tool parameter as text.

Specified by:
getParameterAsText in interface IGpDispatch
Parameters:
index - The index (in)
Returns:
The argument
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParameterAsText

public void setParameterAsText(int index,
                               java.lang.String argument)
                        throws java.io.IOException,
                               AutomationException
Sets given tool parameter as text.

Specified by:
setParameterAsText in interface IGpDispatch
Parameters:
index - The index (in)
argument - The argument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copyParameter

public void copyParameter(int from,
                          int to)
                   throws java.io.IOException,
                          AutomationException
Copy given tool parameter to another.

Specified by:
copyParameter in interface IGpDispatch
Parameters:
from - The from (in)
to - The to (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listTools

public java.lang.Object listTools(java.lang.Object pWildcard)
                           throws java.io.IOException,
                                  AutomationException
Gets list of GeoProcessor Tools.

Specified by:
listTools in interface IGpDispatch
Parameters:
pWildcard - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listEnvironments

public java.lang.Object listEnvironments(java.lang.Object pWildcard)
                                  throws java.io.IOException,
                                         AutomationException
Gets list of GeoProcessor Environments.

Specified by:
listEnvironments in interface IGpDispatch
Parameters:
pWildcard - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listToolboxes

public java.lang.Object listToolboxes(java.lang.Object pWildcard)
                               throws java.io.IOException,
                                      AutomationException
Gets list of GeoProcessor Toolboxes.

Specified by:
listToolboxes in interface IGpDispatch
Parameters:
pWildcard - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToolbox

public void setToolbox(java.lang.String toolbox)
                throws java.io.IOException,
                       AutomationException
Sets the current (default) toolbox.

Specified by:
setToolbox in interface IGpDispatch
Parameters:
toolbox - The toolbox (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToolbox

public java.lang.String getToolbox()
                            throws java.io.IOException,
                                   AutomationException
Sets the current (default) toolbox.

Specified by:
getToolbox in interface IGpDispatch
Returns:
The toolbox
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addToolbox

public void addToolbox(java.lang.String toolbox)
                throws java.io.IOException,
                       AutomationException
Add the toolbox to the current session.

Specified by:
addToolbox in interface IGpDispatch
Parameters:
toolbox - The toolbox (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeToolbox

public void removeToolbox(java.lang.String toolbox)
                   throws java.io.IOException,
                          AutomationException
Remove the toolbox from the current session.

Specified by:
removeToolbox in interface IGpDispatch
Parameters:
toolbox - The toolbox (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSystemEnvironment

public java.lang.String getSystemEnvironment(java.lang.String envName)
                                      throws java.io.IOException,
                                             AutomationException
Gets the given system environment.

Specified by:
getSystemEnvironment in interface IGpDispatch
Parameters:
envName - The envName (in)
Returns:
The pEnvironment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

command

public java.lang.String command(java.lang.String commandLine)
                         throws java.io.IOException,
                                AutomationException
executes the given command line.

Specified by:
command in interface IGpDispatch
Parameters:
commandLine - The commandLine (in)
Returns:
The results
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

usage

public java.lang.String usage(java.lang.String method)
                       throws java.io.IOException,
                              AutomationException
Generates the Usage for a given tool.

Specified by:
usage in interface IGpDispatch
Parameters:
method - The method (in)
Returns:
The usage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exists

public boolean exists(java.lang.Object pInputValue,
                      java.lang.Object dataType)
               throws java.io.IOException,
                      AutomationException
Checks if a data element exists.

Specified by:
exists in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
dataType - A Variant (in, optional, pass null if not required)
Returns:
The exists
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshCatalog

public void refreshCatalog(java.lang.Object pInputValue)
                    throws java.io.IOException,
                           AutomationException
Refreshes the parent of the specified object in the catalog object associated with the Geoprocessor.

Specified by:
refreshCatalog in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listFeatureClasses

public java.lang.Object listFeatureClasses(java.lang.Object wildCard,
                                           java.lang.Object featureType,
                                           java.lang.Object dataset)
                                    throws java.io.IOException,
                                           AutomationException
Returns a collection of feature classes in the current workspace or optional dataset, based on a query string and type.

Specified by:
listFeatureClasses in interface IGpDispatch
Parameters:
wildCard - A Variant (in, optional, pass null if not required)
featureType - A Variant (in, optional, pass null if not required)
dataset - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listDatasets

public java.lang.Object listDatasets(java.lang.Object wildCard,
                                     java.lang.Object featureType)
                              throws java.io.IOException,
                                     AutomationException
Returns a collection of datasets in the current workspace based on a query string and type.

Specified by:
listDatasets in interface IGpDispatch
Parameters:
wildCard - A Variant (in, optional, pass null if not required)
featureType - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listTables

public java.lang.Object listTables(java.lang.Object wildCard,
                                   java.lang.Object tableType)
                            throws java.io.IOException,
                                   AutomationException
Returns a collection of tables in the current workspace based on a query string and type.

Specified by:
listTables in interface IGpDispatch
Parameters:
wildCard - A Variant (in, optional, pass null if not required)
tableType - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listRasters

public java.lang.Object listRasters(java.lang.Object wildCard,
                                    java.lang.Object rasterType)
                             throws java.io.IOException,
                                    AutomationException
Returns a collection of rasters in the current workspace based on a query string and type.

Specified by:
listRasters in interface IGpDispatch
Parameters:
wildCard - A Variant (in, optional, pass null if not required)
rasterType - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listWorkspaces

public java.lang.Object listWorkspaces(java.lang.Object wildCard,
                                       java.lang.Object workspaceType)
                                throws java.io.IOException,
                                       AutomationException
Returns a collection of workspaces in the current workspace based on a query string and type.

Specified by:
listWorkspaces in interface IGpDispatch
Parameters:
wildCard - A Variant (in, optional, pass null if not required)
workspaceType - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listFields

public java.lang.Object listFields(java.lang.Object pInputValue,
                                   java.lang.Object wildCard,
                                   java.lang.Object fieldType)
                            throws java.io.IOException,
                                   AutomationException
Returns a collection of fields in the given table/feature class based on a query string and type.

Specified by:
listFields in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
wildCard - A Variant (in, optional, pass null if not required)
fieldType - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listIndexes

public java.lang.Object listIndexes(java.lang.Object pInputValue,
                                    java.lang.Object wildCard)
                             throws java.io.IOException,
                                    AutomationException
Returns a collection of indexes in the given table/feature class based on a query string and type.

Specified by:
listIndexes in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
wildCard - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchCursor

public java.lang.Object searchCursor(java.lang.Object pInputValue,
                                     java.lang.Object whereClause,
                                     java.lang.Object spRef,
                                     java.lang.Object fields,
                                     java.lang.Object sortFields)
                              throws java.io.IOException,
                                     AutomationException
Returns a search cursor object against the given table/feature class.

Specified by:
searchCursor in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
whereClause - A Variant (in, optional, pass null if not required)
spRef - A Variant (in, optional, pass null if not required)
fields - A Variant (in, optional, pass null if not required)
sortFields - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateCursor

public java.lang.Object updateCursor(java.lang.Object pInputValue,
                                     java.lang.Object whereClause,
                                     java.lang.Object spRef,
                                     java.lang.Object fields,
                                     java.lang.Object sortFields)
                              throws java.io.IOException,
                                     AutomationException
Returns an update cursor object against the given table/feature class.

Specified by:
updateCursor in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
whereClause - A Variant (in, optional, pass null if not required)
spRef - A Variant (in, optional, pass null if not required)
fields - A Variant (in, optional, pass null if not required)
sortFields - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertCursor

public java.lang.Object insertCursor(java.lang.Object pInputValue,
                                     java.lang.Object spRef)
                              throws java.io.IOException,
                                     AutomationException
Returns an insert cursor object against the given table/feature class.

Specified by:
insertCursor in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
spRef - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

describe

public java.lang.Object describe(java.lang.Object pInputValue,
                                 java.lang.Object dataType)
                          throws java.io.IOException,
                                 AutomationException
Returns a descriptor object describing the properties of the specified data element.

Specified by:
describe in interface IGpDispatch
Parameters:
pInputValue - A Variant (in)
dataType - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createObject

public java.lang.Object createObject(java.lang.Object pObjectName,
                                     java.lang.Object pExtraArg)
                              throws java.io.IOException,
                                     AutomationException
Creates a geoprocessing object that can be used in a scripting environment.

Specified by:
createObject in interface IGpDispatch
Parameters:
pObjectName - A Variant (in)
pExtraArg - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRandomValueGenerator

public java.lang.Object createRandomValueGenerator(int seed,
                                                   java.lang.String distributionType)
                                            throws java.io.IOException,
                                                   AutomationException
Creates a geoprocessing random number generator object that can be used to generate random numbers.

Specified by:
createRandomValueGenerator in interface IGpDispatch
Parameters:
seed - The seed (in)
distributionType - The distributionType (in)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOverwriteOutput

public void setOverwriteOutput(boolean overwriteOutput)
                        throws java.io.IOException,
                               AutomationException
Indicates whether or not outputs should be overwritten.

Specified by:
setOverwriteOutput in interface IGpDispatch
Parameters:
overwriteOutput - The overwriteOutput (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOverwriteOutput

public boolean isOverwriteOutput()
                          throws java.io.IOException,
                                 AutomationException
Indicates whether or not outputs should be overwritten.

Specified by:
isOverwriteOutput in interface IGpDispatch
Returns:
The overwriteOutput
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLogHistory

public void setLogHistory(boolean logHistory)
                   throws java.io.IOException,
                          AutomationException
Indicates whether or not operations are logged or not.

Specified by:
setLogHistory in interface IGpDispatch
Parameters:
logHistory - The logHistory (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLogHistory

public boolean isLogHistory()
                     throws java.io.IOException,
                            AutomationException
Indicates whether or not operations are logged or not.

Specified by:
isLogHistory in interface IGpDispatch
Returns:
The logHistory
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateFieldName

public java.lang.String validateFieldName(java.lang.String inputFieldName,
                                          java.lang.Object workspace)
                                   throws java.io.IOException,
                                          AutomationException
Checks a field for compatibility with the workspace.

Specified by:
validateFieldName in interface IGpDispatch
Parameters:
inputFieldName - The inputFieldName (in)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputFieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateTableName

public java.lang.String validateTableName(java.lang.String inputTableName,
                                          java.lang.Object workspace)
                                   throws java.io.IOException,
                                          AutomationException
Checks a table name for compatibility with the workspace.

Specified by:
validateTableName in interface IGpDispatch
Parameters:
inputTableName - The inputTableName (in)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputTableName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

qualifyFieldName

public java.lang.String qualifyFieldName(java.lang.String inputFieldName,
                                         java.lang.Object workspace)
                                  throws java.io.IOException,
                                         AutomationException
Qualifies a field name for the workspace and connected user.

Specified by:
qualifyFieldName in interface IGpDispatch
Parameters:
inputFieldName - The inputFieldName (in)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputFieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

qualifyTableName

public java.lang.String qualifyTableName(java.lang.String inputTableName,
                                         java.lang.Object workspace)
                                  throws java.io.IOException,
                                         AutomationException
Qualifies a table name for the workspace and connected user.

Specified by:
qualifyTableName in interface IGpDispatch
Parameters:
inputTableName - The inputTableName (in)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputTableName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseFieldName

public java.lang.String parseFieldName(java.lang.String inputFieldName,
                                       java.lang.Object workspace)
                                throws java.io.IOException,
                                       AutomationException
Parses a field name into its constituent parts.

Specified by:
parseFieldName in interface IGpDispatch
Parameters:
inputFieldName - The inputFieldName (in)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputParsedName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseTableName

public java.lang.String parseTableName(java.lang.String inputTableName,
                                       java.lang.Object workspace)
                                throws java.io.IOException,
                                       AutomationException
Parses a table name into its constituent parts.

Specified by:
parseTableName in interface IGpDispatch
Parameters:
inputTableName - The inputTableName (in)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputParsedName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createScratchName

public java.lang.String createScratchName(java.lang.Object prefix,
                                          java.lang.Object suffix,
                                          java.lang.Object dataType,
                                          java.lang.Object workspace)
                                   throws java.io.IOException,
                                          AutomationException
Creates a scratch name for the given workspace.

Specified by:
createScratchName in interface IGpDispatch
Parameters:
prefix - A Variant (in, optional, pass null if not required)
suffix - A Variant (in, optional, pass null if not required)
dataType - A Variant (in, optional, pass null if not required)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputTableName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createUniqueName

public java.lang.String createUniqueName(java.lang.String inputTableName,
                                         java.lang.Object workspace)
                                  throws java.io.IOException,
                                         AutomationException
Creates a unique name for the given workspace.

Specified by:
createUniqueName in interface IGpDispatch
Parameters:
inputTableName - The inputTableName (in)
workspace - A Variant (in, optional, pass null if not required)
Returns:
The outputTableName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveSettings

public void saveSettings(java.lang.String fileName)
                  throws java.io.IOException,
                         AutomationException
Saves the current GeoProcessor environment settings.

Specified by:
saveSettings in interface IGpDispatch
Parameters:
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadSettings

public void loadSettings(java.lang.String fileName)
                  throws java.io.IOException,
                         AutomationException
Loads the current GeoProcessor environment settings.

Specified by:
loadSettings in interface IGpDispatch
Parameters:
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

testSchemaLock

public java.lang.String testSchemaLock(java.lang.String fileName)
                                throws java.io.IOException,
                                       AutomationException
Tests if an exclusive schema lock is set on a dataset.

Specified by:
testSchemaLock in interface IGpDispatch
Parameters:
fileName - The fileName (in)
Returns:
The status
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearEnvironment

public void clearEnvironment(java.lang.String env)
                      throws java.io.IOException,
                             AutomationException
Clears the value of a given environment.

Specified by:
clearEnvironment in interface IGpDispatch
Parameters:
env - The env (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resetEnvironments

public void resetEnvironments()
                       throws java.io.IOException,
                              AutomationException
Tests if a given environments value is set or not.

Specified by:
resetEnvironments in interface IGpDispatch
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.