Recordset (ADO for Java Syntax)

Constructors

public Recordset( Object r )
public Recordset()

Methods

public void addNew( Object[] fieldList, Object[] valueList )
public void addNew( Object[] valueList )
public void addNew()

public void cancel()

public void cancelBatch( int affectRecords )
public void cancelBatch()
public void cancelUpdate()

public Object clone()
public Object clone(int lockType)

public void close()

public void delete( int affectRecords )
public void delete()

public void find( String criteria )
public void find( String criteria, int SkipRecords )
public void find( String criteria, int SkipRecords, int searchDirection, Object bmkStart)
public void find( String criteria, int SkipRecords, int searchDirection )

public Object[][] getRows( int Rows, Object bmkStart, Object[] fieldList )

public void MoveFirst()
public void MoveLast()
public void MoveNext()
public void MovePrevious()

public Recordset nextRecordset( int[] recordsAffected )
public Recordset nextRecordset()

public void open()
public void open( Object source )
public void open( Object source, Object activeConnection )
public void open( Object source, Object activeConnection, int cursorType )
public void open( Object source, Object activeConnection, int cursorType,
int lockType)
public void open( Object source, Object activeConnection, int cursorType,
int lockType, int options )

public void release()

public void requery()
public void requery( int options )

public void resync()
public void resync( int affectRecords )

public void save(String fileName, int saveOption)

public boolean supports( int cursorOptions )

public void update()
public void update( Object[] valueList )
public void update( Object[] fieldList, Object[] valueList )

public void updateBatch()
public void updateBatch( int affectRecords )

Properties

public int getAbsolutePage()
public void setAbsolutePage( int page )

public int getAbsolutePosition()
public void setAbsolutePosition( int pos )

public Command getActiveCommand()

public void setActiveConnection( String conn )
public void setActiveConnection( com.ms.ado.Connection c )

public boolean getBOF()

public boolean getEOF()

public Object getBookmark()
public void setBookmark( Object bmk )

public int getCacheSize()
public void setCacheSize( int size )

public void setCursorLocation( int cursorLoc )

public int getCursorType()
public void setCursorType( int cursorType )

public Iunknown getDataMember(String bstrDM, com.ms.com._Guid riid)

public Iunknown getDataSource()
public void setDataSource(IUnknown dataSource)

public int getEditMode()

public Object getFilter()
public void setFilter( Object filter )

public int getLockType()
public void setLockType( int lockType )

public int getMarshalOptions()
public void setMarshalOptions( int options )

public int getMaxRecords()
public void setMaxRecords( int maxRecords )

public int getPageCount()

public int getPageSize()
public void setPageSize( int pageSize )

public int getRecordCount()

public String getSort()
public void setSort( String criteria )

public String getSource()
public void setSource( String query )
public void setSource( com.ms.ado.Command command )

public int getState()

public int getStatus()

public com.ms.ado.Field getField( int n )
public com.ms.ado.Field getField( String n )

public com.ms.ado.Fields getFields()

public AdoProperties getProperties()

Miscellaneous

public int getDataMemberCount()

public String getDataMemberName(int lIndex)

Events

public void addDataSourceListener(com.ms.ado.DataSourceListener pDSL)
public void removeDataSourceListener(com.ms.ado.DataSourceListener pDSL)

public void addEndOfRecordsetHandler(RecordsetEventHandler handler)
public void removeEndOfRecordsetHandler(RecordsetEventHandler handler)

public void addFieldChangeCompleteHandler(RecordsetEventHandler handler)
public void removeFieldChangeCompleteHandler(RecordsetEventHandler handler)

public void addMoveCompleteHandler(RecordsetEventHandler handler)
public void removeMoveCompleteHandler(RecordsetEventHandler handler)

public void addRecordChangeCompleteHandler(RecordsetEventHandler handler)
public void removeRecordChangeCompleteHandler(RecordsetEventHandler handler)

public void addRecordsetChangeCompleteHandler(RecordsetEventHandler handler)
public void removeRecordsetChangeCompleteHandler(RecordsetEventHandler handler)

public void addWillChangeFieldHandler(RecordsetEventHandler handler)
public void removeWillChangeFieldHandler(RecordsetEventHandler handler)

public void addWillChangeRecordHandler(RecordsetEventHandler handler)
public void removeWillChangeRecordHandler(RecordsetEventHandler handler)

public void addWillChangeRecordsetHandler(RecordsetEventHandler handler)
public void removeWillChangeRecordsetHandler(RecordsetEventHandler handler)

public void addWillMoveHandler(RecordsetEventHandler handler)
public void removeWillMoveHandler(RecordsetEventHandler handler)