LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
XResultSet.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 module com { module sun { module star { module sdbc {
21
22 published interface XStatement;
23
24
38{
39
59 boolean next() raises (SQLException);
60
68 boolean isBeforeFirst() raises (SQLException);
69
77 boolean isAfterLast() raises (SQLException);
78
85 boolean isFirst() raises (SQLException);
86
104 boolean isLast() raises (SQLException);
105
111 void beforeFirst() raises (SQLException);
112
118 void afterLast() raises (SQLException);
119
126 boolean first() raises (SQLException);
127
134 boolean last() raises (SQLException);
135
143 long getRow() raises (SQLException);
144
177 boolean absolute([in] long row ) raises (SQLException);
178
206 boolean relative([in]long rows) raises (SQLException);
207
225 boolean previous() raises (SQLException);
226
253 void refreshRow() raises (SQLException);
254
262 boolean rowUpdated() raises (SQLException);
263
271 boolean rowInserted() raises (SQLException);
272
282 boolean rowDeleted() raises (SQLException);
283
294 com::sun::star::uno::XInterface getStatement() raises (SQLException);
295};
296
297
298}; }; }; };
299
300/*===========================================================================
301===========================================================================*/
302
303/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is an exception that provides information on a database access error.
Definition SQLException.idl:41
provides the navigation on a table of data.
Definition XResultSet.idl:38
boolean isFirst()
indicates whether the cursor is on the first row of the result set.
com::sun::star::uno::XInterface getStatement()
returns the Statement that produced this com::sun::star::sdbc::ResultSet object.
long getRow()
retrieves the current row number.
void beforeFirst()
moves the cursor to the front of the result set, just before the first row.
boolean rowUpdated()
indicates whether the current row has been updated.
void afterLast()
moves the cursor to the end of the result set, just after the last row.
boolean rowInserted()
indicates whether the current row has had an insertion.
boolean next()
moves the cursor down one row from its current position.
boolean relative([in]long rows)
moves the cursor a relative number of rows, either positive or negative.
boolean last()
moves the cursor to the last row in the result set.
boolean absolute([in] long row)
moves the cursor to the given row number in the result set.
void refreshRow()
refreshes the current row with its most recent value in the database.
boolean isAfterLast()
indicates whether the cursor is after the last row in the result set.
boolean rowDeleted()
indicates whether a row has been deleted.
boolean isBeforeFirst()
indicates whether the cursor is before the first row in the result set.
boolean isLast()
indicates whether the cursor is on the last row of the result set.
boolean previous()
moves the cursor to the previous row in the result set.
boolean first()
moves the cursor to the first row in the result set.
base interface of all UNO interfaces
Definition XInterface.idl:46
Basic UNO interfaces.
Definition modules.idl:72
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20