LibreOffice LibreOffice 4.3 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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
26 module com { module sun { module star {
27 module container {
28 interface XNameAccess;
29 };
30 module lang {
31 interface XComponent;
32 };
33 };};};
34 module com { module sun { module star { module sdb {
35 interface XSingleSelectQueryComposer;
36 module tools {
37
38 interface XTableName;
39 interface XObjectNames;
40 interface 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
com::sun::star::lang::XComponent
allows to exclicitly free resources and break cyclic references.
Definition: XComponent.idl:42
com
– idl definition –
Definition: Ambiguous.idl:22
com::sun::star::sdb::tools::XDataSourceMetaData
Definition: XDataSourceMetaData.idl:27
com::sun::star::sdb::tools::XConnectionTools
encapsulates various useful functionality around a com::sun::star::sdb::Connection ...
Definition: XConnectionTools.idl:56
com::sun::star::sdb::XSingleSelectQueryComposer
simplifies the composing of single select statements.
Definition: XSingleSelectQueryComposer.idl:43
XInterface.idl
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:44
com::sun::star::sdb::tools::XTableName
allows to manipulate table names.
Definition: XTableName.idl:56
com::sun::star::container::XNameAccess
is used to access named objects within a container.
Definition: XNameAccess.idl:39
com::sun::star::sdb::tools::XObjectNames
encapsulates functionality which you might find useful when writing a database application which deal...
Definition: XObjectNames.idl:57