com.esri.arcgis.schematic
Class INgRecordsetProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.INgRecordsetProxy
All Implemented Interfaces:
INgRecordset, Externalizable, Serializable

public class INgRecordsetProxy
extends com.esri.arcgis.interop.Dispatch
implements INgRecordset, Serializable

Provides access to members that control the recordset.

Product Availability

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

See Also:
INgRecordsetDesign, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgRecordsetProxy()
           
  INgRecordsetProxy(Object obj)
           
protected INgRecordsetProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void close()
          Closes the recordset.
 void findRecord(String identifier)
          Points to the 'identifier' record in the recordset.
 INgDataSource getDataSource()
          Datasource related to the recordset.
 String getIdentifier()
          List of the field values that defines the object identifier.
 INgParameters getParameters()
          List of the parameters names specified for the recordset.
 Object getValue(String fieldName)
          Value of the field named 'FieldName' in the recordset.
 boolean isBOF()
          Indicates if the current record is positioned before the first record in the recordset.
 boolean isEOF()
          Indicates if the current record is positioned after the first record in the recordset.
 void moveFirst()
          Points to the first record in the recordset.
 void moveNext()
          Moves to the next record in the recordset.
 void open()
          Opens the recordset.
 void readExternal(ObjectInput in)
           
 void refresh()
          Refreshes the recordset; that is, reexecute the query.
 void removeListener(String iidStr, Object theListener)
           
 void setIdentifierFieldNames(INgNames names)
          List of the field names used to build the object identifier.
 void setParameterValues(INgValues values)
          List of the parameters values for the recordset.
 void update()
          Updates the recordset.
 void writeExternal(ObjectOutput out)
           
 
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
 

Constructor Detail

INgRecordsetProxy

public INgRecordsetProxy()

INgRecordsetProxy

public INgRecordsetProxy(Object obj)
                  throws IOException
Throws:
IOException

INgRecordsetProxy

protected INgRecordsetProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getDataSource

public INgDataSource getDataSource()
                            throws IOException,
                                   AutomationException
Datasource related to the recordset.

Product Availability

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

Specified by:
getDataSource in interface INgRecordset
Returns:
A reference to a com.esri.arcgis.schematic.INgDataSource
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public Object getValue(String fieldName)
                throws IOException,
                       AutomationException
Value of the field named 'FieldName' in the recordset.

Product Availability

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

Specified by:
getValue in interface INgRecordset
Parameters:
fieldName - The fieldName (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIdentifier

public String getIdentifier()
                     throws IOException,
                            AutomationException
List of the field values that defines the object identifier.

Product Availability

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

Specified by:
getIdentifier in interface INgRecordset
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameters

public INgParameters getParameters()
                            throws IOException,
                                   AutomationException
List of the parameters names specified for the recordset.

Product Availability

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

Specified by:
getParameters in interface INgRecordset
Returns:
A reference to a com.esri.arcgis.schematic.INgParameters
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

public void open()
          throws IOException,
                 AutomationException
Opens the recordset.

Product Availability

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

Specified by:
open in interface INgRecordset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#close()

close

public void close()
           throws IOException,
                  AutomationException
Closes the recordset.

Product Availability

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

Specified by:
close in interface INgRecordset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#open()

refresh

public void refresh()
             throws IOException,
                    AutomationException
Refreshes the recordset; that is, reexecute the query.

Product Availability

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

Specified by:
refresh in interface INgRecordset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#update()

update

public void update()
            throws IOException,
                   AutomationException
Updates the recordset. Uses to update a field value contained in the recordset.

Product Availability

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

Specified by:
update in interface INgRecordset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#refresh()

setParameterValues

public void setParameterValues(INgValues values)
                        throws IOException,
                               AutomationException
List of the parameters values for the recordset.

Product Availability

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

Specified by:
setParameterValues in interface INgRecordset
Parameters:
values - A reference to a com.esri.arcgis.schematic.INgValues (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIdentifierFieldNames

public void setIdentifierFieldNames(INgNames names)
                             throws IOException,
                                    AutomationException
List of the field names used to build the object identifier.

Product Availability

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

Specified by:
setIdentifierFieldNames in interface INgRecordset
Parameters:
names - A reference to a com.esri.arcgis.schematic.INgNames (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveFirst

public void moveFirst()
               throws IOException,
                      AutomationException
Points to the first record in the recordset.

Product Availability

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

Specified by:
moveFirst in interface INgRecordset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#isBOF(), com.esri.arcgis.schematic.INgRecordSet#moveNext(), com.esri.arcgis.schematic.INgRecordSet#isEOF(), com.esri.arcgis.schematic.INgRecordSet#findRecord(String)

moveNext

public void moveNext()
              throws IOException,
                     AutomationException
Moves to the next record in the recordset.

Product Availability

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

Specified by:
moveNext in interface INgRecordset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#isBOF(), com.esri.arcgis.schematic.INgRecordSet#moveFirst(), com.esri.arcgis.schematic.INgRecordSet#isEOF(), com.esri.arcgis.schematic.INgRecordSet#findRecord(String)

findRecord

public void findRecord(String identifier)
                throws IOException,
                       AutomationException
Points to the 'identifier' record in the recordset.

Product Availability

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

Specified by:
findRecord in interface INgRecordset
Parameters:
identifier - The identifier (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#isBOF(), com.esri.arcgis.schematic.INgRecordSet#moveFirst(), com.esri.arcgis.schematic.INgRecordSet#moveNext(), com.esri.arcgis.schematic.INgRecordSet#isEOF()

isBOF

public boolean isBOF()
              throws IOException,
                     AutomationException
Indicates if the current record is positioned before the first record in the recordset.

Product Availability

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

Specified by:
isBOF in interface INgRecordset
Returns:
The bof
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#moveFirst(), com.esri.arcgis.schematic.INgRecordSet#moveNext(), com.esri.arcgis.schematic.INgRecordSet#isEOF()

isEOF

public boolean isEOF()
              throws IOException,
                     AutomationException
Indicates if the current record is positioned after the first record in the recordset.

Product Availability

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

Specified by:
isEOF in interface INgRecordset
Returns:
The eof
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.schematic.INgRecordSet#isBOF(), com.esri.arcgis.schematic.INgRecordSet#moveFirst(), com.esri.arcgis.schematic.INgRecordSet#moveNext()

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