Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / sdbcx / Driver.idl
blob2e3f20326d94f1a5b83b40b385f895e04c575c57
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_sdbcx_Driver_idl__
29 #define __com_sun_star_sdbcx_Driver_idl__
31 #include <com/sun/star/sdbc/Driver.idl>
33 module com { module sun { module star { module sdbcx {
35 published interface XDataDefinitionSupplier;
36 published interface XCreateCatalog;
37 published interface XDropCatalog;
40 /** extends the service
41 <type scope="com::sun::star::sdbc">Driver</type>
42 by beans for data definition.
43 <p>
44 This service is optional for each driver. Its purpose is to define
45 a common way for database definition, as the DDL differs between most DBMS.
46 </p>
47 <p>
48 Definition and deletion of database catalogs can't be defined in a common
49 manner for DBMS, but it should be possible to hide much of the complexity
50 of creation and deletion of catalogs. Each driver could provide methods to
51 cover these tasks.
52 </p>
54 published service Driver
56 service com::sun::star::sdbc::Driver;
58 /** used to get access to the catalog.
59 @see Catalog
61 interface XDataDefinitionSupplier;
64 /** is optional for implementation.
66 [optional] interface XCreateCatalog;
68 /** is optional for implementation.
70 [optional] interface XDropCatalog;
73 //=============================================================================
75 }; }; }; };
77 #endif
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */