Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / sdb / Connection.idl
blob5051d51a5901985cdb4d72a85cc18e3430343f1a
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: Connection.idl,v $
10 * $Revision: 1.12 $
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_sdb_Connection_idl__
31 #define __com_sun_star_sdb_Connection_idl__
33 #ifndef __com_sun_star_container_XChild_idl__
34 #include <com/sun/star/container/XChild.idl>
35 #endif
37 #ifndef __com_sun_star_sdbc_Connection_idl__
38 #include <com/sun/star/sdbc/Connection.idl>
39 #endif
41 #ifndef __com_sun_star_sdbcx_DatabaseDefinition_idl__
42 #include <com/sun/star/sdbcx/DatabaseDefinition.idl>
43 #endif
45 module com { module sun { module star { module lang {
46 published interface XMultiServiceFactory;
47 };};};};
49 module com { module sun { module star { module sdb {
51 published interface XSQLQueryComposerFactory;
52 published interface XQueriesSupplier;
53 published interface XCommandPreparation;
55 module application { interface XTableUIProvider; };
57 /** extends the
58 <type scope="com::sun::star::sdbc">Connection</type>
59 of SDBC by providing the data definitions of a connected database.
61 published service Connection
63 service com::sun::star::sdbc::Connection;
65 /** access to the owning data source.
67 interface com::sun::star::container::XChild;
69 /** interface for complex command execution.
71 interface XCommandPreparation;
73 /** access to the database definition information of the connection.
75 service com::sun::star::sdbcx::DatabaseDefinition;
77 /** returns a container of associated queries.
79 interface XQueriesSupplier;
81 /** returns a tool for composing queries.
83 interface XSQLQueryComposerFactory;
85 /** allows the creation of different services which can only exists with a connection.
87 [optional] interface com::sun::star::lang::XMultiServiceFactory;
89 /** allows the connection to overrule the database application's default
90 user interface for tables.
92 // [optional] interface com::sun::star::sdb::application::XTableUIProvider;
93 };
95 //=============================================================================
97 }; }; }; };
99 /*===========================================================================
100 ===========================================================================*/
101 #endif