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 sdbcx
{
22 published
interface XTablesSupplier
;
23 published
interface XViewsSupplier
;
24 published
interface XUsersSupplier
;
25 published
interface XGroupsSupplier
;
28 /** could be used as an extension for performing data definition tasks on
29 databases, and to control the access rights on database objects.
33 It may be implemented by a database driver provider, to encapsulate the
34 complexity of data definition, and to give a common way for data definition as
35 the DDL of most DBMS differs.
38 At least, the access to the tables of a database should be implemented.
39 The implementation of other known database objects like views is optional.
42 To control the access rights of users, there is the possibility to
43 implement objects like users and groups.
46 published service DatabaseDefinition
48 // gives access to the tables.
49 interface XTablesSupplier
;
51 /** The implementation is optional.
53 [optional] interface XViewsSupplier
;
55 /** The implementation is optional.
57 [optional] interface XUsersSupplier
;
59 /** The implementation is optional.
61 [optional] interface XGroupsSupplier
;
67 /*===========================================================================
68 ===========================================================================*/
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */