com.esri.arcgis.geodatabase
Class ICursorProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.ICursorProxy
All Implemented Interfaces:
ICursor, java.io.Externalizable, java.io.Serializable

public class ICursorProxy
extends com.esri.arcgis.interop.Dispatch
implements ICursor, java.io.Serializable

Internal use class Proxy for COM Interface 'ICursor'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that hand out enumerated rows, field collections and allows for the updating, deleting and inserting of rows.' 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.geodatabase.ICursor
IID, IIDd4803ee7_79f4_11d0_97fc_0080c7f79481
 
Constructor Summary
  ICursorProxy()
          For internal use only
  ICursorProxy(java.lang.Object obj)
           
protected ICursorProxy(java.lang.Object obj, java.lang.String iid)
           
  ICursorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ICursorProxy(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)
           
 void deleteRow()
          Delete the existing Row in the database corresponding to the current position of the cursor.
 int findField(java.lang.String name)
          The index of the field with the specified name.
 void flush()
          Flush any outstanding buffered writes to the database.
 IFields getFields()
          The Fields Collection for this cursor.
 java.lang.Object insertRow(IRowBuffer buffer)
          Insert a new Row into the database using the property values in the input buffer.
 IRow nextRow()
          Advance the position of the cursor by one and return the Row object at that position.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void updateRow(IRow row)
          Update the existing Row in the database corresponding to the current position of the cursor.
 
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

ICursorProxy

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

ICursorProxy

public ICursorProxy()
For internal use only


ICursorProxy

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

ICursorProxy

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

ICursorProxy

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

findField

public int findField(java.lang.String name)
              throws java.io.IOException,
                     AutomationException
The index of the field with the specified name.

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

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The Fields Collection for this cursor.

Specified by:
getFields in interface ICursor
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextRow

public IRow nextRow()
             throws java.io.IOException,
                    AutomationException
Advance the position of the cursor by one and return the Row object at that position.

Specified by:
nextRow in interface ICursor
Returns:
A reference to a com.esri.arcgis.geodatabase.IRow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateRow

public void updateRow(IRow row)
               throws java.io.IOException,
                      AutomationException
Update the existing Row in the database corresponding to the current position of the cursor.

Specified by:
updateRow in interface ICursor
Parameters:
row - A reference to a com.esri.arcgis.geodatabase.IRow (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRow

public void deleteRow()
               throws java.io.IOException,
                      AutomationException
Delete the existing Row in the database corresponding to the current position of the cursor.

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

insertRow

public java.lang.Object insertRow(IRowBuffer buffer)
                           throws java.io.IOException,
                                  AutomationException
Insert a new Row into the database using the property values in the input buffer. The object ID of the new Row, if there is one, is returned.

Specified by:
insertRow in interface ICursor
Parameters:
buffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flush

public void flush()
           throws java.io.IOException,
                  AutomationException
Flush any outstanding buffered writes to the database.

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