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

#include <pkgprovider.hxx>

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

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 () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
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
 
css::uno::Reference< css::container::XHierarchicalNameAccess > createPackage (const PackageUri &rParam)
 
void removePackage (const OUString &rName)
 
- 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)
 

Static Public Member Functions

static OUString getImplementationName_Static ()
 
static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
static css::uno::Reference< css::lang::XSingleServiceFactory > createServiceFactory (const css::uno::Reference< css::lang::XMultiServiceFactory > &rxServiceMgr)
 

Private Attributes

std::unique_ptr< Packagesm_pPackages
 

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 49 of file pkgprovider.hxx.

Constructor & Destructor Documentation

package_ucp::ContentProvider::ContentProvider ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
explicit
ContentProvider::~ContentProvider ( )
overridevirtual

Definition at line 105 of file pkgprovider.cxx.

Member Function Documentation

void SAL_CALL ContentProvider::acquire ( )
throw (
)
overridevirtual

Reimplemented from ucbhelper::ContentProviderImplHelper.

Definition at line 110 of file pkgprovider.cxx.

uno::Reference< container::XHierarchicalNameAccess > ContentProvider::createPackage ( const PackageUri rParam)
static css::uno::Reference< css::lang::XSingleServiceFactory > package_ucp::ContentProvider::createServiceFactory ( const css::uno::Reference< css::lang::XMultiServiceFactory > &  rxServiceMgr)
static
virtual css::uno::Sequence< sal_Int8 > SAL_CALL package_ucp::ContentProvider::getImplementationId ( )
overridevirtual
virtual OUString SAL_CALL package_ucp::ContentProvider::getImplementationName ( )
overridevirtual
static OUString package_ucp::ContentProvider::getImplementationName_Static ( )
static
virtual css::uno::Sequence< OUString > SAL_CALL package_ucp::ContentProvider::getSupportedServiceNames ( )
overridevirtual
css::uno::Sequence< OUString > ContentProvider::getSupportedServiceNames_Static ( )
static

Definition at line 155 of file pkgprovider.cxx.

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

Reimplemented from ucbhelper::ContentProviderImplHelper.

Definition at line 122 of file pkgprovider.cxx.

References cppu::queryInterface().

void SAL_CALL ContentProvider::release ( )
throw (
)
overridevirtual

Reimplemented from ucbhelper::ContentProviderImplHelper.

Definition at line 116 of file pkgprovider.cxx.

void ContentProvider::removePackage ( const OUString &  rName)
virtual sal_Bool SAL_CALL package_ucp::ContentProvider::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

std::unique_ptr<Packages> package_ucp::ContentProvider::m_pPackages
private

Definition at line 51 of file pkgprovider.hxx.

Referenced by createPackage(), and removePackage().


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