LibreOffice Module ucb (master) 1
|
#include <pkgprovider.hxx>
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 |
css::uno::Reference< css::container::XHierarchicalNameAccess > | createPackage (const PackageUri &rParam) |
void | removePackage (const OUString &rName) |
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 | |
std::unique_ptr< Packages > | m_pPackages |
Additional Inherited Members | |
Protected Member Functions inherited from ucbhelper::ContentProviderImplHelper | |
rtl::Reference< ContentImplHelper > | queryExistingContent (const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier) |
rtl::Reference< ContentImplHelper > | queryExistingContent (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 |
Definition at line 46 of file pkgprovider.hxx.
|
explicit |
|
overridevirtual |
Definition at line 105 of file pkgprovider.cxx.
|
overridevirtualnoexcept |
Definition at line 110 of file pkgprovider.cxx.
uno::Reference< container::XHierarchicalNameAccess > ContentProvider::createPackage | ( | const PackageUri & | rParam | ) |
Definition at line 204 of file pkgprovider.cxx.
References aArguments, cppu::getCaughtException(), package_ucp::PackageUri::getPackage(), package_ucp::PackageUri::getParam(), ucbhelper::ContentProviderImplHelper::m_aMutex, m_pPackages, ucbhelper::ContentProviderImplHelper::m_xContext, and Package.
Referenced by package_ucp::Content::getPackage().
|
overridevirtual |
|
overridevirtual |
Implements ucbhelper::ContentProviderImplHelper.
Definition at line 144 of file pkgprovider.cxx.
|
overridevirtual |
Implements ucbhelper::ContentProviderImplHelper.
Definition at line 156 of file pkgprovider.cxx.
|
overridevirtual |
|
overridevirtual |
Implements ucbhelper::ContentProviderImplHelper.
|
overridevirtual |
Definition at line 122 of file pkgprovider.cxx.
References cppu::queryInterface().
|
overridevirtualnoexcept |
Definition at line 116 of file pkgprovider.cxx.
void ContentProvider::removePackage | ( | const OUString & | rName | ) |
Definition at line 250 of file pkgprovider.cxx.
References ucbhelper::ContentProviderImplHelper::m_aMutex, and m_pPackages.
|
overridevirtual |
Reimplemented from ucbhelper::ContentProviderImplHelper.
Definition at line 150 of file pkgprovider.cxx.
References cppu::supportsService().
|
private |
Definition at line 48 of file pkgprovider.hxx.
Referenced by createPackage(), and removePackage().