LibreOffice Module ucb (master) 1
|
#include <ucpext_datasupplier.hxx>
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< 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 |
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< ResultListEntry > | ResultList |
Private Attributes | |
std::mutex | m_aMutex |
ResultList | m_aResults |
::rtl::Reference< Content > | m_xContent |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
Definition at line 40 of file ucpext_datasupplier.hxx.
|
private |
Definition at line 78 of file ucpext_datasupplier.hxx.
ucb::ucp::ext::DataSupplier::DataSupplier | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
rtl::Reference< Content > | xContent | ||
) |
|
overrideprotectedvirtual |
Definition at line 147 of file ucpext_datasupplier.cxx.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 301 of file ucpext_datasupplier.cxx.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 239 of file ucpext_datasupplier.cxx.
void ucb::ucp::ext::DataSupplier::fetchData | ( | ) |
Definition at line 88 of file ucpext_datasupplier.cxx.
References ucbhelper::Content::createCursor(), DBG_UNHANDLED_EXCEPTION, ucb::ucp::ext::E_EXTENSION_CONTENT, ucb::ucp::ext::E_EXTENSION_ROOT, ucb::ucp::ext::E_ROOT, Exception, getEnvironment(), m_xContent, m_xContext, SAL_WARN, and ucb::ucp::ext::DataSupplier::ResultListEntry::sId.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 223 of file ucpext_datasupplier.cxx.
References m_aMutex.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 245 of file ucpext_datasupplier.cxx.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 191 of file ucpext_datasupplier.cxx.
References DBG_UNHANDLED_EXCEPTION, ENSURE_OR_RETURN, m_aMutex, and m_xContent.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 168 of file ucpext_datasupplier.cxx.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 152 of file ucpext_datasupplier.cxx.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 251 of file ucpext_datasupplier.cxx.
References ucb::ucp::ext::E_EXTENSION_CONTENT, ucb::ucp::ext::E_EXTENSION_ROOT, ucb::ucp::ext::E_ROOT, ENSURE_OR_RETURN, getEnvironment(), m_aMutex, m_xContent, m_xContext, and sId.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 292 of file ucpext_datasupplier.cxx.
References m_aMutex.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 232 of file ucpext_datasupplier.cxx.
References m_aMutex.
|
overrideprotectedvirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 306 of file ucpext_datasupplier.cxx.
|
private |
Definition at line 79 of file ucpext_datasupplier.hxx.
|
private |
Definition at line 80 of file ucpext_datasupplier.hxx.
|
private |
Definition at line 81 of file ucpext_datasupplier.hxx.
|
private |
Definition at line 82 of file ucpext_datasupplier.hxx.