LibreOffice Module ucb (master) 1
Classes | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
ucb::ucp::ext::DataSupplier Class Reference

#include <ucpext_datasupplier.hxx>

Inheritance diagram for ucb::ucp::ext::DataSupplier:
[legend]
Collaboration diagram for ucb::ucp::ext::DataSupplier:
[legend]

Classes

struct  ResultListEntry
 

Public Member Functions

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

Protected Member Functions

virtual ~DataSupplier () 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
 

Private Types

typedef ::std::vector< ResultListEntryResultList
 

Private Attributes

std::mutex m_aMutex
 
ResultList m_aResults
 
::rtl::Reference< Contentm_xContent
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 40 of file ucpext_datasupplier.hxx.

Member Typedef Documentation

◆ ResultList

typedef ::std::vector< ResultListEntry > ucb::ucp::ext::DataSupplier::ResultList
private

Definition at line 78 of file ucpext_datasupplier.hxx.

Constructor & Destructor Documentation

◆ DataSupplier()

ucb::ucp::ext::DataSupplier::DataSupplier ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
rtl::Reference< Content xContent 
)

◆ ~DataSupplier()

ucb::ucp::ext::DataSupplier::~DataSupplier ( )
overrideprotectedvirtual

Definition at line 147 of file ucpext_datasupplier.cxx.

Member Function Documentation

◆ close()

void ucb::ucp::ext::DataSupplier::close ( )
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 301 of file ucpext_datasupplier.cxx.

◆ currentCount()

sal_uInt32 ucb::ucp::ext::DataSupplier::currentCount ( )
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 239 of file ucpext_datasupplier.cxx.

◆ fetchData()

void ucb::ucp::ext::DataSupplier::fetchData ( )

◆ getResult()

bool ucb::ucp::ext::DataSupplier::getResult ( sal_uInt32  nIndex)
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 223 of file ucpext_datasupplier.cxx.

References m_aMutex.

◆ isCountFinal()

bool ucb::ucp::ext::DataSupplier::isCountFinal ( )
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 245 of file ucpext_datasupplier.cxx.

◆ queryContent()

Reference< XContent > ucb::ucp::ext::DataSupplier::queryContent ( sal_uInt32  nIndex)
overrideprotectedvirtual

◆ queryContentIdentifier()

Reference< XContentIdentifier > ucb::ucp::ext::DataSupplier::queryContentIdentifier ( sal_uInt32  nIndex)
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 168 of file ucpext_datasupplier.cxx.

References m_aMutex, and sId.

◆ queryContentIdentifierString()

OUString ucb::ucp::ext::DataSupplier::queryContentIdentifierString ( sal_uInt32  nIndex)
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 152 of file ucpext_datasupplier.cxx.

References m_aMutex, and sId.

◆ queryPropertyValues()

Reference< XRow > ucb::ucp::ext::DataSupplier::queryPropertyValues ( sal_uInt32  nIndex)
overrideprotectedvirtual

◆ releasePropertyValues()

void ucb::ucp::ext::DataSupplier::releasePropertyValues ( sal_uInt32  nIndex)
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 292 of file ucpext_datasupplier.cxx.

References m_aMutex.

◆ totalCount()

sal_uInt32 ucb::ucp::ext::DataSupplier::totalCount ( )
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 232 of file ucpext_datasupplier.cxx.

References m_aMutex.

◆ validate()

void ucb::ucp::ext::DataSupplier::validate ( )
overrideprotectedvirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 306 of file ucpext_datasupplier.cxx.

Member Data Documentation

◆ m_aMutex

std::mutex ucb::ucp::ext::DataSupplier::m_aMutex
private

Definition at line 79 of file ucpext_datasupplier.hxx.

◆ m_aResults

ResultList ucb::ucp::ext::DataSupplier::m_aResults
private

Definition at line 80 of file ucpext_datasupplier.hxx.

◆ m_xContent

::rtl::Reference< Content > ucb::ucp::ext::DataSupplier::m_xContent
private

Definition at line 81 of file ucpext_datasupplier.hxx.

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > ucb::ucp::ext::DataSupplier::m_xContext
private

Definition at line 82 of file ucpext_datasupplier.hxx.


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