com.esri.arcgis.geoprocessing
Interface IGeoProcessor

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GeoProcessor, IGeoProcessorProxy

public interface IGeoProcessor
extends java.io.Serializable

COM Interface 'IGeoProcessor'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'The Geoprocessor. Provides access to toolboxes and tools.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDefdde95c_61fc_419d_be35_e5f18c7df160
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addError(java.lang.String message)
          Output an error message.
 void addMessage(java.lang.String message)
          Output an informative message.
 void addReturnMessage(int index)
          Output message from the last tool executed.
 void addToolbox(java.lang.String toolbox)
          Add a toolbox to the current Geoprocessing session by catalog path.
 void addWarning(java.lang.String message)
          Output a warning message.
 void clearMessages()
          Clear the messages to be returned as tool message when running within a script tool.
 IGeoProcessorResult createResult(java.lang.String toolName, java.lang.String jobID)
          Create a new result object.
 IGeoProcessorResult execute(java.lang.String name, IVariantArray ipValues, ITrackCancel pTrackCancel)
          Execute a tool within the current Geoprocessing session.
 boolean exists(java.lang.Object inputValue, java.lang.Object pDataType)
          Test the existence of a given parameter value (GPValue or catalog path) the type of the data is optional.
 IDataElement getDataElement(java.lang.Object inputValue, java.lang.Object pDataType)
          Make a dataelement from the given value.
 java.lang.Object getEnvironmentValue(java.lang.String environmentName)
          Retrieve the value of an environment by name.
 int getMaxSeverity()
          Return the maximum severity of the message of the last tool executed.
 java.lang.String getMessage(int index)
          Return the message description by index of the last tool executed.
 int getMessageCount()
          Return the number of messages of the last tool executed.
 java.lang.String getMessages(java.lang.Object pSeverity)
          Return all of the message descriptions of the last tool executed.
 int getParameterCount()
          Return the number of input command line or script tool parameters.
 java.lang.Object getParameterValue(int index)
          Return the input command line or script tool parameter by index as a GPValue.
 int getReturnCode(int index)
          Return the message error code (Error Messages Only) by index of the last tool executed.
 IGPMessages getReturnMessages()
          Return the GPMessages object which will be messages of the last tool executed.
 int getSeverity(int index)
          Return the message severity by index of the last tool executed.
 boolean isAddOutputsToMap()
          Set whether resulting output datasets should be added to the application display.
 boolean isLogHistory()
          Set whether or not to log the execution of geoprocessing tools.
 boolean isOverwriteOutput()
          Set the overwrite outputs flag within the current Geoprocessing session.
 boolean isSynchronous(java.lang.String toolName)
          Is server tool synchronous.
 boolean isTemporaryMapLayers()
          Set whether new map layers are temporary by default.
 IGpEnumList listDatasets(java.lang.String wildCard, java.lang.String datasetType)
          Return the list of feature datasets within the current workspace.
 IGpEnumList listEnvironments(java.lang.String wildCard)
          Return the list of environments (properties) within the current Geoprocessing session.
 IGpEnumList listFeatureClasses(java.lang.String wildCard, java.lang.String featureType, java.lang.String dataset)
          Return the list of feature classes within the current workspace or feature dataset within the workspace.
 IGpEnumList listRasters(java.lang.String wildCard, java.lang.String rasterType)
          Return the list of rasters within the current workspace.
 IGpEnumList listTables(java.lang.String wildCard, java.lang.String tableType)
          Return the list of tables within the current workspace.
 IGpEnumList listToolboxes(java.lang.String wildCard)
          Return the list of toolboxes within the current Geoprocessing session.
 IGpEnumList listTools(java.lang.String wildCard)
          Return the list of tools within the current Geoprocessing session.
 IGpEnumList listWorkspaces(java.lang.String wildCard, java.lang.String workspaceType)
          Return the list of workspaces within the current workspace (the workspace can be a folder).
 void loadSettings(java.lang.String fileName)
          Load the current settings (toolboxes, environment values, etc) from a file on disk in XML format.
 java.lang.Object open(java.lang.Object value)
          Open an objector a namestring.
 java.lang.String parseFieldName(java.lang.String inputFieldName, java.lang.String workspace)
          Parse a field name within the given workspace.
 java.lang.String parseTableName(java.lang.String inputTableName, java.lang.String workspace)
          Parse a table name within the given workspace.
 java.lang.String qualifyFieldName(java.lang.String inputFieldName, java.lang.String workspace)
          Qualify a field name within the given workspace.
 java.lang.String qualifyTableName(java.lang.String inputTableName, java.lang.String workspace)
          Qualify a table name within the given workspace.
 void registerGeoProcessorEvents(IGeoProcessorEvents pGeoProcessorEvents)
          Register an object to recieve IGeoProcessorEvents.
 void removeToolbox(java.lang.String toolbox)
          Remove a toolbox from the current Geoprocessing session by catalog path.
 void resetEnvironments()
          Reset the environments to their initial state.
 void saveSettings(java.lang.String fileName)
          Save the current settings (toolboxes, environment values, etc) to a file on disk in XML format.
 void setAddOutputsToMap(boolean addToMap)
          Set whether resulting output datasets should be added to the application display.
 void setEnvironmentValue(java.lang.String environmentName, java.lang.Object value)
          Update the value of an environment by name.
 void setLogHistory(boolean logHistory)
          Set whether or not to log the execution of geoprocessing tools.
 void setOverwriteOutput(boolean pOverrideOutput)
          Set the overwrite outputs flag within the current Geoprocessing session.
 void setParameterValue(int index, java.lang.Object value)
          Set the output script tool parameter by index as a GPValue.
 void setTemporaryMapLayers(boolean temporaryMapLayers)
          Set whether new map layers are temporary by default.
 java.lang.String testSchemaLock(java.lang.String fileName)
          Test for the presence of a schema lock (already open for writing) of a given file or dataset.
 void unRegisterGeoProcessorEvents(IGeoProcessorEvents pGeoProcessorEvents)
          UnRegister an object to stop recieving IGeoProcessorEvents.
 java.lang.String usage(java.lang.String method)
          Returns the command line usage of a given tool by name.
 IGPMessages validate(java.lang.String name, IVariantArray ipValues, boolean bUpdateValues)
          Validate the parameters (input) of a tool within the current Geoprocessing session.
 java.lang.String validateFieldName(java.lang.String inputFieldName, java.lang.String workspace)
          Validate a field name within the given workspace.
 java.lang.String validateTableName(java.lang.String inputTableName, java.lang.String workspace)
          Validate a table or feature class name within the given workspace.
 

Field Detail

IIDefdde95c_61fc_419d_be35_e5f18c7df160

static final int IIDefdde95c_61fc_419d_be35_e5f18c7df160
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getEnvironmentValue

java.lang.Object getEnvironmentValue(java.lang.String environmentName)
                                     throws java.io.IOException,
                                            AutomationException
Retrieve the value of an environment by name. The properties of the current Geoprocessing session.

Parameters:
environmentName - The environmentName (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnvironmentValue

void setEnvironmentValue(java.lang.String environmentName,
                         java.lang.Object value)
                         throws java.io.IOException,
                                AutomationException
Update the value of an environment by name. The properties of the current Geoprocessing session.

Parameters:
environmentName - The environmentName (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resetEnvironments

void resetEnvironments()
                       throws java.io.IOException,
                              AutomationException
Reset the environments to their initial state.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

execute

IGeoProcessorResult execute(java.lang.String name,
                            IVariantArray ipValues,
                            ITrackCancel pTrackCancel)
                            throws java.io.IOException,
                                   AutomationException
Execute a tool within the current Geoprocessing session.

Parameters:
name - The name (in)
ipValues - A reference to a com.esri.arcgis.system.IVariantArray (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGeoProcessorResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validate

IGPMessages validate(java.lang.String name,
                     IVariantArray ipValues,
                     boolean bUpdateValues)
                     throws java.io.IOException,
                            AutomationException
Validate the parameters (input) of a tool within the current Geoprocessing session.

Parameters:
name - The name (in)
ipValues - A reference to a com.esri.arcgis.system.IVariantArray (in)
bUpdateValues - The bUpdateValues (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPMessages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

java.lang.Object open(java.lang.Object value)
                      throws java.io.IOException,
                             AutomationException
Open an objector a namestring. Example a DEFeatureClass object will return an IFeatureClass.

Parameters:
value - A Variant (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataElement

IDataElement getDataElement(java.lang.Object inputValue,
                            java.lang.Object pDataType)
                            throws java.io.IOException,
                                   AutomationException
Make a dataelement from the given value.

Parameters:
inputValue - A Variant (in)
pDataType - A Variant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listTools

IGpEnumList listTools(java.lang.String wildCard)
                      throws java.io.IOException,
                             AutomationException
Return the list of tools within the current Geoprocessing session.

Parameters:
wildCard - The wildCard (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listEnvironments

IGpEnumList listEnvironments(java.lang.String wildCard)
                             throws java.io.IOException,
                                    AutomationException
Return the list of environments (properties) within the current Geoprocessing session.

Parameters:
wildCard - The wildCard (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listToolboxes

IGpEnumList listToolboxes(java.lang.String wildCard)
                          throws java.io.IOException,
                                 AutomationException
Return the list of toolboxes within the current Geoprocessing session.

Parameters:
wildCard - The wildCard (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addToolbox

void addToolbox(java.lang.String toolbox)
                throws java.io.IOException,
                       AutomationException
Add a toolbox to the current Geoprocessing session by catalog path.

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

removeToolbox

void removeToolbox(java.lang.String toolbox)
                   throws java.io.IOException,
                          AutomationException
Remove a toolbox from the current Geoprocessing session by catalog path.

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

setAddOutputsToMap

void setAddOutputsToMap(boolean addToMap)
                        throws java.io.IOException,
                               AutomationException
Set whether resulting output datasets should be added to the application display.

Parameters:
addToMap - The addToMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAddOutputsToMap

boolean isAddOutputsToMap()
                          throws java.io.IOException,
                                 AutomationException
Set whether resulting output datasets should be added to the application display.

Returns:
The addToMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOverwriteOutput

void setOverwriteOutput(boolean pOverrideOutput)
                        throws java.io.IOException,
                               AutomationException
Set the overwrite outputs flag within the current Geoprocessing session. True means outputs of tools will be overwritten.

Parameters:
pOverrideOutput - The pOverrideOutput (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOverwriteOutput

boolean isOverwriteOutput()
                          throws java.io.IOException,
                                 AutomationException
Set the overwrite outputs flag within the current Geoprocessing session. True means outputs of tools will be overwritten.

Returns:
The pOverrideOutput
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTemporaryMapLayers

void setTemporaryMapLayers(boolean temporaryMapLayers)
                           throws java.io.IOException,
                                  AutomationException
Set whether new map layers are temporary by default.

Parameters:
temporaryMapLayers - The temporaryMapLayers (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTemporaryMapLayers

boolean isTemporaryMapLayers()
                             throws java.io.IOException,
                                    AutomationException
Set whether new map layers are temporary by default.

Returns:
The temporaryMapLayers
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLogHistory

void setLogHistory(boolean logHistory)
                   throws java.io.IOException,
                          AutomationException
Set whether or not to log the execution of geoprocessing tools.

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

isLogHistory

boolean isLogHistory()
                     throws java.io.IOException,
                            AutomationException
Set whether or not to log the execution of geoprocessing tools.

Returns:
The logHistory
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReturnMessages

IGPMessages getReturnMessages()
                              throws java.io.IOException,
                                     AutomationException
Return the GPMessages object which will be messages of the last tool executed.

Returns:
A reference to a com.esri.arcgis.geodatabase.IGPMessages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessageCount

int getMessageCount()
                    throws java.io.IOException,
                           AutomationException
Return the number of messages of the last tool executed.

Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessage

java.lang.String getMessage(int index)
                            throws java.io.IOException,
                                   AutomationException
Return the message description by index of the last tool executed.

Parameters:
index - The index (in)
Returns:
The pMessage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSeverity

int getSeverity(int index)
                throws java.io.IOException,
                       AutomationException
Return the message severity by index of the last tool executed.

Parameters:
index - The index (in)
Returns:
The pSeverity
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReturnCode

int getReturnCode(int index)
                  throws java.io.IOException,
                         AutomationException
Return the message error code (Error Messages Only) by index of the last tool executed.

Parameters:
index - The index (in)
Returns:
The pCode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessages

java.lang.String getMessages(java.lang.Object pSeverity)
                             throws java.io.IOException,
                                    AutomationException
Return all of the message descriptions of the last tool executed.

Parameters:
pSeverity - A Variant (in)
Returns:
The pMessages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxSeverity

int getMaxSeverity()
                   throws java.io.IOException,
                          AutomationException
Return the maximum severity of the message of the last tool executed.

Returns:
The pSeverity
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessage

void addMessage(java.lang.String message)
                throws java.io.IOException,
                       AutomationException
Output an informative message. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console

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

addError

void addError(java.lang.String message)
              throws java.io.IOException,
                     AutomationException
Output an error message. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console

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

addWarning

void addWarning(java.lang.String message)
                throws java.io.IOException,
                       AutomationException
Output a warning message. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console

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

addReturnMessage

void addReturnMessage(int index)
                      throws java.io.IOException,
                             AutomationException
Output message from the last tool executed. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console

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

clearMessages

void clearMessages()
                   throws java.io.IOException,
                          AutomationException
Clear the messages to be returned as tool message when running within a script tool.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameterCount

int getParameterCount()
                      throws java.io.IOException,
                             AutomationException
Return the number of input command line or script tool parameters.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameterValue

java.lang.Object getParameterValue(int index)
                                   throws java.io.IOException,
                                          AutomationException
Return the input command line or script tool parameter by index as a GPValue.

Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParameterValue

void setParameterValue(int index,
                       java.lang.Object value)
                       throws java.io.IOException,
                              AutomationException
Set the output script tool parameter by index as a GPValue.

Parameters:
index - The index (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exists

boolean exists(java.lang.Object inputValue,
               java.lang.Object pDataType)
               throws java.io.IOException,
                      AutomationException
Test the existence of a given parameter value (GPValue or catalog path) the type of the data is optional.

Parameters:
inputValue - A Variant (in)
pDataType - A Variant (in)
Returns:
The exists
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

usage

java.lang.String usage(java.lang.String method)
                       throws java.io.IOException,
                              AutomationException
Returns the command line usage of a given tool by name.

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.

listFeatureClasses

IGpEnumList listFeatureClasses(java.lang.String wildCard,
                               java.lang.String featureType,
                               java.lang.String dataset)
                               throws java.io.IOException,
                                      AutomationException
Return the list of feature classes within the current workspace or feature dataset within the workspace.

Parameters:
wildCard - The wildCard (in)
featureType - The featureType (in)
dataset - The dataset (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listDatasets

IGpEnumList listDatasets(java.lang.String wildCard,
                         java.lang.String datasetType)
                         throws java.io.IOException,
                                AutomationException
Return the list of feature datasets within the current workspace.

Parameters:
wildCard - The wildCard (in)
datasetType - The datasetType (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listWorkspaces

IGpEnumList listWorkspaces(java.lang.String wildCard,
                           java.lang.String workspaceType)
                           throws java.io.IOException,
                                  AutomationException
Return the list of workspaces within the current workspace (the workspace can be a folder).

Parameters:
wildCard - The wildCard (in)
workspaceType - The workspaceType (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listTables

IGpEnumList listTables(java.lang.String wildCard,
                       java.lang.String tableType)
                       throws java.io.IOException,
                              AutomationException
Return the list of tables within the current workspace.

Parameters:
wildCard - The wildCard (in)
tableType - The tableType (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

listRasters

IGpEnumList listRasters(java.lang.String wildCard,
                        java.lang.String rasterType)
                        throws java.io.IOException,
                               AutomationException
Return the list of rasters within the current workspace.

Parameters:
wildCard - The wildCard (in)
rasterType - The rasterType (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateFieldName

java.lang.String validateFieldName(java.lang.String inputFieldName,
                                   java.lang.String workspace)
                                   throws java.io.IOException,
                                          AutomationException
Validate a field name within the given workspace.

Parameters:
inputFieldName - The inputFieldName (in)
workspace - The workspace (in)
Returns:
The outputFieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateTableName

java.lang.String validateTableName(java.lang.String inputTableName,
                                   java.lang.String workspace)
                                   throws java.io.IOException,
                                          AutomationException
Validate a table or feature class name within the given workspace.

Parameters:
inputTableName - The inputTableName (in)
workspace - The workspace (in)
Returns:
The outputTableName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

qualifyFieldName

java.lang.String qualifyFieldName(java.lang.String inputFieldName,
                                  java.lang.String workspace)
                                  throws java.io.IOException,
                                         AutomationException
Qualify a field name within the given workspace. This will add the connected user and database names.

Parameters:
inputFieldName - The inputFieldName (in)
workspace - The workspace (in)
Returns:
The outputFieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

qualifyTableName

java.lang.String qualifyTableName(java.lang.String inputTableName,
                                  java.lang.String workspace)
                                  throws java.io.IOException,
                                         AutomationException
Qualify a table name within the given workspace. This will add the connected user and database names.

Parameters:
inputTableName - The inputTableName (in)
workspace - The workspace (in)
Returns:
The outputTableName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseFieldName

java.lang.String parseFieldName(java.lang.String inputFieldName,
                                java.lang.String workspace)
                                throws java.io.IOException,
                                       AutomationException
Parse a field name within the given workspace. This will strip the connected user and database names.

Parameters:
inputFieldName - The inputFieldName (in)
workspace - The workspace (in)
Returns:
The outputParsedName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseTableName

java.lang.String parseTableName(java.lang.String inputTableName,
                                java.lang.String workspace)
                                throws java.io.IOException,
                                       AutomationException
Parse a table name within the given workspace. This will strip the connected user and database names.

Parameters:
inputTableName - The inputTableName (in)
workspace - The workspace (in)
Returns:
The outputParsedName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveSettings

void saveSettings(java.lang.String fileName)
                  throws java.io.IOException,
                         AutomationException
Save the current settings (toolboxes, environment values, etc) to a file on disk in XML format.

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

loadSettings

void loadSettings(java.lang.String fileName)
                  throws java.io.IOException,
                         AutomationException
Load the current settings (toolboxes, environment values, etc) from a file on disk in XML format.

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

testSchemaLock

java.lang.String testSchemaLock(java.lang.String fileName)
                                throws java.io.IOException,
                                       AutomationException
Test for the presence of a schema lock (already open for writing) of a given file or dataset.

Parameters:
fileName - The fileName (in)
Returns:
The pStatus
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

registerGeoProcessorEvents

void registerGeoProcessorEvents(IGeoProcessorEvents pGeoProcessorEvents)
                                throws java.io.IOException,
                                       AutomationException
Register an object to recieve IGeoProcessorEvents.

Parameters:
pGeoProcessorEvents - A reference to a com.esri.arcgis.geoprocessing.IGeoProcessorEvents (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unRegisterGeoProcessorEvents

void unRegisterGeoProcessorEvents(IGeoProcessorEvents pGeoProcessorEvents)
                                  throws java.io.IOException,
                                         AutomationException
UnRegister an object to stop recieving IGeoProcessorEvents.

Parameters:
pGeoProcessorEvents - A reference to a com.esri.arcgis.geoprocessing.IGeoProcessorEvents (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createResult

IGeoProcessorResult createResult(java.lang.String toolName,
                                 java.lang.String jobID)
                                 throws java.io.IOException,
                                        AutomationException
Create a new result object.

Parameters:
toolName - The toolName (in)
jobID - The jobID (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGeoProcessorResult
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSynchronous

boolean isSynchronous(java.lang.String toolName)
                      throws java.io.IOException,
                             AutomationException
Is server tool synchronous.

Parameters:
toolName - The toolName (in)
Returns:
The isSynchronous
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.