Update git submodules
[LibreOffice.git] / offapi / com / sun / star / sdb / application / DatabaseObjectContainer.idl
blobacd61864fb8066c963798090a999831dff00f8ce
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
21 module com { module sun { module star { module sdb { module application {
24 /** denotes different types of (maybe virtual) containers of database objects
26 <p>In the database application of OpenOffice.org, database objects (such as
27 tables, queries, forms, reports) can be organized in folders. This hierarchy can
28 be imposed externally, or internally.
30 <p>For example, when you connect to a database which supports catalogs and/or schemas,
31 then those impose a natural order on the tables, in that a catalog or a schema
32 is a folder of tables.</p>
34 <p>On the other hand, for forms and reports, OpenOffice.org Base itself allows the
35 user to create folders to organize the documents - in this case, the hierarchy is
36 defined in the database document itself.</p>
38 @see DatabaseObject
40 @since OOo 3.0
42 constants DatabaseObjectContainer
44 /** denotes the virtual folder containing all tables of a database, in a context where such a
45 folder is displayed to the user.
47 const long TABLES = 1000;
49 /** denotes the virtual folder containing all queries of a database, in a context where such a
50 folder is displayed to the user.
52 const long QUERIES = 1001;
54 /** denotes the virtual folder containing all forms of a database document, in a context where such a
55 folder is displayed to the user.
57 const long FORMS = 1002;
59 /** denotes the virtual folder containing all reports of a database, in a context where such a
60 folder is displayed to the user.
62 const long REPORTS = 1003;
64 /** denotes the data source itself, which effectively is the root container for all other
65 kind of database objects, including other container types.
67 const long DATA_SOURCE = 1004;
69 /** denotes a catalog in a database which supports catalogs
71 const long CATALOG = 1005;
73 /** denotes a schema in a database which supports schemas
75 const long SCHEMA = 1006;
77 /** denotes a folder which is used to organize forms in a database document
79 const long FORMS_FOLDER = 1007;
81 /** denotes a folder which is used to organize reports in a database document
83 const long REPORTS_FOLDER = 1008;
87 }; }; }; }; };
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */