LibreOffice LibreOffice 6.0 SDK API Reference

XSQLQueryComposer.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 #ifndef __com_sun_star_sdb_XSQLQueryComposer_idl__
20 #define __com_sun_star_sdb_XSQLQueryComposer_idl__
21
22 #include <com/sun/star/beans/XPropertySet.idl>
23
24 #include <com/sun/star/beans/PropertyValue.idl>
25
26 #include <com/sun/star/sdbc/SQLException.idl>
27
28
29 module com { module sun { module star { module sdb {
30
31
39 published interface XSQLQueryComposer: com::sun::star::uno::XInterface
40 {
41
46 string getQuery();
47
55 void setQuery([in] string command )
56 raises (com::sun::star::sdbc::SQLException);
57
62 string getComposedQuery();
63
73 string getFilter();
74
85 sequence< sequence<com::sun::star::beans::PropertyValue> >
86 getStructuredFilter();
87
98 string getOrder();
99
108 void appendFilterByColumn([in] com::sun::star::beans::XPropertySet column)
109 raises (com::sun::star::sdbc::SQLException);
110
120 void appendOrderByColumn([in] com::sun::star::beans::XPropertySet column,
121 [in] boolean ascending)
122 raises (com::sun::star::sdbc::SQLException);
123
130 void setFilter([in] string filter)
131 raises (com::sun::star::sdbc::SQLException);
132
139 void setOrder([in] string order)
140 raises (com::sun::star::sdbc::SQLException);
141 };
142
143
144 }; }; }; };
145
146 #endif
147
148 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SQLException.idl
com
Definition: Ambiguous.idl:22
PropertyValue.idl
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:44
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:63
XPropertySet.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47
com::sun::star::sdb::XSQLQueryComposer
should be provided by a tool which simplifies the handling with SQL select statements.
Definition: XSQLQueryComposer.idl:39