1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_DATABASEDATAPROVIDER_HXX
20 #define INCLUDED_DBACCESS_SOURCE_CORE_INC_DATABASEDATAPROVIDER_HXX
22 #include "sal/config.h"
24 #include "com/sun/star/uno/XComponentContext.hpp"
25 #include "com/sun/star/lang/XServiceInfo.hpp"
26 #include "com/sun/star/chart2/data/XDatabaseDataProvider.hpp"
27 #include "com/sun/star/chart2/XInternalDataProvider.hpp"
28 #include <com/sun/star/chart/XComplexDescriptionAccess.hpp>
29 #include <com/sun/star/sdbc/XRowSet.hpp>
30 #include <com/sun/star/sdbc/XParameters.hpp>
31 #include <com/sun/star/container/XChild.hpp>
33 #include <cppuhelper/compbase.hxx>
34 #include "cppuhelper/basemutex.hxx"
35 #include "cppuhelper/propertysetmixin.hxx"
36 #include <cppuhelper/implementationentry.hxx>
38 #include <comphelper/sequence.hxx>
40 #include "connectivity/parameters.hxx"
41 #include "connectivity/filtermanager.hxx"
47 typedef ::cppu::WeakComponentImplHelper
< css::chart2::data::XDatabaseDataProvider
48 , css::container::XChild
49 , css::chart::XComplexDescriptionAccess
50 , css::lang::XServiceInfo
> TDatabaseDataProvider
;
52 class DatabaseDataProvider
: private ::cppu::BaseMutex
,
53 public TDatabaseDataProvider
,
54 public ::cppu::PropertySetMixin
< css::chart2::data::XDatabaseDataProvider
>
57 explicit DatabaseDataProvider(css::uno::Reference
< css::uno::XComponentContext
> const & context
);
59 // css::lang::XServiceInfo - static methods
60 /// @throws css::uno::RuntimeException
61 static css::uno::Sequence
< OUString
> getSupportedServiceNames_Static() throw( css::uno::RuntimeException
);
62 /// @throws css::uno::RuntimeException
63 static OUString
getImplementationName_Static() throw( css::uno::RuntimeException
);
64 static css::uno::Reference
< css::uno::XInterface
>
65 SAL_CALL
Create(css::uno::Reference
< css::uno::XComponentContext
> const & context
);
68 // css::uno::XInterface:
69 virtual css::uno::Any SAL_CALL
queryInterface(css::uno::Type
const & type
) throw (css::uno::RuntimeException
, std::exception
) override
;
70 virtual void SAL_CALL
acquire() throw () override
71 { TDatabaseDataProvider::acquire(); }
72 virtual void SAL_CALL
release() throw () override
73 { TDatabaseDataProvider::release(); }
75 // css::lang::XServiceInfo
76 virtual OUString SAL_CALL
getImplementationName( ) throw(css::uno::RuntimeException
, std::exception
) override
;
77 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
) throw(css::uno::RuntimeException
, std::exception
) override
;
78 virtual css::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames( ) throw(css::uno::RuntimeException
, std::exception
) override
;
80 // css::chart2::data::XDataProvider:
81 virtual sal_Bool SAL_CALL
createDataSourcePossible(const css::uno::Sequence
< css::beans::PropertyValue
> & aArguments
) throw (css::uno::RuntimeException
, std::exception
) override
;
82 virtual css::uno::Reference
< css::chart2::data::XDataSource
> SAL_CALL
createDataSource(const css::uno::Sequence
< css::beans::PropertyValue
> & aArguments
) throw (css::uno::RuntimeException
, css::lang::IllegalArgumentException
, std::exception
) override
;
83 virtual css::uno::Sequence
< css::beans::PropertyValue
> SAL_CALL
detectArguments(const css::uno::Reference
< css::chart2::data::XDataSource
> & xDataSource
) throw (css::uno::RuntimeException
, std::exception
) override
;
84 virtual sal_Bool SAL_CALL
createDataSequenceByRangeRepresentationPossible(const OUString
& aRangeRepresentation
) throw (css::uno::RuntimeException
, std::exception
) override
;
85 virtual css::uno::Reference
< css::chart2::data::XDataSequence
> SAL_CALL
createDataSequenceByRangeRepresentation(const OUString
& aRangeRepresentation
) throw (css::uno::RuntimeException
, css::lang::IllegalArgumentException
, std::exception
) override
;
87 virtual css::uno::Reference
<css::chart2::data::XDataSequence
> SAL_CALL
88 createDataSequenceByValueArray(
89 const OUString
& aRole
, const OUString
& aRangeRepresentation
)
90 throw (css::uno::RuntimeException
, css::lang::IllegalArgumentException
, std::exception
) override
;
92 virtual css::uno::Reference
< css::sheet::XRangeSelection
> SAL_CALL
getRangeSelection() throw (css::uno::RuntimeException
, std::exception
) override
;
94 // css::chart2::data::XRangeXMLConversion:
95 virtual OUString SAL_CALL
convertRangeToXML(const OUString
& aRangeRepresentation
) throw (css::uno::RuntimeException
, css::lang::IllegalArgumentException
, std::exception
) override
;
96 virtual OUString SAL_CALL
convertRangeFromXML(const OUString
& aXMLRange
) throw (css::uno::RuntimeException
, css::lang::IllegalArgumentException
, std::exception
) override
;
98 // css::lang::XInitialization:
99 virtual void SAL_CALL
initialize(const css::uno::Sequence
< css::uno::Any
> & aArguments
) throw (css::uno::RuntimeException
, css::uno::Exception
, std::exception
) override
;
101 // css::beans::XPropertySet:
102 virtual css::uno::Reference
< css::beans::XPropertySetInfo
> SAL_CALL
getPropertySetInfo() throw (css::uno::RuntimeException
, std::exception
) override
;
103 virtual void SAL_CALL
setPropertyValue(const OUString
& aPropertyName
, const css::uno::Any
& aValue
) throw (css::uno::RuntimeException
, css::beans::UnknownPropertyException
, css::beans::PropertyVetoException
, css::lang::IllegalArgumentException
, css::lang::WrappedTargetException
, std::exception
) override
;
104 virtual css::uno::Any SAL_CALL
getPropertyValue(const OUString
& PropertyName
) throw (css::uno::RuntimeException
, css::beans::UnknownPropertyException
, css::lang::WrappedTargetException
, std::exception
) override
;
105 virtual void SAL_CALL
addPropertyChangeListener(const OUString
& aPropertyName
, const css::uno::Reference
< css::beans::XPropertyChangeListener
> & xListener
) throw (css::uno::RuntimeException
, css::beans::UnknownPropertyException
, css::lang::WrappedTargetException
, std::exception
) override
;
106 virtual void SAL_CALL
removePropertyChangeListener(const OUString
& aPropertyName
, const css::uno::Reference
< css::beans::XPropertyChangeListener
> & aListener
) throw (css::uno::RuntimeException
, css::beans::UnknownPropertyException
, css::lang::WrappedTargetException
, std::exception
) override
;
107 virtual void SAL_CALL
addVetoableChangeListener(const OUString
& PropertyName
, const css::uno::Reference
< css::beans::XVetoableChangeListener
> & aListener
) throw (css::uno::RuntimeException
, css::beans::UnknownPropertyException
, css::lang::WrappedTargetException
, std::exception
) override
;
108 virtual void SAL_CALL
removeVetoableChangeListener(const OUString
& PropertyName
, const css::uno::Reference
< css::beans::XVetoableChangeListener
> & aListener
) throw (css::uno::RuntimeException
, css::beans::UnknownPropertyException
, css::lang::WrappedTargetException
, std::exception
) override
;
110 // css::chart2::data::XDatabaseDataProvider:
111 virtual css::uno::Sequence
< OUString
> SAL_CALL
getMasterFields() throw (css::uno::RuntimeException
, std::exception
) override
;
112 virtual void SAL_CALL
setMasterFields(const css::uno::Sequence
< OUString
> & the_value
) throw (css::uno::RuntimeException
, std::exception
) override
;
113 virtual css::uno::Sequence
< OUString
> SAL_CALL
getDetailFields() throw (css::uno::RuntimeException
, std::exception
) override
;
114 virtual void SAL_CALL
setDetailFields(const css::uno::Sequence
< OUString
> & the_value
) throw (css::uno::RuntimeException
, std::exception
) override
;
115 virtual OUString SAL_CALL
getCommand() throw (css::uno::RuntimeException
, std::exception
) override
;
116 virtual void SAL_CALL
setCommand(const OUString
& the_value
) throw (css::uno::RuntimeException
, std::exception
) override
;
117 virtual ::sal_Int32 SAL_CALL
getCommandType() throw (css::uno::RuntimeException
, std::exception
) override
;
118 virtual void SAL_CALL
setCommandType(::sal_Int32 the_value
) throw (css::uno::RuntimeException
, std::exception
) override
;
119 virtual OUString SAL_CALL
getFilter() throw (css::uno::RuntimeException
, std::exception
) override
;
120 virtual void SAL_CALL
setFilter(const OUString
& the_value
) throw (css::uno::RuntimeException
, std::exception
) override
;
121 virtual sal_Bool SAL_CALL
getApplyFilter() throw (css::uno::RuntimeException
, std::exception
) override
;
122 virtual void SAL_CALL
setApplyFilter( sal_Bool _applyfilter
) throw (css::uno::RuntimeException
, std::exception
) override
;
123 virtual OUString SAL_CALL
getHavingClause() throw (css::uno::RuntimeException
, std::exception
) override
;
124 virtual void SAL_CALL
setHavingClause( const OUString
& _havingclause
) throw (css::beans::UnknownPropertyException
, css::uno::RuntimeException
, std::exception
) override
;
125 virtual OUString SAL_CALL
getGroupBy() throw (css::uno::RuntimeException
, std::exception
) override
;
126 virtual void SAL_CALL
setGroupBy( const OUString
& _groupby
) throw (css::beans::UnknownPropertyException
, css::uno::RuntimeException
, std::exception
) override
;
127 virtual OUString SAL_CALL
getOrder() throw (css::uno::RuntimeException
, std::exception
) override
;
128 virtual void SAL_CALL
setOrder( const OUString
& _order
) throw (css::uno::RuntimeException
, std::exception
) override
;
129 virtual sal_Bool SAL_CALL
getEscapeProcessing() throw (css::uno::RuntimeException
, std::exception
) override
;
130 virtual void SAL_CALL
setEscapeProcessing(sal_Bool the_value
) throw (css::uno::RuntimeException
, std::exception
) override
;
131 virtual ::sal_Int32 SAL_CALL
getRowLimit() throw (css::uno::RuntimeException
, std::exception
) override
;
132 virtual void SAL_CALL
setRowLimit( ::sal_Int32 _rowlimit
) throw (css::uno::RuntimeException
, std::exception
) override
;
133 virtual css::uno::Reference
< css::sdbc::XConnection
> SAL_CALL
getActiveConnection() throw (css::uno::RuntimeException
, std::exception
) override
;
134 virtual void SAL_CALL
setActiveConnection(const css::uno::Reference
< css::sdbc::XConnection
> & the_value
) throw (css::uno::RuntimeException
, css::lang::IllegalArgumentException
, std::exception
) override
;
135 virtual OUString SAL_CALL
getDataSourceName() throw (css::uno::RuntimeException
, std::exception
) override
;
136 virtual void SAL_CALL
setDataSourceName( const OUString
& _datasourcename
) throw (css::uno::RuntimeException
, std::exception
) override
;
138 // css::sdbc::XParameters
139 virtual void SAL_CALL
setNull(sal_Int32 parameterIndex
, sal_Int32 sqlType
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
140 virtual void SAL_CALL
setObjectNull(sal_Int32 parameterIndex
, sal_Int32 sqlType
, const OUString
& typeName
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
141 virtual void SAL_CALL
setBoolean(sal_Int32 parameterIndex
, sal_Bool x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
142 virtual void SAL_CALL
setByte(sal_Int32 parameterIndex
, sal_Int8 x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
143 virtual void SAL_CALL
setShort(sal_Int32 parameterIndex
, sal_Int16 x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
144 virtual void SAL_CALL
setInt(sal_Int32 parameterIndex
, sal_Int32 x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
145 virtual void SAL_CALL
setLong(sal_Int32 parameterIndex
, sal_Int64 x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
146 virtual void SAL_CALL
setFloat(sal_Int32 parameterIndex
, float x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
147 virtual void SAL_CALL
setDouble(sal_Int32 parameterIndex
, double x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
148 virtual void SAL_CALL
setString(sal_Int32 parameterIndex
, const OUString
& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
149 virtual void SAL_CALL
setBytes(sal_Int32 parameterIndex
, const css::uno::Sequence
< sal_Int8
>& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
150 virtual void SAL_CALL
setDate(sal_Int32 parameterIndex
, const css::util::Date
& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
151 virtual void SAL_CALL
setTime(sal_Int32 parameterIndex
, const css::util::Time
& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
152 virtual void SAL_CALL
setTimestamp(sal_Int32 parameterIndex
, const css::util::DateTime
& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
153 virtual void SAL_CALL
setBinaryStream(sal_Int32 parameterIndex
, const css::uno::Reference
< css::io::XInputStream
>& x
, sal_Int32 length
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
154 virtual void SAL_CALL
setCharacterStream(sal_Int32 parameterIndex
, const css::uno::Reference
< css::io::XInputStream
>& x
, sal_Int32 length
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
155 virtual void SAL_CALL
setObject(sal_Int32 parameterIndex
, const css::uno::Any
& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
156 virtual void SAL_CALL
setObjectWithInfo(sal_Int32 parameterIndex
, const css::uno::Any
& x
, sal_Int32 targetSqlType
, sal_Int32 scale
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
157 virtual void SAL_CALL
setRef(sal_Int32 parameterIndex
, const css::uno::Reference
< css::sdbc::XRef
>& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
158 virtual void SAL_CALL
setBlob(sal_Int32 parameterIndex
, const css::uno::Reference
< css::sdbc::XBlob
>& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
159 virtual void SAL_CALL
setClob(sal_Int32 parameterIndex
, const css::uno::Reference
< css::sdbc::XClob
>& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
160 virtual void SAL_CALL
setArray(sal_Int32 parameterIndex
, const css::uno::Reference
< css::sdbc::XArray
>& x
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
161 virtual void SAL_CALL
clearParameters() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
163 // css::sdbc::XRowSet
164 virtual void SAL_CALL
execute() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
165 virtual void SAL_CALL
addRowSetListener(const css::uno::Reference
< css::sdbc::XRowSetListener
>& _rxListener
) throw(css::uno::RuntimeException
, std::exception
) override
;
166 virtual void SAL_CALL
removeRowSetListener(const css::uno::Reference
< css::sdbc::XRowSetListener
>& _rxListener
) throw(css::uno::RuntimeException
, std::exception
) override
;
168 // css::sdbc::XResultSet
169 virtual sal_Bool SAL_CALL
next() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
170 virtual sal_Bool SAL_CALL
isBeforeFirst() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
171 virtual sal_Bool SAL_CALL
isAfterLast() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
172 virtual sal_Bool SAL_CALL
isFirst() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
173 virtual sal_Bool SAL_CALL
isLast() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
174 virtual void SAL_CALL
beforeFirst() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
175 virtual void SAL_CALL
afterLast() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
176 virtual sal_Bool SAL_CALL
first() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
177 virtual sal_Bool SAL_CALL
last() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
178 virtual sal_Int32 SAL_CALL
getRow() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
179 virtual sal_Bool SAL_CALL
absolute(sal_Int32 row
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
180 virtual sal_Bool SAL_CALL
relative(sal_Int32 rows
) throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
181 virtual sal_Bool SAL_CALL
previous() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
182 virtual void SAL_CALL
refreshRow() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
183 virtual sal_Bool SAL_CALL
rowUpdated() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
184 virtual sal_Bool SAL_CALL
rowInserted() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
185 virtual sal_Bool SAL_CALL
rowDeleted() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
186 virtual css::uno::Reference
< css::uno::XInterface
> SAL_CALL
getStatement() throw(css::sdbc::SQLException
, css::uno::RuntimeException
, std::exception
) override
;
189 virtual css::uno::Reference
< css::uno::XInterface
> SAL_CALL
getParent( ) throw (css::uno::RuntimeException
, std::exception
) override
;
190 virtual void SAL_CALL
setParent( const css::uno::Reference
< css::uno::XInterface
>& Parent
) throw (css::lang::NoSupportException
, css::uno::RuntimeException
, std::exception
) override
;
192 // ____ XComplexDescriptionAccess ____
193 virtual css::uno::Sequence
< css::uno::Sequence
< OUString
> > SAL_CALL
getComplexRowDescriptions() throw (css::uno::RuntimeException
, std::exception
) override
;
194 virtual void SAL_CALL
setComplexRowDescriptions( const css::uno::Sequence
< css::uno::Sequence
< OUString
> >& aRowDescriptions
) throw (css::uno::RuntimeException
, std::exception
) override
;
195 virtual css::uno::Sequence
< css::uno::Sequence
< OUString
> > SAL_CALL
getComplexColumnDescriptions() throw (css::uno::RuntimeException
, std::exception
) override
;
196 virtual void SAL_CALL
setComplexColumnDescriptions( const css::uno::Sequence
< css::uno::Sequence
< OUString
> >& aColumnDescriptions
) throw (css::uno::RuntimeException
, std::exception
) override
;
198 // ____ XChartDataArray (base of XComplexDescriptionAccess) ____
199 virtual css::uno::Sequence
< css::uno::Sequence
< double > > SAL_CALL
getData() throw (css::uno::RuntimeException
, std::exception
) override
;
200 virtual void SAL_CALL
setData( const css::uno::Sequence
< css::uno::Sequence
< double > >& aData
) throw (css::uno::RuntimeException
, std::exception
) override
;
201 virtual css::uno::Sequence
< OUString
> SAL_CALL
getRowDescriptions() throw (css::uno::RuntimeException
, std::exception
) override
;
202 virtual void SAL_CALL
setRowDescriptions( const css::uno::Sequence
< OUString
>& aRowDescriptions
) throw (css::uno::RuntimeException
, std::exception
) override
;
203 virtual css::uno::Sequence
< OUString
> SAL_CALL
getColumnDescriptions() throw (css::uno::RuntimeException
, std::exception
) override
;
204 virtual void SAL_CALL
setColumnDescriptions( const css::uno::Sequence
< OUString
>& aColumnDescriptions
) throw (css::uno::RuntimeException
, std::exception
) override
;
206 // ____ XChartData (base of XChartDataArray) ____
207 virtual void SAL_CALL
addChartDataChangeEventListener(const css::uno::Reference
< css::chart::XChartDataChangeEventListener
>& aListener
) throw (css::uno::RuntimeException
, std::exception
) override
;
208 virtual void SAL_CALL
removeChartDataChangeEventListener(const css::uno::Reference
< css::chart::XChartDataChangeEventListener
>& aListener
)throw (css::uno::RuntimeException
, std::exception
) override
;
209 virtual double SAL_CALL
getNotANumber()throw (css::uno::RuntimeException
, std::exception
) override
;
210 virtual sal_Bool SAL_CALL
isNotANumber(double nNumber
)throw (css::uno::RuntimeException
, std::exception
) override
;
212 DatabaseDataProvider(DatabaseDataProvider
&) = delete;
213 void operator =(DatabaseDataProvider
&) = delete;
215 virtual ~DatabaseDataProvider() override
{}
217 // This function is called upon disposing the component,
218 // if your component needs special work when it becomes
219 // disposed, do it here.
220 virtual void SAL_CALL
disposing() override
;
222 void impl_fillRowSet_throw();
223 bool impl_fillParameters_nothrow( ::osl::ResettableMutexGuard
& _rClearForNotifies
);
224 void impl_fillInternalDataProvider_throw(bool _bHasCategories
,const css::uno::Sequence
< OUString
>& i_aColumnNames
);
225 void impl_invalidateParameter_nothrow();
226 css::uno::Any
impl_getNumberFormatKey_nothrow(const OUString
& _sRangeRepresentation
) const;
228 template <typename T
> void set( const OUString
& _sProperty
234 ::osl::MutexGuard
aGuard(m_aMutex
);
235 if ( _member
!= Value
)
237 prepareSet(_sProperty
, css::uno::makeAny(_member
), css::uno::makeAny(Value
), &l
);
244 ::dbtools::ParameterManager m_aParameterManager
;
245 ::dbtools::FilterManager m_aFilterManager
;
246 ::std::map
< OUString
, css::uno::Any
> m_aNumberFormats
;
248 css::uno::Reference
< css::uno::XComponentContext
> m_xContext
;
249 css::uno::Reference
< css::sdbc::XConnection
> m_xActiveConnection
;
250 css::uno::Reference
< css::sdbc::XRowSet
> m_xRowSet
;
251 css::uno::Reference
< css::chart2::XInternalDataProvider
> m_xInternal
;
252 css::uno::Reference
< css::chart::XComplexDescriptionAccess
> m_xComplexDescriptionAccess
;
253 css::uno::Reference
< css::chart2::data::XRangeXMLConversion
> m_xRangeConversion
;
254 css::uno::Reference
< css::task::XInteractionHandler
> m_xHandler
;
255 // the object doin' most of the work - an SDB-rowset
256 css::uno::Reference
< css::uno::XAggregation
> m_xAggregate
;
257 css::uno::Reference
< css::beans::XPropertySet
> m_xAggregateSet
;
258 css::uno::Reference
< css::uno::XInterface
> m_xParent
;
259 css::uno::Sequence
< OUString
> m_MasterFields
;
260 css::uno::Sequence
< OUString
> m_DetailFields
;
263 OUString m_DataSourceName
;
264 sal_Int32 m_CommandType
;
265 sal_Int32 m_RowLimit
;
267 OUString m_HavingClause
;
270 bool m_EscapeProcessing
;
274 } // namespace dbaccess
276 #endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_DATABASEDATAPROVIDER_HXX
278 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */