LibreOffice Module ucb (master) 1
|
#include <webdavdatasupplier.hxx>
Classes | |
struct | ResultListEntry |
Public Member Functions | |
DataSupplier (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const rtl::Reference< Content > &rContent, 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< 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 Types | |
typedef std::vector< std::unique_ptr< ResultListEntry > > | ResultList |
Private Member Functions | |
bool | getData () |
Private Attributes | |
osl::Mutex | m_aMutex |
ResultList | m_Results |
rtl::Reference< Content > | m_xContent |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
sal_Int32 | m_nOpenMode |
bool | m_bCountFinal |
bool | m_bThrowException |
Definition at line 36 of file webdavdatasupplier.hxx.
|
private |
Definition at line 79 of file webdavdatasupplier.hxx.
http_dav_ucp::DataSupplier::DataSupplier | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
const rtl::Reference< Content > & | rContent, | ||
sal_Int32 | nOpenMode | ||
) |
|
overridevirtual |
Definition at line 90 of file webdavdatasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 289 of file webdavdatasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 232 of file webdavdatasupplier.cxx.
References m_Results.
|
private |
Definition at line 301 of file webdavdatasupplier.cxx.
References http_dav_ucp::DAVONE, http_dav_ucp::DecodeURI(), getEnvironment(), http_dav_ucp::CurlUri::GetPath(), ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_bCountFinal, m_bThrowException, m_nOpenMode, m_Results, m_xContent, n, http_dav_ucp::DAVProperties::RESOURCETYPE, SAL_INFO, TOOLS_WARN_EXCEPTION, http_dav_ucp::ContentProperties::UCBNamesToDAVNames(), and http_dav_ucp::DAVResource::uri.
Referenced by getResult(), and totalCount().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 197 of file webdavdatasupplier.cxx.
References getData(), m_aMutex, m_Results, and nIndex.
Referenced by queryContentIdentifierString(), and queryPropertyValues().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 239 of file webdavdatasupplier.cxx.
References m_bCountFinal.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 161 of file webdavdatasupplier.cxx.
References m_aMutex, m_Results, m_xContent, nIndex, and queryContentIdentifier().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 132 of file webdavdatasupplier.cxx.
References m_aMutex, m_Results, nIndex, and queryContentIdentifierString().
Referenced by queryContent().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 95 of file webdavdatasupplier.cxx.
References getResult(), m_aMutex, m_Results, m_xContent, nIndex, pData, and props.
Referenced by queryContentIdentifier(), and queryPropertyValues().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 246 of file webdavdatasupplier.cxx.
References http_dav_ucp::Content::getPropertyValues(), getResult(), ucbhelper::ResultSetDataSupplier::getResultSet(), m_aMutex, m_Results, m_xContent, m_xContext, nIndex, pData, and queryContentIdentifierString().
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 279 of file webdavdatasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 222 of file webdavdatasupplier.cxx.
|
overridevirtual |
Implements ucbhelper::ResultSetDataSupplier.
Definition at line 295 of file webdavdatasupplier.cxx.
References m_bThrowException.
|
private |
Definition at line 81 of file webdavdatasupplier.hxx.
Referenced by getData(), getResult(), queryContent(), queryContentIdentifier(), queryContentIdentifierString(), queryPropertyValues(), and releasePropertyValues().
|
private |
Definition at line 86 of file webdavdatasupplier.hxx.
Referenced by getData(), and isCountFinal().
|
private |
Definition at line 87 of file webdavdatasupplier.hxx.
Referenced by getData(), and validate().
|
private |
Definition at line 85 of file webdavdatasupplier.hxx.
Referenced by getData().
|
private |
Definition at line 82 of file webdavdatasupplier.hxx.
Referenced by currentCount(), getData(), getResult(), queryContent(), queryContentIdentifier(), queryContentIdentifierString(), queryPropertyValues(), releasePropertyValues(), and totalCount().
|
private |
Definition at line 83 of file webdavdatasupplier.hxx.
Referenced by getData(), queryContent(), queryContentIdentifierString(), and queryPropertyValues().
|
private |
Definition at line 84 of file webdavdatasupplier.hxx.
Referenced by queryPropertyValues().