module com { module sun { module star { module sdbc {
published interface XStatement;
/** provides the navigation on a table of data. A com::sun::star::sdbc::ResultSet objectisusuallygeneratedbyexecutinga com::sun::star::sdbc::Statement.
/** indicates whether the cursor is before the first row in the result set. @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isBeforeFirst() raises (SQLException);
/** indicates whether the cursor is after the last row in the result set. @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isAfterLast() raises (SQLException);
/** indicates whether the cursor is on the first row of the result set. @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isFirst() raises (SQLException);
/** indicates whether the cursor is on the last row of the result set.
/** moves the cursor to the front of the result set, just before the firstrow.Hasnoeffectiftheresultsetcontainsnorows. @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void beforeFirst() raises (SQLException);
/** moves the cursor to the end of the result set, just after the last row.Hasnoeffectiftheresultsetcontainsnorows. @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void afterLast() raises (SQLException);
/** moves the cursor to the first row in the result set. @returns `TRUE`ifsuccessful @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean first() raises (SQLException);
/** moves the cursor to the last row in the result set. @returns `TRUE`ifsuccessful @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean last() raises (SQLException);
/** retrieves the current row number. The first row is number 1, the secondnumber2,andsoon. @returns thecurrentposition @throwsSQLException ifadatabaseaccesserroroccurs.
*/ long getRow() raises (SQLException);
/** moves the cursor to the given row number in the result set.
/** refreshes the current row with its most recent value in thedatabase.Cannotbecalledwhenontheinsertrow. The <code>refreshRow</code> methodprovidesawayforanapplicationto explicitlytelltheSDBCdrivertorefetcharow(s)fromthe database.Anapplicationmaywanttocall <code>refreshRow</code> whencachingorprefetchingisbeingdonebytheSDBCdriverto fetchthelatestvalueofarowfromthedatabase.TheSDBCdriver mayactuallyrefreshmultiplerowsatonceifthefetchsizeis greaterthanone. Allvaluesarerefetchedsubjecttothetransactionisolation levelandcursorsensitivity.If <code>refreshRow</code> iscalledaftercalling <code>updateXXX</code> ,butbeforecalling com::sun::star::sdbc::XResultSet::updateRow() ,thentheupdatesmadetotherowarelost. Callingthemethod <code>refreshRow</code> frequentlywilllikelyslowperformance. @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void refreshRow() raises (SQLException);
/** indicates whether the current row has been updated. The value returned dependsonwhetherornottheresultsetcandetectupdates. @returns `TRUE`ifsuccessful @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean rowUpdated() raises (SQLException);
/** indicates whether the current row has had an insertion. The value returned dependsonwhetherornottheresultsetcandetectvisibleinserts. @returns `TRUE`ifsuccessful @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean rowInserted() raises (SQLException);
/** indicates whether a row has been deleted. A deleted row may leave avisible"hole"inaresultset.Thismethodcanbeusedto detectholesinaresultset.Thevaluereturneddependsonwhether ornottheresultsetcandetectdeletions. @returns `TRUE`ifsuccessful @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean rowDeleted() raises (SQLException);
/** returns the Statement that produced this com::sun::star::sdbc::ResultSet object.Iftheresultsetwasgeneratedsomeotherway,suchasbyan com::sun::star::sdbc::XDatabaseMetaData method,thismethodreturns`NULL`. @returns thestatementobject @throwsSQLException ifadatabaseaccesserroroccurs.
*/
com::sun::star::uno::XInterface getStatement() raises (SQLException);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.