LibreOffice: com/sun/star/sdb/DatabaseAccess.idl Source File

LibreOffice LibreOffice 25.2 SDK API Reference

Loading...
Searching...
No Matches
DatabaseAccess.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21 module com { module sun { module star { module sdb {
22
23 published interface XDatabaseAccess;
24 published interface XCompletedConnection;
25
26
32published service DatabaseAccess
33{
34 // gives access to the properties.
35 interface com::sun::star::beans::XPropertySet;
36
39 interface XDatabaseAccess;
40
44 [optional] interface XCompletedConnection;
45
48 [readonly, property] string URL;
49
52 [property] string Title;
53
58 [property] string ConnectURL;
59
64 [property] sequence<com::sun::star::beans::PropertyValue> ConnectInfo;
65
69 [readonly, property] boolean IsReadOnly;
70
73 [property] com::sun::star::util::XNumberFormatsSupplier
74 NumberFormatsSupplier;
75
78 [optional, property] boolean IsPasswordRequired;
79
83 [optional, property] sequence<string> TableFilter;
84
88 [optional, property] sequence<string> TableTypeFilter;
89};
90
91
92}; }; }; };
93
94/*===========================================================================
95===========================================================================*/
96
97/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition XPropertySet.idl:46
com::sun::star::util::XNumberFormatsSupplier
supplies the collection of NumberFormats (for example, in a document) and the settings belonging to t...
Definition XNumberFormatsSupplier.idl:29
com
Definition Ambiguous.idl:20
com::sun::star::sdb::DatabaseAccess
specifies a component, which controls DatabaseAccessConnections and acts like a shared DataSource.
Definition DatabaseAccess.idl:33
com::sun::star::sdb::DatabaseAccess::TableTypeFilter
sequence< string > TableTypeFilter
defines a list of table types, on which the bean should have it's focus.
Definition DatabaseAccess.idl:88
com::sun::star::sdb::DatabaseAccess::IsPasswordRequired
boolean IsPasswordRequired
indicates that a password is always necessary.
Definition DatabaseAccess.idl:78
com::sun::star::sdb::DatabaseAccess::ConnectURL
string ConnectURL
indicates a database url of the form jdbc:subprotocol:subname or sdbc:subprotocol:subname
Definition DatabaseAccess.idl:58
com::sun::star::sdb::DatabaseAccess::XCompletedConnection
interface XCompletedConnection
establishing a connection with user interaction, the implementation is optional.
Definition DatabaseAccess.idl:44
com::sun::star::sdb::DatabaseAccess::Title
string Title
is the title of the bean.
Definition DatabaseAccess.idl:52
com::sun::star::sdb::DatabaseAccess::IsReadOnly
boolean IsReadOnly
determines whether modifications on the data access bean are allowed or not.
Definition DatabaseAccess.idl:69
com::sun::star::sdb::DatabaseAccess::ConnectInfo
sequence< com::sun::star::beans::PropertyValue > ConnectInfo
is a list of arbitrary string tag/value pairs as connection arguments; normally at least a "user" and...
Definition DatabaseAccess.idl:64
com::sun::star::sdb::DatabaseAccess::XDatabaseAccess
interface XDatabaseAccess
controls the establishing of the connections.
Definition DatabaseAccess.idl:39
com::sun::star::sdb::DatabaseAccess::NumberFormatsSupplier
com::sun::star::util::XNumberFormatsSupplier NumberFormatsSupplier
provides an object for formatting numbers.
Definition DatabaseAccess.idl:74
com::sun::star::sdb::DatabaseAccess::TableFilter
sequence< string > TableFilter
defines a list of tables, on which the bean should have it's focus.
Definition DatabaseAccess.idl:83
com::sun::star::sdb::DatabaseAccess::URL
string URL
is the URL of the bean.
Definition DatabaseAccess.idl:48