update dev300-m58
[ooovba.git] / offapi / com / sun / star / sdbcx / ResultSet.idl
blob1e332573839b129611438fec3e3c9095de493742
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ResultSet.idl,v $
10 * $Revision: 1.11 $
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>
35 #endif
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.
60 interface XRowLocate;
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;
79 };
81 //=============================================================================
83 }; }; }; };
85 /*===========================================================================
86 ===========================================================================*/
87 #endif