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

LibreOffice LibreOffice 7.3 SDK API Reference

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
20#ifndef __com_sun_star_sdb_tools_XConnectionTools_idl__
21#define __com_sun_star_sdb_tools_XConnectionTools_idl__
22
23#include <com/sun/star/uno/XInterface.idl>
24#include <com/sun/star/sdbc/SQLException.idl>
25
26module com { module sun { module star {
27 module container {
28 interface XNameAccess;
29 };
30 module lang {
31 interface XComponent;
32 };
33};};};
34module com { module sun { module star { module sdb {
35 interface XSingleSelectQueryComposer;
36 module tools {
37
38interface XTableName;
39interface XObjectNames;
40interface XDataSourceMetaData;
41
56 interface XConnectionTools
57{
63 XTableName createTableName();
64
70 XObjectNames getObjectNames();
71
74 XDataSourceMetaData
75 getDataSourceMetaData();
76
107 ::com::sun::star::container::XNameAccess getFieldsByCommandDescriptor( [in] long commandType,
108 [in] string command,
109 [out] ::com::sun::star::lang::XComponent keepFieldsAlive
110 ) raises( com::sun::star::sdbc::SQLException );
111
122 ::com::sun::star::sdb::XSingleSelectQueryComposer getComposer([in] long commandType,[in] string command);
123};
124
125}; }; }; }; };
126
127#endif
128
129/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SQLException.idl
XInterface.idl
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:45
com::sun::star::container::XNameAccess
is used to access named objects within a container.
Definition: XNameAccess.idl:40
com::sun::star::lang::XComponent
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
com::sun::star::sdb::XSingleSelectQueryComposer
simplifies the composing of single select statements.
Definition: XSingleSelectQueryComposer.idl:42
com::sun::star::sdb::tools::XConnectionTools
encapsulates various useful functionality around a com::sun::star::sdb::Connection
Definition: XConnectionTools.idl:57
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:29
com::sun::star::sdb::tools::XObjectNames
encapsulates functionality which you might find useful when writing a database application which deal...
Definition: XObjectNames.idl:58
com::sun::star::sdb::tools::XTableName
allows to manipulate table names.
Definition: XTableName.idl:57
com
Definition: Ambiguous.idl:22