LibreOffice Module ucb (master)
1
|
#include <ucbstore.hxx>
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 |
const css::uno::Sequence< css::uno::Any > | m_aInitArgs |
PropertySetMap_Impl | m_aPropSets |
css::uno::Reference< css::lang::XMultiServiceFactory > | m_xConfigProvider |
css::uno::Reference< css::uno::XInterface > | m_xRootReadAccess |
css::uno::Reference< css::uno::XInterface > | m_xRootWriteAccess |
osl::Mutex | m_aMutex |
bool | m_bTriedToGetRootReadAccess |
bool | m_bTriedToGetRootWriteAccess |
Friends | |
class | PersistentPropertySet |
Definition at line 77 of file ucbstore.hxx.
PropertySetRegistry::PropertySetRegistry | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext, |
const css::uno::Sequence< css::uno::Any > & | rInitArgs | ||
) |
Definition at line 199 of file ucbstore.cxx.
References false, and m_xContext.
|
overridevirtual |
Definition at line 211 of file ucbstore.cxx.
|
private |
Definition at line 505 of file ucbstore.cxx.
References PersistentPropertySet::getKey(), m_aMutex, and m_aPropSets.
Referenced by PersistentPropertySet::PersistentPropertySet().
|
overridevirtual |
Definition at line 447 of file ucbstore.cxx.
References Any, getRootConfigReadAccess(), and m_aMutex.
|
private |
Definition at line 838 of file ucbstore.cxx.
References Exception, m_aInitArgs, m_aMutex, m_xConfigProvider, m_xContext, and TOOLS_WARN_EXCEPTION.
Referenced by getConfigWriteAccess(), and getRootConfigReadAccess().
Reference< XInterface > PropertySetRegistry::getConfigWriteAccess | ( | const OUString & | rPath | ) |
Definition at line 929 of file ucbstore.cxx.
References aArguments, Any, CFGPROPERTY_NODEPATH, Exception, getConfigProvider(), comphelper::InitAnyPropertySequence(), m_aMutex, m_bTriedToGetRootWriteAccess, m_xConfigProvider, m_xRootWriteAccess, and STORE_CONTENTPROPERTIES_KEY.
Referenced by openPropertySet(), removePropertySet(), and renamePropertySet().
|
overridevirtual |
Definition at line 475 of file ucbstore.cxx.
References getRootConfigReadAccess(), and m_aMutex.
|
overridevirtual |
Definition at line 423 of file ucbstore.cxx.
References cppu::UnoType< class >::get().
|
overridevirtual |
Definition at line 219 of file ucbstore.cxx.
Reference< XInterface > PropertySetRegistry::getRootConfigReadAccess | ( | ) |
Definition at line 874 of file ucbstore.cxx.
References aArguments, Any, CFGPROPERTY_NODEPATH, Exception, getConfigProvider(), comphelper::InitAnyPropertySequence(), m_aMutex, m_bTriedToGetRootReadAccess, m_xConfigProvider, m_xRootReadAccess, SAL_WARN, STORE_CONTENTPROPERTIES_KEY, and TOOLS_WARN_EXCEPTION.
Referenced by getByName(), getElementNames(), PropertySetInfo_Impl::getProperties(), PropertySetInfo_Impl::getPropertyByName(), hasByName(), hasElements(), PropertySetInfo_Impl::hasPropertyByName(), openPropertySet(), and removePropertySet().
|
overridevirtual |
Definition at line 229 of file ucbstore.cxx.
|
overridevirtual |
Definition at line 490 of file ucbstore.cxx.
References getRootConfigReadAccess(), and m_aMutex.
|
overridevirtual |
Definition at line 430 of file ucbstore.cxx.
References getRootConfigReadAccess(), and m_aMutex.
|
overridevirtual |
Definition at line 240 of file ucbstore.cxx.
References Any, Exception, getConfigWriteAccess(), getRootConfigReadAccess(), m_aMutex, m_aPropSets, PersistentPropertySet, and SAL_WARN.
|
private |
Definition at line 517 of file ucbstore.cxx.
References PersistentPropertySet::getKey(), m_aMutex, and m_aPropSets.
|
overridevirtual |
Definition at line 364 of file ucbstore.cxx.
References getConfigWriteAccess(), getRootConfigReadAccess(), m_aMutex, and SAL_WARN.
|
private |
Definition at line 537 of file ucbstore.cxx.
References Any, Exception, getConfigWriteAccess(), and makeHierarchalNameSegment().
|
overridevirtual |
Definition at line 224 of file ucbstore.cxx.
References cppu::supportsService().
|
friend |
Definition at line 82 of file ucbstore.hxx.
Referenced by openPropertySet().
|
private |
Definition at line 85 of file ucbstore.hxx.
Referenced by getConfigProvider().
|
private |
Definition at line 90 of file ucbstore.hxx.
Referenced by add(), getByName(), getConfigProvider(), getConfigWriteAccess(), getElementNames(), getRootConfigReadAccess(), hasByName(), hasElements(), openPropertySet(), remove(), and removePropertySet().
|
private |
Definition at line 86 of file ucbstore.hxx.
Referenced by add(), openPropertySet(), and remove().
|
private |
Definition at line 91 of file ucbstore.hxx.
Referenced by getRootConfigReadAccess().
|
private |
Definition at line 92 of file ucbstore.hxx.
Referenced by getConfigWriteAccess().
|
private |
Definition at line 87 of file ucbstore.hxx.
Referenced by getConfigProvider(), getConfigWriteAccess(), and getRootConfigReadAccess().
|
private |
Definition at line 84 of file ucbstore.hxx.
Referenced by getConfigProvider().
|
private |
Definition at line 88 of file ucbstore.hxx.
Referenced by getRootConfigReadAccess().
|
private |
Definition at line 89 of file ucbstore.hxx.
Referenced by getConfigWriteAccess().