1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ResultSet.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_sdbcx_ResultSet_idl__
31 #define __com_sun_star_sdbcx_ResultSet_idl__
33 #ifndef __com_sun_star_sdbc_ResultSet_idl__
34 #include
<com
/sun
/star
/sdbc
/ResultSet.idl
>
37 module com
{ module sun
{ module star
{ module sdbcx
{
39 published
interface XRowLocate
;
40 published
interface XDeleteRows
;
43 /** extends the SDBC ResultSet by the possibility of bookmark positioning, cancelling
44 the positioning, and updating of rows.
46 published service ResultSet
48 service com
::sun
::star
::sdbc
::ResultSet
;
51 /** could be used for cancelling the execution of SQL statements if both
52 the DBMS and the driver support aborting of navigation commands.
53 The implementation is optional.
55 [optional] interface com
::sun
::star
::util
::XCancellable
;
58 /** is the interface for navigating on the result set by unique bookmarks.
63 /** is the interface for deleting more than one row, identified by it's bookmark.
64 The implementation is optional.
66 [optional] interface XDeleteRows
;
69 /** returns if the resultset supports bookmark navigation.
71 [readonly, property
] boolean IsBookmarkable
;
74 /** returns whether the resultset supports updating of newly inserted rows.
75 This may not work, as the result set may contain automatic generated data
76 which is used as key information.
78 [optional, readonly, property
] boolean CanUpdateInsertedRows
;
81 //=============================================================================
85 /*===========================================================================
86 ===========================================================================*/