1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 module com
{ module sun
{ module star
{ module sdb
{
22 published
interface XQueriesSupplier
;
23 published
interface XFormDocumentsSupplier
;
24 published
interface XReportDocumentsSupplier
;
25 published
interface XSQLQueryComposerFactory
;
28 /** specifies a component, which supplies and stores additional information related
29 to a certain database connection, such as, DatabaseQueries, FormDocuments, and ReportDocuments.
30 Objects for data definition are supplied as well, for instance, Tables, Views, etc.
33 Implements the service com::sun::star::sdbc::Connection.
34 It is possible to open more than one connection at the same time, but the method
35 com::sun::star::sdb::DatabaseAccessConnection::dispose()
36 will close only one of these connections. You have to close all connections in order
37 to close the connection to the database.
42 published service DatabaseAccessConnection
44 /** supporting of the base connection service.
46 Don't use the "dispose" method of the XComponent interface, as the DataAccess
47 uses a more sophisticated interface for closing a connection.
51 service com
::sun
::star
::sdbc
::Connection
;
53 /** access to the DatabaseDefinition beans of the connection.
55 service com
::sun
::star
::sdbcx
::DatabaseDefinition
;
57 /** access to the owning data access bean.
59 interface com
::sun
::star
::container
::XChild
;
61 /** returns a tool for composing queries.
63 interface XSQLQueryComposerFactory
;
65 /** provides access to the queries.
67 interface XQueriesSupplier
;
73 /*===========================================================================
74 ===========================================================================*/
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */