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
 

Private Member Functions

void getData ()
 

Private Attributes

ChildrenProviderm_pChildrenProvider
 
sal_Int32 const mnOpenMode
 
bool mbCountFinal
 
std::vector< ResultListEntrymaResults
 

Detailed Description

Definition at line 34 of file cmis_datasupplier.hxx.

Constructor & Destructor Documentation

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

Definition at line 22 of file cmis_datasupplier.cxx.

cmis::DataSupplier::~DataSupplier ( )
overridevirtual

Definition at line 49 of file cmis_datasupplier.cxx.

Member Function Documentation

void cmis::DataSupplier::close ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 147 of file cmis_datasupplier.cxx.

sal_uInt32 cmis::DataSupplier::currentCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 88 of file cmis_datasupplier.cxx.

References maResults.

void cmis::DataSupplier::getData ( )
private
bool cmis::DataSupplier::getResult ( sal_uInt32  nIndex)
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 73 of file cmis_datasupplier.cxx.

References getData(), and maResults.

Referenced by queryContent(), and queryPropertyValues().

bool cmis::DataSupplier::isCountFinal ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 93 of file cmis_datasupplier.cxx.

References mbCountFinal.

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(), and maResults.

Referenced by queryContentIdentifier(), and queryPropertyValues().

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

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 59 of file cmis_datasupplier.cxx.

References queryContent().

Referenced by queryContentIdentifierString().

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

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 53 of file cmis_datasupplier.cxx.

References queryContentIdentifier().

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

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 141 of file cmis_datasupplier.cxx.

References maResults.

sal_uInt32 cmis::DataSupplier::totalCount ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 82 of file cmis_datasupplier.cxx.

References getData(), and maResults.

void cmis::DataSupplier::validate ( )
overridevirtual

Implements ucbhelper::ResultSetDataSupplier.

Definition at line 151 of file cmis_datasupplier.cxx.

Member Data Documentation

ChildrenProvider* cmis::DataSupplier::m_pChildrenProvider
private

Definition at line 37 of file cmis_datasupplier.hxx.

Referenced by getData().

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

Definition at line 39 of file cmis_datasupplier.hxx.

Referenced by getData(), and isCountFinal().

sal_Int32 const cmis::DataSupplier::mnOpenMode
private

Definition at line 38 of file cmis_datasupplier.hxx.

Referenced by getData().


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