LibreOffice Module ucb (master) 1
|
#include <tdoc_datasupplier.hxx>
Classes | |
struct | ResultListEntry |
Public Member Functions | |
ResultSetDataSupplier (css::uno::Reference< css::uno::XComponentContext > xContext, rtl::Reference< Content > xContent) | |
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< ResultSet > | getResultSet () 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 | |
bool | queryNamesOfChildren (std::unique_lock< std::mutex > &rGuard) |
OUString | assembleChildURL (std::u16string_view aName) |
OUString | queryContentIdentifierStringImpl (std::unique_lock< std::mutex > &rGuard, sal_uInt32 nIndex) |
css::uno::Reference< css::ucb::XContentIdentifier > | queryContentIdentifierImpl (std::unique_lock< std::mutex > &rGuard, sal_uInt32 nIndex) |
bool | getResultImpl (std::unique_lock< std::mutex > &rGuard, sal_uInt32 nIndex) |
Private Attributes | |
std::mutex | m_aMutex |
std::vector< ResultListEntry > | m_aResults |
rtl::Reference< Content > | m_xContent |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
std::optional< css::uno::Sequence< OUString > > | m_xNamesOfChildren |
bool | m_bCountFinal |
bool | m_bThrowException |
Definition at line 35 of file tdoc_datasupplier.hxx.
tdoc_ucp::ResultSetDataSupplier::ResultSetDataSupplier | ( | css::uno::Reference< css::uno::XComponentContext > | xContext, |
rtl::Reference< Content > | xContent | ||
) |
|
overridevirtual |
Definition at line 67 of file tdoc_datasupplier.cxx.
|
private |
Definition at line 381 of file tdoc_datasupplier.cxx.
References aName, aURL, and m_xContent.
Referenced by getResultImpl(), and totalCount().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 347 of file tdoc_datasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 296 of file tdoc_datasupplier.cxx.
References m_aResults.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 170 of file tdoc_datasupplier.cxx.
References getResultImpl(), m_aMutex, and nIndex.
Referenced by queryContentIdentifierStringImpl().
|
private |
Definition at line 176 of file tdoc_datasupplier.cxx.
References assembleChildURL(), aURL, ucbhelper::ResultSetDataSupplier::getResultSet(), m_aResults, m_bCountFinal, m_xNamesOfChildren, n, nIndex, and queryNamesOfChildren().
Referenced by getResult(), and queryPropertyValues().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 302 of file tdoc_datasupplier.cxx.
References m_bCountFinal.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 135 of file tdoc_datasupplier.cxx.
References m_aMutex, m_aResults, m_xContent, nIndex, and queryContentIdentifierImpl().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 102 of file tdoc_datasupplier.cxx.
References m_aMutex, nIndex, and queryContentIdentifierImpl().
|
private |
Definition at line 109 of file tdoc_datasupplier.cxx.
References m_aResults, nIndex, and queryContentIdentifierStringImpl().
Referenced by queryContent(), and queryContentIdentifier().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 73 of file tdoc_datasupplier.cxx.
References m_aMutex, nIndex, and queryContentIdentifierStringImpl().
|
private |
Definition at line 80 of file tdoc_datasupplier.cxx.
References getResult(), m_aResults, and nIndex.
Referenced by queryContentIdentifierImpl(), queryContentIdentifierString(), and queryPropertyValues().
|
private |
Definition at line 358 of file tdoc_datasupplier.cxx.
References m_bThrowException, m_xContent, and m_xNamesOfChildren.
Referenced by getResultImpl(), and totalCount().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 309 of file tdoc_datasupplier.cxx.
References tdoc_ucp::Content::getPropertyValues(), getResultImpl(), ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_aResults, m_xContent, m_xContext, nIndex, and queryContentIdentifierStringImpl().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 338 of file tdoc_datasupplier.cxx.
References m_aMutex, m_aResults, and nIndex.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 246 of file tdoc_datasupplier.cxx.
References assembleChildURL(), aURL, ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_aResults, m_bCountFinal, m_xNamesOfChildren, n, and queryNamesOfChildren().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 352 of file tdoc_datasupplier.cxx.
References m_bThrowException.
|
private |
Definition at line 47 of file tdoc_datasupplier.hxx.
Referenced by getResult(), queryContent(), queryContentIdentifier(), queryContentIdentifierString(), queryPropertyValues(), releasePropertyValues(), and totalCount().
|
private |
Definition at line 48 of file tdoc_datasupplier.hxx.
Referenced by currentCount(), getResultImpl(), queryContent(), queryContentIdentifierImpl(), queryContentIdentifierStringImpl(), queryPropertyValues(), releasePropertyValues(), and totalCount().
|
private |
Definition at line 52 of file tdoc_datasupplier.hxx.
Referenced by getResultImpl(), isCountFinal(), and totalCount().
|
private |
Definition at line 53 of file tdoc_datasupplier.hxx.
Referenced by queryNamesOfChildren(), and validate().
|
private |
Definition at line 49 of file tdoc_datasupplier.hxx.
Referenced by assembleChildURL(), queryContent(), queryNamesOfChildren(), and queryPropertyValues().
|
private |
Definition at line 50 of file tdoc_datasupplier.hxx.
Referenced by queryPropertyValues().
|
private |
Definition at line 51 of file tdoc_datasupplier.hxx.
Referenced by getResultImpl(), queryNamesOfChildren(), and totalCount().