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

#include <cmis_provider.hxx>

Inheritance diagram for cmis::ContentProvider:
Collaboration diagram for cmis::ContentProvider:

Public Member Functions

 ContentProvider (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
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
libcmis::Session * getSession (const OUString &sBindingUrl, const OUString &sUsername)
void registerSession (const OUString &sBindingUrl, const OUString &sUsername, libcmis::Session *pSession)
- Public Member Functions inherited from ucbhelper::ContentProviderImplHelper
 ContentProviderImplHelper (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual ~ContentProviderImplHelper () override
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

std::map< std::pair< OUString, OUString >, libcmis::Session * > m_aSessionCache

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 21 of file cmis_provider.hxx.

Constructor & Destructor Documentation

cmis::ContentProvider::ContentProvider ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
cmis::ContentProvider::~ContentProvider ( )

Definition at line 88 of file cmis_provider.cxx.

Member Function Documentation

void SAL_CALL cmis::ContentProvider::acquire ( )

Definition at line 93 of file cmis_provider.cxx.

virtual css::uno::Sequence< sal_Int8 > SAL_CALL cmis::ContentProvider::getImplementationId ( )
OUString cmis::ContentProvider::getImplementationName ( )

Implements ucbhelper::ContentProviderImplHelper.

Definition at line 124 of file cmis_provider.cxx.

libcmis::Session * cmis::ContentProvider::getSession ( const OUString &  sBindingUrl,
const OUString &  sUsername 

Definition at line 61 of file cmis_provider.cxx.

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

Implements ucbhelper::ContentProviderImplHelper.

Definition at line 128 of file cmis_provider.cxx.

virtual css::uno::Sequence< css::uno::Type > SAL_CALL cmis::ContentProvider::getTypes ( )
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL cmis::ContentProvider::queryContent ( const css::uno::Reference< css::ucb::XContentIdentifier > &  Identifier)
css::uno::Any SAL_CALL cmis::ContentProvider::queryInterface ( const css::uno::Type &  rType)

Definition at line 105 of file cmis_provider.cxx.

References cppu::queryInterface().

void cmis::ContentProvider::registerSession ( const OUString &  sBindingUrl,
const OUString &  sUsername,
libcmis::Session *  pSession 

Definition at line 73 of file cmis_provider.cxx.

void SAL_CALL cmis::ContentProvider::release ( )

Definition at line 99 of file cmis_provider.cxx.

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

Reimplemented from ucbhelper::ContentProviderImplHelper.

Definition at line 120 of file cmis_provider.cxx.

References cppu::supportsService().

Member Data Documentation

std::map< std::pair< OUString, OUString >, libcmis::Session* > cmis::ContentProvider::m_aSessionCache

Definition at line 24 of file cmis_provider.hxx.

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