|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRecordSet
Represents tabular data, which is usually generated by executing a query in
the EIS. A RecordSet object maintains a cursor pointing to its current row
of data. Initially the cursor is positioned before the first row. The
next() method moves the cursor to the next row, and because it
returns false when there are no more rows in the ResultSet object, it can
be used in a while loop to iterate through the record set.
| Field Summary | |
|---|---|
static int |
RECORD_TYPE_FORWARD_ONLY
Indicates that the record set cursor can only iterate with next() |
static int |
RECORD_TYPE_SCROLLABLE
Indicates that the record set cursor can handle all iterating operations |
| Method Summary | |
|---|---|
boolean |
absolute(int row)
Moves the cursor to the given row number in this RecordSet object. |
void |
afterLast()
Moves the cursor to the end of this RecordSet object, just after the last row. |
void |
beforeFirst()
Moves the cursor to the front of this RecordSet object, just before the first row. |
void |
deleteRow()
Deletes the current row from this ResultSet object. |
boolean |
first()
Moves the cursor to the first row in this ResultSet object. |
Enumeration |
getRecords()
Return an Enueration of IRecord objects for going over this RecordSet's records. |
void |
insertRow()
Inserts the contents of the insert row into this RecordSet object. |
boolean |
isAfterLast()
Indicates whether the cursor is after the last row in this RecordSet object. |
boolean |
isBeforeFirst()
Indicates whether the cursor is before the first row in this RecordSet object. |
boolean |
isFirst()
Indicates whether the cursor is on the first row of this RecordSet object. |
boolean |
isLast()
Indicates whether the cursor is on the last row of this RecordSet object. |
boolean |
last()
Moves the cursor to the last row in this RecordSet object. |
void |
moveToCurrentRow()
Moves the cursor to the remembered cursor position, usually the current row. |
void |
moveToInsertRow()
Moves the cursor to the insert row. |
boolean |
next()
Moves the cursor down one row from its current position. |
boolean |
previous()
Moves the cursor to the previous row in this RecordSet object. |
void |
refreshRow()
Refreshes the current row with its most recent value in the database. |
boolean |
relative(int rows)
Moves the cursor a relative number of rows, either positive or negative. |
int |
retrieveRow()
Retrieves the current row number. |
int |
retrieveType()
Return the type of the record set FORWARD_ONLY indicates that the only possible iterating operation is next() SCROLLABLE indicates that other iterating operations can be used |
void |
updateRow()
Updates the underlying database with the new contents of the current row of this RecordSet object. |
| Methods inherited from interface com.sapportals.connector.execution.structures.IAbstractRecord |
|---|
close, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getChar, getChar, getColumnIndex, getColumnName, getDate, getDate, getDateTime, getDateTime, getDouble, getDouble, getEnumeration, getEnumeration, getFloat, getFloat, getInt, getInt, getLong, getLong, getNumber, getNumber, getObject, getObject, getShort, getShort, getString, getString, getTime, getTime, retrieveMetaData, setBigDecimal, setBigDecimal, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setChar, setChar, setDate, setDate, setDateTime, setDateTime, setDouble, setDouble, setEnumeration, setEnumeration, setFloat, setFloat, setInt, setInt, setLong, setLong, setNull, setNull, setNumber, setNumber, setObject, setObject, setShort, setShort, setString, setString, setTime, setTime |
| Field Detail |
|---|
static final int RECORD_TYPE_FORWARD_ONLY
next()
static final int RECORD_TYPE_SCROLLABLE
| Method Detail |
|---|
boolean first()
throws ConnectorException
true if the cursor is on a valid row.
false if there are no rows in the record set
ConnectorException
boolean isFirst()
throws ConnectorException
true if the cursor is on the first row. false otherwise
ConnectorException
boolean last()
throws ConnectorException
ConnectorException
boolean isLast()
throws ConnectorException
true if the cursor is on the last row. false otherwise
ConnectorException
int retrieveRow()
throws ConnectorException
ConnectorException
boolean next()
throws ConnectorException
ConnectorException
boolean previous()
throws ConnectorException
ConnectorException
boolean absolute(int row)
throws ConnectorException
ConnectorException
boolean relative(int rows)
throws ConnectorException
ConnectorException
void beforeFirst()
throws ConnectorException
ConnectorException
void afterLast()
throws ConnectorException
ConnectorException
boolean isBeforeFirst()
throws ConnectorException
ConnectorException
boolean isAfterLast()
throws ConnectorException
ConnectorException
void insertRow()
throws ConnectorException
ConnectorException
void updateRow()
throws ConnectorException
ConnectorException
void deleteRow()
throws ConnectorException
ConnectorException
void refreshRow()
throws ConnectorException
ConnectorException
void moveToInsertRow()
throws ConnectorException
ConnectorException
void moveToCurrentRow()
throws ConnectorException
ConnectorException
Enumeration getRecords()
throws ConnectorException
ConnectorException
int retrieveType()
throws ConnectorException
ConnectorException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
-
|
EP-CON-CF
|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
default
|
EP-CON-CF
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/connectivityfw/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||