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 () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
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::Any SAL_CALL queryInterface (const css::uno::Type &rType) 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
 
virtual void impl_disposing (const css::lang::EventObject &Source)
 
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::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
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 ()
 
virtual void impl_InitResultSetOne (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet)
 
virtual void impl_InitResultSetTwo (const css::uno::Reference< css::sdbc::XResultSet > &xResultSet)
 
- 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
 
std::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 30 of file cacheddynamicresultset.hxx.

Constructor & Destructor Documentation

◆ CachedDynamicResultSet()

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 33 of file cacheddynamicresultset.cxx.

References DynamicResultSetWrapper::impl_init().

◆ ~CachedDynamicResultSet()

CachedDynamicResultSet::~CachedDynamicResultSet ( )
overridevirtual

Definition at line 43 of file cacheddynamicresultset.cxx.

References DynamicResultSetWrapper::impl_deinit().

Member Function Documentation

◆ acquire()

void SAL_CALL CachedDynamicResultSet::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 78 of file cacheddynamicresultset.cxx.

◆ getImplementationId()

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

◆ getImplementationName()

OUString SAL_CALL CachedDynamicResultSet::getImplementationName ( )
overridevirtual

Definition at line 120 of file cacheddynamicresultset.cxx.

◆ getSupportedServiceNames()

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

Definition at line 130 of file cacheddynamicresultset.cxx.

◆ getTypes()

virtual css::uno::Sequence< css::uno::Type > SAL_CALL CachedDynamicResultSet::getTypes ( )
overridevirtual

◆ impl_disposing()

void CachedDynamicResultSet::impl_disposing ( const css::lang::EventObject &  Source)
overridevirtual
Exceptions
css::uno::RuntimeException

Reimplemented from DynamicResultSetWrapper.

Definition at line 139 of file cacheddynamicresultset.cxx.

References DynamicResultSetWrapper::impl_disposing(), m_xContentIdentifierMapping, and Source.

◆ impl_InitResultSetOne()

void CachedDynamicResultSet::impl_InitResultSetOne ( const css::uno::Reference< css::sdbc::XResultSet > &  xResultSet)
overrideprotectedvirtual

◆ impl_InitResultSetTwo()

void CachedDynamicResultSet::impl_InitResultSetTwo ( const css::uno::Reference< css::sdbc::XResultSet > &  xResultSet)
overrideprotectedvirtual

◆ queryInterface()

Any SAL_CALL CachedDynamicResultSet::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ release()

void SAL_CALL CachedDynamicResultSet::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 84 of file cacheddynamicresultset.cxx.

◆ supportsService()

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

Definition at line 125 of file cacheddynamicresultset.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_xContentIdentifierMapping

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

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