LibreOffice Module ucb (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
PropertySetRegistry Class Reference

#include <ucbstore.hxx>

Inheritance diagram for PropertySetRegistry:
[legend]
Collaboration diagram for PropertySetRegistry:
[legend]

Public Member Functions

 PropertySetRegistry (const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Sequence< css::uno::Any > &rInitArgs)
 
virtual ~PropertySetRegistry () 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::XPersistentPropertySet > SAL_CALL openPropertySet (const OUString &key, sal_Bool create) override
 
virtual void SAL_CALL removePropertySet (const OUString &key) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
css::uno::Reference< css::uno::XInterface > getRootConfigReadAccess ()
 
css::uno::Reference< css::uno::XInterface > getConfigWriteAccess (const OUString &rPath)
 

Private Member Functions

css::uno::Reference< css::lang::XMultiServiceFactory > getConfigProvider ()
 
void add (PersistentPropertySet *pSet)
 
void remove (PersistentPropertySet *pSet)
 
void renamePropertySet (const OUString &rOldKey, const OUString &rNewKey)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
std::unique_ptr< PropertySetRegistry_Implm_pImpl
 

Friends

class PersistentPropertySet
 

Detailed Description

Definition at line 85 of file ucbstore.hxx.

Constructor & Destructor Documentation

PropertySetRegistry::PropertySetRegistry ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Sequence< css::uno::Any > &  rInitArgs 
)

Definition at line 240 of file ucbstore.cxx.

References m_xContext.

PropertySetRegistry::~PropertySetRegistry ( )
overridevirtual

Definition at line 250 of file ucbstore.cxx.

Member Function Documentation

void PropertySetRegistry::add ( PersistentPropertySet pSet)
private

Definition at line 544 of file ucbstore.cxx.

References PersistentPropertySet::getKey(), and m_pImpl.

Referenced by PersistentPropertySet::PersistentPropertySet().

Any SAL_CALL PropertySetRegistry::getByName ( const OUString &  aName)
overridevirtual

Definition at line 486 of file ucbstore.cxx.

References Any, getRootConfigReadAccess(), and m_pImpl.

Reference< XMultiServiceFactory > PropertySetRegistry::getConfigProvider ( )
private

Definition at line 877 of file ucbstore.cxx.

References Exception, m_pImpl, m_xContext, and TOOLS_WARN_EXCEPTION.

Referenced by getConfigWriteAccess(), and getRootConfigReadAccess().

Reference< XInterface > PropertySetRegistry::getConfigWriteAccess ( const OUString &  rPath)
Sequence< OUString > SAL_CALL PropertySetRegistry::getElementNames ( )
overridevirtual

Definition at line 514 of file ucbstore.cxx.

References getRootConfigReadAccess(), and m_pImpl.

css::uno::Type SAL_CALL PropertySetRegistry::getElementType ( )
overridevirtual

Definition at line 462 of file ucbstore.cxx.

References cppu::UnoType< class >::get().

OUString SAL_CALL PropertySetRegistry::getImplementationName ( )
overridevirtual

Definition at line 258 of file ucbstore.cxx.

Reference< XInterface > PropertySetRegistry::getRootConfigReadAccess ( )
css::uno::Sequence< OUString > SAL_CALL PropertySetRegistry::getSupportedServiceNames ( )
overridevirtual

Definition at line 268 of file ucbstore.cxx.

References PROPSET_REG_SERVICE_NAME.

sal_Bool SAL_CALL PropertySetRegistry::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 529 of file ucbstore.cxx.

References getRootConfigReadAccess(), and m_pImpl.

sal_Bool SAL_CALL PropertySetRegistry::hasElements ( )
overridevirtual

Definition at line 469 of file ucbstore.cxx.

References getRootConfigReadAccess(), and m_pImpl.

Reference< XPersistentPropertySet > SAL_CALL PropertySetRegistry::openPropertySet ( const OUString &  key,
sal_Bool  create 
)
overridevirtual
void PropertySetRegistry::remove ( PersistentPropertySet pSet)
private

Definition at line 556 of file ucbstore.cxx.

References PersistentPropertySet::getKey(), and m_pImpl.

void SAL_CALL PropertySetRegistry::removePropertySet ( const OUString &  key)
overridevirtual

Definition at line 403 of file ucbstore.cxx.

References getConfigWriteAccess(), getRootConfigReadAccess(), m_pImpl, and SAL_WARN.

void PropertySetRegistry::renamePropertySet ( const OUString &  rOldKey,
const OUString &  rNewKey 
)
private
sal_Bool SAL_CALL PropertySetRegistry::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 263 of file ucbstore.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

friend class PersistentPropertySet
friend

Definition at line 90 of file ucbstore.hxx.

Referenced by openPropertySet().

Member Data Documentation

std::unique_ptr<PropertySetRegistry_Impl> PropertySetRegistry::m_pImpl
private
css::uno::Reference< css::uno::XComponentContext > PropertySetRegistry::m_xContext
private

Definition at line 92 of file ucbstore.hxx.

Referenced by getConfigProvider().


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