LibreOffice
LibreOffice 24.2 SDK API Reference
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 
32 published service DatabaseAccess
33 {
34  // gives access to the properties.
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 
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: */
boolean IsReadOnly
determines whether modifications on the data access bean are allowed or not.
Definition: DatabaseAccess.idl:69
is used for establishing connections via a factory which is identified by its name.
Definition: XCompletedConnection.idl:31
sequence< string > TableTypeFilter
defines a list of table types, on which the bean should have it&#39;s focus.
Definition: DatabaseAccess.idl:88
Definition: Ambiguous.idl:20
sequence< string > TableFilter
defines a list of tables, on which the bean should have it&#39;s focus.
Definition: DatabaseAccess.idl:83
boolean IsPasswordRequired
indicates that a password is always necessary.
Definition: DatabaseAccess.idl:78
com::sun::star::util::XNumberFormatsSupplier NumberFormatsSupplier
provides an object for formatting numbers.
Definition: DatabaseAccess.idl:74
string ConnectURL
indicates a database url of the form jdbc:subprotocol:subname or sdbc:subprotocol:subname ...
Definition: DatabaseAccess.idl:58
string Title
is the title of the bean.
Definition: DatabaseAccess.idl:52
supplies the collection of NumberFormats (for example, in a document) and the settings belonging to t...
Definition: XNumberFormatsSupplier.idl:28
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
specifies a component, which controls DatabaseAccessConnections and acts like a shared DataSource...
Definition: DatabaseAccess.idl:32
When the button is clicked, a URL set for the button is opened.
Definition: FormButtonType.idl:50
is not to be used anymore
Definition: XDatabaseAccess.idl:33
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:45