LibreOffice: com/sun/star/sdb/tools/XConnectionTools.idl Source File

LibreOffice LibreOffice 24.2 SDK API Reference |

Loading...
Searching...
No Matches
XConnectionTools.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
20module com { module sun { module star {
21 module container {
22 interface XNameAccess;
23 };
24 module lang {
25 interface XComponent;
26 };
27};};};
28module com { module sun { module star { module sdb {
29 interface XSingleSelectQueryComposer;
30 module tools {
31
32interface XTableName;
33interface XObjectNames;
34interface XDataSourceMetaData;
35
50 interface XConnectionTools
51{
57 XTableName createTableName();
58
64 XObjectNames getObjectNames();
65
68 XDataSourceMetaData
69 getDataSourceMetaData();
70
101 ::com::sun::star::container::XNameAccess getFieldsByCommandDescriptor( [in] long commandType,
102 [in] string command,
103 [out] ::com::sun::star::lang::XComponent keepFieldsAlive
104 ) raises( com::sun::star::sdbc::SQLException );
105
116 ::com::sun::star::sdb::XSingleSelectQueryComposer getComposer([in] long commandType,[in] string command);
117};
118
119}; }; }; }; };
120
121/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition SQLException.idl:41
com::sun::star::container::XNameAccess
is used to access named objects within a container.
Definition generated_idl_chapter_refs.idl:3916
com::sun::star::lang::XComponent
allows to explicitly free resources and break cyclic references.
Definition generated_idl_chapter_refs.idl:435
com::sun::star::sdb::XSingleSelectQueryComposer
simplifies the composing of single select statements.
Definition XSingleSelectQueryComposer.idl:34
com::sun::star::sdb::tools::XConnectionTools
encapsulates various useful functionality around a com::sun::star::sdb::Connection
Definition XConnectionTools.idl:51
com::sun::star::sdb::tools::XConnectionTools::getComposer
::com::sun::star::sdb::XSingleSelectQueryComposer getComposer([in] long commandType,[in] string command)
get the composer initialized with a command and command type.
com::sun::star::sdb::tools::XConnectionTools::createTableName
XTableName createTableName()
creates an instance supporting the XTableName interface, which can be used to manipulate table names ...
com::sun::star::sdb::tools::XConnectionTools::getFieldsByCommandDescriptor
::com::sun::star::container::XNameAccess getFieldsByCommandDescriptor([in] long commandType, [in] string command, [out] ::com::sun::star::lang::XComponent keepFieldsAlive)
get fields for a result set given by a "command descriptor"
com::sun::star::sdb::tools::XConnectionTools::getObjectNames
XObjectNames getObjectNames()
returns an instance supporting the XObjectNames interface, which provides access to functionality aro...
com::sun::star::sdb::tools::XConnectionTools::getDataSourceMetaData
XDataSourceMetaData getDataSourceMetaData()
provides access to the application-level data source meta data
com::sun::star::sdb::tools::XDataSourceMetaData
Definition XDataSourceMetaData.idl:23
com::sun::star::sdb::tools::XObjectNames
encapsulates functionality which you might find useful when writing a database application which deal...
Definition XObjectNames.idl:52
com::sun::star::sdb::tools::XTableName
allows to manipulate table names.
Definition XTableName.idl:50
com
Definition Ambiguous.idl:20