com.esri.arcgis.geoprocessing
Class IGPFunction2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGPFunctionProxy
          extended by com.esri.arcgis.geoprocessing.IGPFunction2Proxy
All Implemented Interfaces:
IGPFunction, IGPFunction2, Externalizable, Serializable

public class IGPFunction2Proxy
extends IGPFunctionProxy
implements IGPFunction2, Serializable

Provides access to methods on a geoprocessing function tool object.

Description

This interface is new at ArcGIS 9.3. It supersedes IGPFunction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IGPFunction2Proxy()
           
  IGPFunction2Proxy(Object obj)
           
protected IGPFunction2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void updateMessages(IArray paramvalues, IGPEnvironmentManager pEnvMgr, IGPMessages messages)
          Post validates the given set of values.
 void updateParameters(IArray paramvalues, IGPEnvironmentManager pEnvMgr)
          Pre validates the given set of values.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.geoprocessing.IGPFunctionProxy
execute, getDialogCLSID, getDisplayName, getFullName, getHelpContext, getHelpFile, getMetadataFile, getName, getParameterInfo, getRenderer, isLicensed, validate
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geoprocessing.IGPFunction
execute, getDialogCLSID, getDisplayName, getFullName, getHelpContext, getHelpFile, getMetadataFile, getName, getParameterInfo, getRenderer, isLicensed, validate
 

Constructor Detail

IGPFunction2Proxy

public IGPFunction2Proxy()

IGPFunction2Proxy

public IGPFunction2Proxy(Object obj)
                  throws IOException
Throws:
IOException

IGPFunction2Proxy

protected IGPFunction2Proxy(Object obj,
                            String iid)
                     throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IGPFunctionProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IGPFunctionProxy
Throws:
IOException

updateParameters

public void updateParameters(IArray paramvalues,
                             IGPEnvironmentManager pEnvMgr)
                      throws IOException,
                             AutomationException
Pre validates the given set of values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
updateParameters in interface IGPFunction2
Parameters:
paramvalues - A reference to a com.esri.arcgis.system.IArray (in)
pEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateMessages

public void updateMessages(IArray paramvalues,
                           IGPEnvironmentManager pEnvMgr,
                           IGPMessages messages)
                    throws IOException,
                           AutomationException
Post validates the given set of values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
updateMessages in interface IGPFunction2
Parameters:
paramvalues - A reference to a com.esri.arcgis.system.IArray (in)
pEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
messages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException