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

#include <cmis_datasupplier.hxx>

Inheritance diagram for cmis::DataSupplier:
[legend]
Collaboration diagram for cmis::DataSupplier:
[legend]

Public Member Functions

 DataSupplier (ChildrenProvider *pChildrenProvider, sal_Int32 nOpenMode)
 
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
 
- 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
 

Private Member Functions

void getData ()
 

Private Attributes

ChildrenProviderm_pChildrenProvider
 
sal_Int32 mnOpenMode
 
bool mbCountFinal
 
std::vector< ResultListEntrymaResults
 

Detailed Description

Definition at line 33 of file cmis_datasupplier.hxx.

Constructor & Destructor Documentation

◆ DataSupplier()

cmis::DataSupplier::DataSupplier ( ChildrenProvider pChildrenProvider,
sal_Int32  nOpenMode 
)

Definition at line 22 of file cmis_datasupplier.cxx.

◆ ~DataSupplier()

cmis::DataSupplier::~DataSupplier ( )
overridevirtual

Definition at line 49 of file cmis_datasupplier.cxx.

Member Function Documentation

◆ close()

void cmis::DataSupplier::close ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 147 of file cmis_datasupplier.cxx.

◆ currentCount()

sal_uInt32 cmis::DataSupplier::currentCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 88 of file cmis_datasupplier.cxx.

References maResults.

◆ getData()

void cmis::DataSupplier::getData ( )
private

◆ getResult()

bool cmis::DataSupplier::getResult ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 73 of file cmis_datasupplier.cxx.

References getData(), maResults, and nIndex.

Referenced by queryContent(), and queryPropertyValues().

◆ isCountFinal()

bool cmis::DataSupplier::isCountFinal ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 93 of file cmis_datasupplier.cxx.

References mbCountFinal.

◆ queryContent()

uno::Reference< ucb::XContent > cmis::DataSupplier::queryContent ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 65 of file cmis_datasupplier.cxx.

References getResult(), maResults, and nIndex.

Referenced by queryContentIdentifier(), and queryPropertyValues().

◆ queryContentIdentifier()

uno::Reference< ucb::XContentIdentifier > cmis::DataSupplier::queryContentIdentifier ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 59 of file cmis_datasupplier.cxx.

References nIndex, and queryContent().

Referenced by queryContentIdentifierString().

◆ queryContentIdentifierString()

OUString cmis::DataSupplier::queryContentIdentifierString ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 53 of file cmis_datasupplier.cxx.

References nIndex, and queryContentIdentifier().

◆ queryPropertyValues()

uno::Reference< sdbc::XRow > cmis::DataSupplier::queryPropertyValues ( sal_uInt32  nIndex)
overridevirtual

◆ releasePropertyValues()

void cmis::DataSupplier::releasePropertyValues ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 141 of file cmis_datasupplier.cxx.

References maResults, and nIndex.

◆ totalCount()

sal_uInt32 cmis::DataSupplier::totalCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 82 of file cmis_datasupplier.cxx.

References getData(), and maResults.

◆ validate()

void cmis::DataSupplier::validate ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 151 of file cmis_datasupplier.cxx.

Member Data Documentation

◆ m_pChildrenProvider

ChildrenProvider* cmis::DataSupplier::m_pChildrenProvider
private

Definition at line 36 of file cmis_datasupplier.hxx.

Referenced by getData().

◆ maResults

std::vector< ResultListEntry > cmis::DataSupplier::maResults
private

◆ mbCountFinal

bool cmis::DataSupplier::mbCountFinal
private

Definition at line 38 of file cmis_datasupplier.hxx.

Referenced by getData(), and isCountFinal().

◆ mnOpenMode

sal_Int32 cmis::DataSupplier::mnOpenMode
private

Definition at line 37 of file cmis_datasupplier.hxx.

Referenced by getData().


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