LibreOffice Module ucb (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
tdoc_ucp::ResultSetDataSupplier Class Reference

#include <tdoc_datasupplier.hxx>

Inheritance diagram for tdoc_ucp::ResultSetDataSupplier:
[legend]
Collaboration diagram for tdoc_ucp::ResultSetDataSupplier:
[legend]

Classes

struct  ResultListEntry
 

Public Member Functions

 ResultSetDataSupplier (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const rtl::Reference< Content > &rContent)
 
virtual ~ResultSetDataSupplier () override
 
virtual OUString queryContentIdentifierString (sal_uInt32 nIndex) override
 
virtual css::uno::Reference< css::ucb::XContentIdentifier > queryContentIdentifier (sal_uInt32 nIndex) override
 
virtual css::uno::Reference< css::ucb::XContent > queryContent (sal_uInt32 nIndex) override
 
virtual bool getResult (sal_uInt32 nIndex) override
 
virtual sal_uInt32 totalCount () override
 
virtual sal_uInt32 currentCount () override
 
virtual bool isCountFinal () override
 
virtual css::uno::Reference< css::sdbc::XRow > queryPropertyValues (sal_uInt32 nIndex) override
 
virtual void releasePropertyValues (sal_uInt32 nIndex) override
 
virtual void close () override
 
virtual void validate () override
 
- Public Member Functions inherited from ucbhelper::ResultSetDataSupplier
 ResultSetDataSupplier ()
 
rtl::Reference< ResultSetgetResultSet () const
 

Private Member Functions

bool queryNamesOfChildren ()
 
OUString assembleChildURL (std::u16string_view aName)
 

Private Attributes

osl::Mutex m_aMutex
 
std::vector< ResultListEntrym_aResults
 
rtl::Reference< Contentm_xContent
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
std::optional< css::uno::Sequence< OUString > > m_xNamesOfChildren
 
bool m_bCountFinal
 
bool m_bThrowException
 

Detailed Description

Definition at line 34 of file tdoc_datasupplier.hxx.

Constructor & Destructor Documentation

tdoc_ucp::ResultSetDataSupplier::ResultSetDataSupplier ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const rtl::Reference< Content > &  rContent 
)
ResultSetDataSupplier::~ResultSetDataSupplier ( )
overridevirtual

Definition at line 67 of file tdoc_datasupplier.cxx.

Member Function Documentation

OUString ResultSetDataSupplier::assembleChildURL ( std::u16string_view  aName)
private

Definition at line 367 of file tdoc_datasupplier.cxx.

References aURL, and m_xContent.

Referenced by getResult(), and totalCount().

void ResultSetDataSupplier::close ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 331 of file tdoc_datasupplier.cxx.

sal_uInt32 ResultSetDataSupplier::currentCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 280 of file tdoc_datasupplier.cxx.

References m_aResults.

bool ResultSetDataSupplier::getResult ( sal_uInt32  nIndex)
overridevirtual
bool ResultSetDataSupplier::isCountFinal ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 286 of file tdoc_datasupplier.cxx.

References m_bCountFinal.

uno::Reference< ucb::XContent > ResultSetDataSupplier::queryContent ( sal_uInt32  nIndex)
overridevirtual
uno::Reference< ucb::XContentIdentifier > ResultSetDataSupplier::queryContentIdentifier ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 97 of file tdoc_datasupplier.cxx.

References aId, m_aMutex, m_aResults, queryContentIdentifierString(), and xId.

Referenced by queryContent().

OUString ResultSetDataSupplier::queryContentIdentifierString ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 73 of file tdoc_datasupplier.cxx.

References aId, getResult(), m_aMutex, and m_aResults.

Referenced by queryContentIdentifier(), and queryPropertyValues().

bool ResultSetDataSupplier::queryNamesOfChildren ( )
private

Definition at line 342 of file tdoc_datasupplier.cxx.

References m_aMutex, m_bThrowException, m_xContent, and m_xNamesOfChildren.

Referenced by getResult(), and totalCount().

uno::Reference< sdbc::XRow > ResultSetDataSupplier::queryPropertyValues ( sal_uInt32  nIndex)
overridevirtual
void ResultSetDataSupplier::releasePropertyValues ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 322 of file tdoc_datasupplier.cxx.

References m_aMutex, m_aResults, and xRow.

sal_uInt32 ResultSetDataSupplier::totalCount ( )
overridevirtual
void ResultSetDataSupplier::validate ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 336 of file tdoc_datasupplier.cxx.

References m_bThrowException.

Member Data Documentation

osl::Mutex tdoc_ucp::ResultSetDataSupplier::m_aMutex
private
std::vector< ResultListEntry > tdoc_ucp::ResultSetDataSupplier::m_aResults
private
bool tdoc_ucp::ResultSetDataSupplier::m_bCountFinal
private

Definition at line 51 of file tdoc_datasupplier.hxx.

Referenced by getResult(), isCountFinal(), and totalCount().

bool tdoc_ucp::ResultSetDataSupplier::m_bThrowException
private

Definition at line 52 of file tdoc_datasupplier.hxx.

Referenced by queryNamesOfChildren(), and validate().

rtl::Reference< Content > tdoc_ucp::ResultSetDataSupplier::m_xContent
private
css::uno::Reference< css::uno::XComponentContext > tdoc_ucp::ResultSetDataSupplier::m_xContext
private

Definition at line 49 of file tdoc_datasupplier.hxx.

Referenced by queryPropertyValues().

std::optional<css::uno::Sequence< OUString > > tdoc_ucp::ResultSetDataSupplier::m_xNamesOfChildren
private

Definition at line 50 of file tdoc_datasupplier.hxx.

Referenced by getResult(), queryNamesOfChildren(), and totalCount().


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