23#include <osl/conditn.hxx>
26#include <com/sun/star/ucb/XDynamicResultSet.hpp>
27#include <com/sun/star/ucb/XSourceInitialization.hpp>
28#include <com/sun/star/ucb/XDynamicResultSetListener.hpp>
29#include <com/sun/star/uno/XComponentContext.hpp>
37 ,
public css::ucb::XDynamicResultSet
38 ,
public css::ucb::XSourceInitialization
50 css::uno::Reference< css::uno::XComponentContext >
58 css::uno::Reference< css::ucb::XDynamicResultSet >
60 css::uno::Reference< css::sdbc::XResultSet >
62 css::uno::Reference< css::sdbc::XResultSet >
65 css::uno::Reference< css::sdbc::XResultSet >
67 css::uno::Reference< css::sdbc::XResultSet >
70 css::uno::Reference< css::ucb::XDynamicResultSetListener >
86 css::sdbc::XResultSet >& xResultSet );
89 css::sdbc::XResultSet >& xResultSet );
94 css::uno::Reference< css::ucb::XDynamicResultSet >
const & xOrigin
95 ,
const css::uno::Reference< css::uno::XComponentContext > & rxContext );
101 virtual css::uno::Any SAL_CALL
106 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL
109 virtual void SAL_CALL
110 setListener(
const css::uno::Reference< css::ucb::XDynamicResultSetListener > & Listener )
override;
112 virtual void SAL_CALL
113 connectToCache(
const css::uno::Reference< css::ucb::XDynamicResultSet > & xCache )
override;
115 virtual sal_Int16 SAL_CALL
120 virtual void SAL_CALL
123 virtual void SAL_CALL
124 addEventListener(
const css::uno::Reference< css::lang::XEventListener >& Listener )
override;
126 virtual void SAL_CALL
127 removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& Listener )
override;
132 virtual void SAL_CALL
133 setSource(
const css::uno::Reference< css::uno::XInterface > & Source )
override;
149 ,
public css::ucb::XDynamicResultSetListener
161 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
162 virtual void SAL_CALL
acquire()
164 virtual
void SAL_CALL
release()
169 virtual
void SAL_CALL
170 disposing( const css::lang::EventObject& Source ) override;
173 virtual
void SAL_CALL
174 notify( const css::
ucb::ListEvent& Changes ) override;
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual void SAL_CALL acquire() noexcept override
virtual ~DynamicResultSetWrapperListener() override
virtual void SAL_CALL release() noexcept override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
DynamicResultSetWrapper * m_pOwner
virtual void SAL_CALL notify(const css::ucb::ListEvent &Changes) override
DynamicResultSetWrapperListener(DynamicResultSetWrapper *pOwner)
rtl::Reference< DynamicResultSetWrapperListener > m_xMyListenerImpl
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &Listener) override
css::uno::Reference< css::uno::XComponentContext > m_xContext
css::uno::Reference< css::ucb::XDynamicResultSet > m_xSource
virtual ~DynamicResultSetWrapper() override
virtual void impl_InitResultSetTwo(const css::uno::Reference< css::sdbc::XResultSet > &xResultSet)
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
css::uno::Reference< css::ucb::XDynamicResultSetListener > m_xListener
virtual void SAL_CALL dispose() override
virtual void impl_disposing(const css::lang::EventObject &Source)
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aDisposeEventListeners
In dispose call.
virtual void SAL_CALL setSource(const css::uno::Reference< css::uno::XInterface > &Source) override
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getStaticResultSet() override
virtual void SAL_CALL setListener(const css::uno::Reference< css::ucb::XDynamicResultSetListener > &Listener) override
osl::Condition m_aSourceSet
DynamicResultSetWrapper(css::uno::Reference< css::ucb::XDynamicResultSet > const &xOrigin, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
void impl_notify(const css::ucb::ListEvent &Changes)
css::uno::Reference< css::sdbc::XResultSet > m_xMyResultOne
osl::Condition m_aListenerSet
virtual void SAL_CALL connectToCache(const css::uno::Reference< css::ucb::XDynamicResultSet > &xCache) override
virtual sal_Int16 SAL_CALL getCapabilities() override
css::uno::Reference< css::sdbc::XResultSet > m_xSourceResultTwo
css::uno::Reference< css::sdbc::XResultSet > m_xSourceResultOne
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &Listener) override
void impl_EnsureNotDisposed()
css::uno::Reference< css::sdbc::XResultSet > m_xMyResultTwo
bool m_bInDispose
Dispose call ready.
virtual void impl_InitResultSetOne(const css::uno::Reference< css::sdbc::XResultSet > &xResultSet)