LibreOffice
LibreOffice 5.0 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
com
sun
star
sdb
XSingleSelectQueryComposer.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_XSingleSelectQueryComposer_idl__
20
#define __com_sun_star_sdb_XSingleSelectQueryComposer_idl__
21
22
#include <
com/sun/star/beans/XPropertySet.idl
>
23
#include <
com/sun/star/beans/PropertyValue.idl
>
24
#include <
com/sun/star/lang/WrappedTargetException.idl
>
25
#include <
com/sun/star/sdbc/SQLException.idl
>
26
#include <
com/sun/star/sdb/XSingleSelectQueryAnalyzer.idl
>
27
28
29
module com { module sun { module star { module sdb {
30
31
41
interface
XSingleSelectQueryComposer
:
XSingleSelectQueryAnalyzer
42
{
43
// FILTER
44
53
void
setFilter([in]
string
filter)
54
raises (
com::sun::star::sdbc::SQLException
);
55
66
void
setStructuredFilter([in] sequence< sequence<com::sun::star::beans::PropertyValue> > filter)
67
raises (
com::sun::star::sdbc::SQLException
,
com::sun::star::lang::IllegalArgumentException
);
68
84
void
appendFilterByColumn([in]
com::sun::star::beans::XPropertySet
column,[in]
boolean
andCriteria,[in]
long
filterOperator)
85
raises (
com::sun::star::sdbc::SQLException
,
com::sun::star::lang::WrappedTargetException
);
86
87
// GROUP BY
88
89
98
void
setGroup([in]
string
group)
99
raises (
com::sun::star::sdbc::SQLException
);
100
101
109
void
appendGroupByColumn([in]
com::sun::star::beans::XPropertySet
column)
110
raises (
com::sun::star::sdbc::SQLException
);
111
112
// HAVING
113
122
void
setHavingClause([in]
string
filter)
123
raises (
com::sun::star::sdbc::SQLException
);
124
125
136
void
setStructuredHavingClause([in] sequence< sequence<com::sun::star::beans::PropertyValue> > filter)
137
raises (
com::sun::star::sdbc::SQLException
);
138
153
void
appendHavingClauseByColumn([in]
com::sun::star::beans::XPropertySet
column,[in]
boolean
andCriteria,[in]
long
filterOperator)
154
raises (
com::sun::star::sdbc::SQLException
,
com::sun::star::lang::WrappedTargetException
);
155
156
// ORDER BY
157
166
void
setOrder([in]
string
order)
167
raises (
com::sun::star::sdbc::SQLException
);
168
169
179
void
appendOrderByColumn([in]
com::sun::star::beans::XPropertySet
column,
180
[in]
boolean
ascending)
181
raises (
com::sun::star::sdbc::SQLException
);
182
183
// cumulative composing
184
224
[attribute]
string
ElementaryQuery
225
{
226
set raises (
com::sun::star::sdbc::SQLException
);
227
};
228
};
229
230
231
}; }; }; };
232
233
#endif
234
235
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated by
1.8.4