LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
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
37
published
interface
XResultSet
:
com::sun::star::uno::XInterface
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: */
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition
SQLException.idl:41
com::sun::star::sdbc::XResultSet
provides the navigation on a table of data.
Definition
XResultSet.idl:38
com::sun::star::sdbc::XResultSet::isFirst
boolean isFirst()
indicates whether the cursor is on the first row of the result set.
com::sun::star::sdbc::XResultSet::getStatement
com::sun::star::uno::XInterface getStatement()
returns the Statement that produced this com::sun::star::sdbc::ResultSet object.
com::sun::star::sdbc::XResultSet::getRow
long getRow()
retrieves the current row number.
com::sun::star::sdbc::XResultSet::beforeFirst
void beforeFirst()
moves the cursor to the front of the result set, just before the first row.
com::sun::star::sdbc::XResultSet::rowUpdated
boolean rowUpdated()
indicates whether the current row has been updated.
com::sun::star::sdbc::XResultSet::afterLast
void afterLast()
moves the cursor to the end of the result set, just after the last row.
com::sun::star::sdbc::XResultSet::rowInserted
boolean rowInserted()
indicates whether the current row has had an insertion.
com::sun::star::sdbc::XResultSet::next
boolean next()
moves the cursor down one row from its current position.
com::sun::star::sdbc::XResultSet::relative
boolean relative([in]long rows)
moves the cursor a relative number of rows, either positive or negative.
com::sun::star::sdbc::XResultSet::last
boolean last()
moves the cursor to the last row in the result set.
com::sun::star::sdbc::XResultSet::absolute
boolean absolute([in] long row)
moves the cursor to the given row number in the result set.
com::sun::star::sdbc::XResultSet::refreshRow
void refreshRow()
refreshes the current row with its most recent value in the database.
com::sun::star::sdbc::XResultSet::isAfterLast
boolean isAfterLast()
indicates whether the cursor is after the last row in the result set.
com::sun::star::sdbc::XResultSet::rowDeleted
boolean rowDeleted()
indicates whether a row has been deleted.
com::sun::star::sdbc::XResultSet::isBeforeFirst
boolean isBeforeFirst()
indicates whether the cursor is before the first row in the result set.
com::sun::star::sdbc::XResultSet::isLast
boolean isLast()
indicates whether the cursor is on the last row of the result set.
com::sun::star::sdbc::XResultSet::previous
boolean previous()
moves the cursor to the previous row in the result set.
com::sun::star::sdbc::XResultSet::first
boolean first()
moves the cursor to the first row in the result set.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition
XInterface.idl:46
com::sun::star::uno
Basic UNO interfaces.
Definition
modules.idl:72
com::sun::star
the module com::sun::star is the root module of the UNO API.
Definition
Ambiguous.idl:20
com::sun
Definition
Ambiguous.idl:20
com
Definition
Ambiguous.idl:20
com
sun
star
sdbc
XResultSet.idl
Generated by
1.17.0