22#include <rtl/ustring.hxx>
25#include <com/sun/star/lang/XComponent.hpp>
26#include <com/sun/star/sdbc/XCloseable.hpp>
27#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
28#include <com/sun/star/sdbc/XResultSet.hpp>
29#include <com/sun/star/sdbc/XRow.hpp>
30#include <com/sun/star/ucb/XContentAccess.hpp>
31#include <com/sun/star/beans/XPropertySet.hpp>
40 ,
public css::lang::XComponent
41 ,
public css::sdbc::XCloseable
42 ,
public css::sdbc::XResultSetMetaDataSupplier
43 ,
public css::beans::XPropertySet
44 ,
public css::ucb::XContentAccess
45 ,
public css::sdbc::XResultSet
46 ,
public css::sdbc::XRow
60 css::uno::Reference< css::sdbc::XResultSet >
62 css::uno::Reference< css::sdbc::XRow >
65 css::uno::Reference< css::ucb::XContentAccess >
68 css::uno::Reference< css::beans::XPropertySet >
72 css::uno::Reference< css::beans::XPropertySetInfo >
82 css::uno::Reference< css::sdbc::XResultSetMetaData >
127 std::unique_lock<std::mutex>& rGuard,
128 const css::beans::PropertyChangeEvent& rEvt );
134 std::unique_lock<std::mutex>& rGuard,
135 const css::beans::PropertyChangeEvent& rEvt );
144 virtual css::uno::Any SAL_CALL
150 virtual void SAL_CALL
153 virtual
void SAL_CALL
154 addEventListener( const css::
uno::Reference< css::lang::XEventListener >& Listener ) override;
156 virtual
void SAL_CALL
162 virtual
void SAL_CALL
168 virtual css::
uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL
174 virtual css::
uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
176 css::
uno::Reference< css::beans::XPropertySetInfo >
179 virtual
void SAL_CALL
181 const css::
uno::Any& aValue ) final override;
184 const css::
uno::Any& aValue );
186 virtual css::
uno::Any SAL_CALL
189 virtual
void SAL_CALL
191 const css::
uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
193 virtual
void SAL_CALL
195 const css::
uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
197 virtual
void SAL_CALL
199 const css::
uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
201 virtual
void SAL_CALL
203 const css::
uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
224 virtual OUString SAL_CALL
229 virtual css::
uno::Reference< css::
ucb::XContentIdentifier > SAL_CALL
232 virtual css::
uno::Reference< css::
ucb::XContent > SAL_CALL
248 virtual
void SAL_CALL
250 virtual
void SAL_CALL
256 virtual sal_Int32 SAL_CALL
261 relative( sal_Int32 rows ) override;
264 virtual
void SAL_CALL
272 virtual css::
uno::Reference<
282 virtual OUString SAL_CALL
283 getString( sal_Int32 columnIndex ) override;
289 getByte( sal_Int32 columnIndex ) override;
291 virtual sal_Int16 SAL_CALL
292 getShort( sal_Int32 columnIndex ) override;
294 virtual sal_Int32 SAL_CALL
295 getInt( sal_Int32 columnIndex ) override;
297 virtual sal_Int64 SAL_CALL
298 getLong( sal_Int32 columnIndex ) override;
300 virtual
float SAL_CALL
301 getFloat( sal_Int32 columnIndex ) override;
303 virtual
double SAL_CALL
304 getDouble( sal_Int32 columnIndex ) override;
307 getBytes( sal_Int32 columnIndex ) override;
309 virtual css::util::
Date SAL_CALL
310 getDate( sal_Int32 columnIndex ) override;
312 virtual css::util::Time SAL_CALL
313 getTime( sal_Int32 columnIndex ) override;
315 virtual css::util::
DateTime SAL_CALL
318 virtual css::
uno::Reference< css::io::XInputStream > SAL_CALL
321 virtual css::
uno::Reference< css::io::XInputStream > SAL_CALL
324 virtual css::
uno::Any SAL_CALL
326 const css::
uno::Reference< css::container::XNameAccess >& typeMap ) override;
328 virtual css::
uno::Reference< css::sdbc::XRef > SAL_CALL
329 getRef( sal_Int32 columnIndex ) override;
331 virtual css::
uno::Reference< css::sdbc::XBlob > SAL_CALL
332 getBlob( sal_Int32 columnIndex ) override;
334 virtual css::
uno::Reference< css::sdbc::XClob > SAL_CALL
335 getClob( sal_Int32 columnIndex ) override;
337 virtual css::
uno::Reference< css::sdbc::XArray > SAL_CALL
338 getArray( sal_Int32 columnIndex ) override;
344 , public css::beans::XPropertyChangeListener
345 , public css::beans::XVetoableChangeListener
356 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
357 virtual void SAL_CALL
acquire()
359 virtual
void SAL_CALL
release()
364 virtual
void SAL_CALL
365 disposing( const css::lang::EventObject& Source ) override;
370 virtual
void SAL_CALL
371 propertyChange( const css::beans::PropertyChangeEvent& evt ) override;
376 virtual
void SAL_CALL
377 vetoableChange( const css::beans::PropertyChangeEvent& aEvent ) override;
381 void impl_OwnerDies();
ContentResultSetWrapper * m_pOwner
virtual void impl_disposing(const css::lang::EventObject &Source)
virtual sal_Bool SAL_CALL first() override
virtual sal_Bool SAL_CALL isLast() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
ContentResultSetWrapper(css::uno::Reference< css::sdbc::XResultSet > const &xOrigin)
virtual void SAL_CALL dispose() override final
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray(sal_Int32 columnIndex) override
css::uno::Reference< css::sdbc::XResultSet > m_xResultSetOrigin
void impl_notifyVetoableChangeListeners(std::unique_lock< std::mutex > &rGuard, const css::beans::PropertyChangeEvent &rEvt)
VetoableChangeListenerContainer_Impl m_aVetoableChangeListeners
virtual sal_Bool SAL_CALL absolute(sal_Int32 row) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) final override
void impl_EnsureNotDisposed(std::unique_lock< std::mutex > &rGuard)
virtual void SAL_CALL afterLast() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aDisposeEventListeners
In dispose call.
virtual sal_Int16 SAL_CALL getShort(sal_Int32 columnIndex) override
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaDataFromOrigin
virtual sal_Int64 SAL_CALL getLong(sal_Int32 columnIndex) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual OUString SAL_CALL queryContentIdentifierString() override final
virtual sal_Bool SAL_CALL rowDeleted() override
virtual css::uno::Any SAL_CALL getObject(sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent() override
css::uno::Reference< css::beans::XPropertySetInfo > m_xPropertySetInfo
! call impl_init_xPropertySetOrigin() bevor you access this member
virtual sal_Bool SAL_CALL rowInserted() override
virtual sal_Bool SAL_CALL getBoolean(sal_Int32 columnIndex) override
virtual ~ContentResultSetWrapper() override
virtual sal_Bool SAL_CALL relative(sal_Int32 rows) override
virtual OUString queryContentIdentifierStringImpl(std::unique_lock< std::mutex > &rGuard)
virtual sal_Bool SAL_CALL isAfterLast() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void setPropertyValueImpl(std::unique_lock< std::mutex > &rGuard, const OUString &aPropertyName, const css::uno::Any &aValue)
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &Listener) override
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream(sal_Int32 columnIndex) override
virtual void SAL_CALL refreshRow() override
virtual sal_Bool SAL_CALL next() override
virtual sal_Bool SAL_CALL isBeforeFirst() override
rtl::Reference< ContentResultSetWrapperListener > m_xMyListenerImpl
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual OUString SAL_CALL getString(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL queryContentIdentifier() override
virtual sal_Bool SAL_CALL wasNull() override
virtual void impl_propertyChange(const css::beans::PropertyChangeEvent &evt)
css::uno::Reference< css::beans::XPropertySet > m_xPropertySetOrigin
! call impl_init_xContentAccessOrigin() bevor you access this member
virtual void SAL_CALL close() override
virtual css::util::Date SAL_CALL getDate(sal_Int32 columnIndex) override
css::uno::Reference< css::sdbc::XRow > m_xRowOrigin
comphelper::OMultiTypeInterfaceContainerHelperVar4< OUString, css::beans::XPropertyChangeListener > PropertyChangeListenerContainer_Impl
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef(sal_Int32 columnIndex) override
PropertyChangeListenerContainer_Impl m_aPropertyChangeListeners
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes(sal_Int32 columnIndex) override
virtual css::util::DateTime SAL_CALL getTimestamp(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob(sal_Int32 columnIndex) override
virtual sal_Int8 SAL_CALL getByte(sal_Int32 columnIndex) override
virtual sal_Bool SAL_CALL last() override
virtual sal_Bool SAL_CALL rowUpdated() override
void impl_init_xPropertySetOrigin(std::unique_lock< std::mutex > &)
comphelper::OMultiTypeInterfaceContainerHelperVar4< OUString, css::beans::XVetoableChangeListener > VetoableChangeListenerContainer_Impl
css::uno::Reference< css::beans::XPropertySetInfo > getPropertySetInfoImpl(std::unique_lock< std::mutex > &rGuard)
bool impl_isForwardOnly(std::unique_lock< std::mutex > &rGuard)
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream(sal_Int32 columnIndex) override
void impl_init_xRowOrigin(std::unique_lock< std::mutex > &)
void impl_notifyPropertyChangeListeners(std::unique_lock< std::mutex > &rGuard, const css::beans::PropertyChangeEvent &rEvt)
virtual css::util::Time SAL_CALL getTime(sal_Int32 columnIndex) override
void impl_init_xContentAccessOrigin(std::unique_lock< std::mutex > &)
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob(sal_Int32 columnIndex) override
virtual sal_Int32 SAL_CALL getInt(sal_Int32 columnIndex) override
virtual void impl_vetoableChange(const css::beans::PropertyChangeEvent &aEvent)
css::uno::Reference< css::ucb::XContentAccess > m_xContentAccessOrigin
! call impl_init_xRowOrigin() bevor you access this member
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override final
virtual double SAL_CALL getDouble(sal_Int32 columnIndex) override
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData() override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &Listener) override
virtual sal_Bool SAL_CALL previous() override
bool m_bInDispose
Dispose call ready.
virtual sal_Int32 SAL_CALL getRow() override
virtual sal_Bool SAL_CALL isFirst() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getStatement() override
virtual void SAL_CALL beforeFirst() override
virtual float SAL_CALL getFloat(sal_Int32 columnIndex) override
virtual void impl_initPropertySetInfo(std::unique_lock< std::mutex > &rGuard)
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE