LibreOffice
LibreOffice 7.1 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
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
57{
64
71
76
108 [in] string command,
109 [out] ::com::sun::star::lang::XComponent keepFieldsAlive
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: */
is an exception that provides information on a database access error.
Definition: SQLException.idl:45
is used to access named objects within a container.
Definition: XNameAccess.idl:40
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
simplifies the composing of single select statements.
Definition: XSingleSelectQueryComposer.idl:42
encapsulates various useful functionality around a com::sun::star::sdb::Connection
Definition: XConnectionTools.idl:57
::com::sun::star::sdb::XSingleSelectQueryComposer getComposer([in] long commandType,[in] string command)
get the composer initialized with a command and command type.
XTableName createTableName()
creates an instance supporting the XTableName interface, which can be used to manipulate table names ...
::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"
XObjectNames getObjectNames()
returns an instance supporting the XObjectNames interface, which provides access to functionality aro...
XDataSourceMetaData getDataSourceMetaData()
provides access to the application-level data source meta data
Definition: XDataSourceMetaData.idl:29
encapsulates functionality which you might find useful when writing a database application which deal...
Definition: XObjectNames.idl:58
allows to manipulate table names.
Definition: XTableName.idl:57
Definition: Ambiguous.idl:22