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

#include <webdavprovider.hxx>

Inheritance diagram for http_dav_ucp::ContentProvider:
[legend]
Collaboration diagram for http_dav_ucp::ContentProvider:
[legend]

Public Member Functions

 ContentProvider (const css::uno::Reference< css::uno::XComponentContext > &rContext)
 
virtual ~ContentProvider () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent (const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier) override
 
bool getProperty (const OUString &rPropName, css::beans::Property &rProp)
 
- Public Member Functions inherited from ucbhelper::ContentProviderImplHelper
 ContentProviderImplHelper (css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual ~ContentProviderImplHelper () override
 
virtual OUString SAL_CALL getImplementationName () override=0
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override=0
 
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent (const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier) override=0
 
virtual sal_Int32 SAL_CALL compareContentIds (const css::uno::Reference< css::ucb::XContentIdentifier > &Id1, const css::uno::Reference< css::ucb::XContentIdentifier > &Id2) override
 
osl::Mutex & getContentListMutex ()
 
void queryExistingContents (ContentRefList &rContents)
 
css::uno::Reference< css::ucb::XPersistentPropertySet > getAdditionalPropertySet (const OUString &rKey, bool bCreate)
 
bool renameAdditionalPropertySet (const OUString &rOldKey, const OUString &rNewKey, bool bRecursive)
 
bool copyAdditionalPropertySet (const OUString &rSourceKey, const OUString &rTargetKey, bool bRecursive)
 
bool removeAdditionalPropertySet (const OUString &rKey, bool bRecursive)
 

Private Attributes

rtl::Reference< DAVSessionFactorym_xDAVSessionFactory
 
std::unique_ptr< PropertyMapm_pProps
 

Additional Inherited Members

- Protected Member Functions inherited from ucbhelper::ContentProviderImplHelper
rtl::Reference< ContentImplHelperqueryExistingContent (const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier)
 
rtl::Reference< ContentImplHelperqueryExistingContent (const OUString &rURL)
 
void registerNewContent (const css::uno::Reference< css::ucb::XContent > &xContent)
 
- Protected Attributes inherited from ucbhelper::ContentProviderImplHelper
osl::Mutex m_aMutex
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 62 of file webdavprovider.hxx.

Constructor & Destructor Documentation

◆ ContentProvider()

http_dav_ucp::ContentProvider::ContentProvider ( const css::uno::Reference< css::uno::XComponentContext > &  rContext)
explicit

◆ ~ContentProvider()

ContentProvider::~ContentProvider ( )
overridevirtual

Definition at line 48 of file webdavprovider.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL ContentProvider::acquire ( )
overridevirtualnoexcept

Definition at line 53 of file webdavprovider.cxx.

◆ getImplementationId()

virtual css::uno::Sequence< sal_Int8 > SAL_CALL http_dav_ucp::ContentProvider::getImplementationId ( )
overridevirtual

◆ getImplementationName()

OUString ContentProvider::getImplementationName ( )
overridevirtual

Implements ucbhelper::ContentProviderImplHelper.

Definition at line 85 of file webdavprovider.cxx.

◆ getProperty()

bool ContentProvider::getProperty ( const OUString &  rPropName,
css::beans::Property &  rProp 
)

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > ContentProvider::getSupportedServiceNames ( )
overridevirtual

◆ getTypes()

virtual css::uno::Sequence< css::uno::Type > SAL_CALL http_dav_ucp::ContentProvider::getTypes ( )
overridevirtual

◆ queryContent()

virtual css::uno::Reference< css::ucb::XContent > SAL_CALL http_dav_ucp::ContentProvider::queryContent ( const css::uno::Reference< css::ucb::XContentIdentifier > &  Identifier)
overridevirtual

◆ queryInterface()

css::uno::Any SAL_CALL ContentProvider::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Definition at line 63 of file webdavprovider.cxx.

References cppu::queryInterface().

◆ release()

void SAL_CALL ContentProvider::release ( )
overridevirtualnoexcept

Definition at line 58 of file webdavprovider.cxx.

◆ supportsService()

sal_Bool ContentProvider::supportsService ( const OUString &  ServiceName)
overridevirtual

Reimplemented from ucbhelper::ContentProviderImplHelper.

Definition at line 97 of file webdavprovider.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pProps

std::unique_ptr<PropertyMap> http_dav_ucp::ContentProvider::m_pProps
private

Definition at line 65 of file webdavprovider.hxx.

Referenced by getProperty().

◆ m_xDAVSessionFactory

rtl::Reference< DAVSessionFactory > http_dav_ucp::ContentProvider::m_xDAVSessionFactory
private

Definition at line 64 of file webdavprovider.hxx.


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