LibreOffice Module ucb (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CachedDynamicResultSet Class Reference

#include <cacheddynamicresultset.hxx>

Inheritance diagram for CachedDynamicResultSet:
[legend]
Collaboration diagram for CachedDynamicResultSet:
[legend]

Public Member Functions

 CachedDynamicResultSet (css::uno::Reference< css::ucb::XDynamicResultSet > const &xOrigin, const css::uno::Reference< css::ucb::XContentIdentifierMapping > &xContentMapping, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~CachedDynamicResultSet () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void impl_disposing (const css::lang::EventObject &Source) override
 
- Public Member Functions inherited from DynamicResultSetWrapper
 DynamicResultSetWrapper (css::uno::Reference< css::ucb::XDynamicResultSet > const &xOrigin, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~DynamicResultSetWrapper () 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
 
virtual void SAL_CALL connectToCache (const css::uno::Reference< css::ucb::XDynamicResultSet > &xCache) override
 
virtual sal_Int16 SAL_CALL getCapabilities () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override
 
virtual void SAL_CALL setSource (const css::uno::Reference< css::uno::XInterface > &Source) override
 
void impl_notify (const css::ucb::ListEvent &Changes)
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Protected Member Functions

virtual void impl_InitResultSetOne (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet) override
 
virtual void impl_InitResultSetTwo (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet) override
 
- Protected Member Functions inherited from DynamicResultSetWrapper
void impl_init ()
 
void impl_deinit ()
 
void impl_EnsureNotDisposed ()
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Private Attributes

css::uno::Reference< css::ucb::XContentIdentifierMapping > m_xContentIdentifierMapping
 

Additional Inherited Members

- Protected Attributes inherited from DynamicResultSetWrapper
rtl::Reference< DynamicResultSetWrapperListenerm_xMyListenerImpl
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
osl::Mutex m_aMutex
 
bool m_bStatic
 
bool m_bGotWelcome
 
css::uno::Reference< css::ucb::XDynamicResultSet > m_xSource
 
css::uno::Reference< css::sdbc::XResultSet > m_xSourceResultOne
 
css::uno::Reference< css::sdbc::XResultSet > m_xSourceResultTwo
 
css::uno::Reference< css::sdbc::XResultSet > m_xMyResultOne
 
css::uno::Reference< css::sdbc::XResultSet > m_xMyResultTwo
 
css::uno::Reference< css::ucb::XDynamicResultSetListener > m_xListener
 
osl::Condition m_aSourceSet
 
osl::Condition m_aListenerSet
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 31 of file cacheddynamicresultset.hxx.

Constructor & Destructor Documentation

CachedDynamicResultSet::CachedDynamicResultSet ( css::uno::Reference< css::ucb::XDynamicResultSet > const &  xOrigin,
const css::uno::Reference< css::ucb::XContentIdentifierMapping > &  xContentMapping,
const css::uno::Reference< css::uno::XComponentContext > &  xContext 
)

Definition at line 35 of file cacheddynamicresultset.cxx.

References DynamicResultSetWrapper::impl_init().

CachedDynamicResultSet::~CachedDynamicResultSet ( )
overridevirtual

Definition at line 45 of file cacheddynamicresultset.cxx.

References DynamicResultSetWrapper::impl_deinit().

Member Function Documentation

void SAL_CALL CachedDynamicResultSet::acquire ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 80 of file cacheddynamicresultset.cxx.

virtual css::uno::Sequence< sal_Int8 > SAL_CALL CachedDynamicResultSet::getImplementationId ( )
overridevirtual
OUString SAL_CALL CachedDynamicResultSet::getImplementationName ( )
overridevirtual

Definition at line 122 of file cacheddynamicresultset.cxx.

css::uno::Sequence< OUString > SAL_CALL CachedDynamicResultSet::getSupportedServiceNames ( )
overridevirtual

Definition at line 132 of file cacheddynamicresultset.cxx.

References CACHED_DRS_SERVICE_NAME.

virtual css::uno::Sequence< css::uno::Type > SAL_CALL CachedDynamicResultSet::getTypes ( )
overridevirtual
void CachedDynamicResultSet::impl_disposing ( const css::lang::EventObject &  Source)
overridevirtual
Exceptions
css::uno::RuntimeException

Reimplemented from DynamicResultSetWrapper.

Definition at line 142 of file cacheddynamicresultset.cxx.

References DynamicResultSetWrapper::impl_disposing().

void CachedDynamicResultSet::impl_InitResultSetOne ( const css::uno::Reference< css::sdbc::XResultSet > &  xResultSet)
overrideprotectedvirtual
void CachedDynamicResultSet::impl_InitResultSetTwo ( const css::uno::Reference< css::sdbc::XResultSet > &  xResultSet)
overrideprotectedvirtual
Any SAL_CALL CachedDynamicResultSet::queryInterface ( const css::uno::Type &  rType)
overridevirtual
void SAL_CALL CachedDynamicResultSet::release ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 86 of file cacheddynamicresultset.cxx.

sal_Bool SAL_CALL CachedDynamicResultSet::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 127 of file cacheddynamicresultset.cxx.

References cppu::supportsService().

Member Data Documentation

css::uno::Reference< css::ucb::XContentIdentifierMapping > CachedDynamicResultSet::m_xContentIdentifierMapping
private

Definition at line 37 of file cacheddynamicresultset.hxx.


The documentation for this class was generated from the following files: