com.esri.arcgis.geoprocessing
Class IGPScriptTool2Proxy

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

public class IGPScriptTool2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IGPScriptTool2, java.io.Serializable

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

Description: 'Provides access to methods on a geoprocessing script tool 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.IGPScriptTool2
IID, IIDada6b529_e9e7_4cf1_875f_bfb55c666b76
 
Constructor Summary
  IGPScriptTool2Proxy()
          For internal use only
  IGPScriptTool2Proxy(java.lang.Object obj)
           
protected IGPScriptTool2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IGPScriptTool2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGPScriptTool2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 java.lang.String getCodeBlock()
          Validation code block.
 int getExtensionCode()
          Extension code.
 int getProductCode()
          Product code.
 java.lang.String getSymbologyLayer(java.lang.String parameterName)
          Layer for Symbology.
 boolean isProductAndExtensionCodes()
          Indicates if the product and/or extension code is set.
 boolean isRunInProc()
          Indicates whether to run the script inproc or not.
 boolean isUseExtensionCode()
          Indicates whether to use the extension code.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setCodeBlock(java.lang.String codeBlock)
          Validation code block.
 void setExtensionCode(int extensionCode)
          Extension code.
 void setProductAndExtensionCodes(boolean productAndExtension)
          Indicates if the product and/or extension code is set.
 void setProductCode(int productCode)
          Product code.
 void setRunInProc(boolean inProc)
          Indicates whether to run the script inproc or not.
 void setSymbologyLayer(java.lang.String parameterName, java.lang.String layer)
          Layer for Symbology.
 void setUseExtensionCode(boolean useExtensionCode)
          Indicates whether to use the extension code.
 java.lang.String testGetParameterInfo()
          Internal validation of GetParameterInfo.
 
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

IGPScriptTool2Proxy

public IGPScriptTool2Proxy(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

IGPScriptTool2Proxy

public IGPScriptTool2Proxy()
For internal use only


IGPScriptTool2Proxy

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

IGPScriptTool2Proxy

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

IGPScriptTool2Proxy

protected IGPScriptTool2Proxy(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

isRunInProc

public boolean isRunInProc()
                    throws java.io.IOException,
                           AutomationException
Indicates whether to run the script inproc or not.

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

setRunInProc

public void setRunInProc(boolean inProc)
                  throws java.io.IOException,
                         AutomationException
Indicates whether to run the script inproc or not.

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

getCodeBlock

public java.lang.String getCodeBlock()
                              throws java.io.IOException,
                                     AutomationException
Validation code block.

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

setCodeBlock

public void setCodeBlock(java.lang.String codeBlock)
                  throws java.io.IOException,
                         AutomationException
Validation code block.

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

testGetParameterInfo

public java.lang.String testGetParameterInfo()
                                      throws java.io.IOException,
                                             AutomationException
Internal validation of GetParameterInfo.

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

getProductCode

public int getProductCode()
                   throws java.io.IOException,
                          AutomationException
Product code.

Specified by:
getProductCode in interface IGPScriptTool2
Returns:
A com.esri.arcgis.system.esriProductCode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProductCode

public void setProductCode(int productCode)
                    throws java.io.IOException,
                           AutomationException
Product code.

Specified by:
setProductCode in interface IGPScriptTool2
Parameters:
productCode - A com.esri.arcgis.system.esriProductCode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionCode

public int getExtensionCode()
                     throws java.io.IOException,
                            AutomationException
Extension code.

Specified by:
getExtensionCode in interface IGPScriptTool2
Returns:
A com.esri.arcgis.system.esriProductCode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtensionCode

public void setExtensionCode(int extensionCode)
                      throws java.io.IOException,
                             AutomationException
Extension code.

Specified by:
setExtensionCode in interface IGPScriptTool2
Parameters:
extensionCode - A com.esri.arcgis.system.esriProductCode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseExtensionCode

public boolean isUseExtensionCode()
                           throws java.io.IOException,
                                  AutomationException
Indicates whether to use the extension code.

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

setUseExtensionCode

public void setUseExtensionCode(boolean useExtensionCode)
                         throws java.io.IOException,
                                AutomationException
Indicates whether to use the extension code.

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

isProductAndExtensionCodes

public boolean isProductAndExtensionCodes()
                                   throws java.io.IOException,
                                          AutomationException
Indicates if the product and/or extension code is set.

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

setProductAndExtensionCodes

public void setProductAndExtensionCodes(boolean productAndExtension)
                                 throws java.io.IOException,
                                        AutomationException
Indicates if the product and/or extension code is set.

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

getSymbologyLayer

public java.lang.String getSymbologyLayer(java.lang.String parameterName)
                                   throws java.io.IOException,
                                          AutomationException
Layer for Symbology.

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

setSymbologyLayer

public void setSymbologyLayer(java.lang.String parameterName,
                              java.lang.String layer)
                       throws java.io.IOException,
                              AutomationException
Layer for Symbology.

Specified by:
setSymbologyLayer in interface IGPScriptTool2
Parameters:
parameterName - The parameterName (in)
layer - The layer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.