LibreOffice Module desktop (master) 1
|
#include <dp_backend.h>
Classes | |
class | TypeInfo |
Public Member Functions | |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &xListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &xListener) override |
virtual void SAL_CALL | addModifyListener (css::uno::Reference< css::util::XModifyListener > const &xListener) override |
virtual void SAL_CALL | removeModifyListener (css::uno::Reference< css::util::XModifyListener > const &xListener) override |
virtual css::uno::Reference< css::task::XAbortChannel > SAL_CALL | createAbortChannel () override |
virtual css::beans::Optional< css::beans::Ambiguous< sal_Bool > > SAL_CALL | isRegistered (css::uno::Reference< css::task::XAbortChannel > const &xAbortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv) override |
virtual ::sal_Int32 SAL_CALL | checkPrerequisites (const css::uno::Reference< css::task::XAbortChannel > &xAbortChannel, const css::uno::Reference< css::ucb::XCommandEnvironment > &xCmdEnv, sal_Bool noLicenseChecking) override |
virtual ::sal_Bool SAL_CALL | checkDependencies (const css::uno::Reference< css::ucb::XCommandEnvironment > &xCmdEnv) override |
virtual void SAL_CALL | registerPackage (sal_Bool startup, css::uno::Reference< css::task::XAbortChannel > const &xAbortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv) override |
virtual void SAL_CALL | revokePackage (sal_Bool startup, css::uno::Reference< css::task::XAbortChannel > const &xAbortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv) override |
virtual sal_Bool SAL_CALL | isBundle () override |
virtual css::uno::Sequence< css::uno::Reference< css::deployment::XPackage > > SAL_CALL | getBundle (css::uno::Reference< css::task::XAbortChannel > const &xAbortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv) override |
virtual OUString SAL_CALL | getName () override |
virtual css::beans::Optional< OUString > SAL_CALL | getIdentifier () override |
virtual OUString SAL_CALL | getVersion () override |
virtual OUString SAL_CALL | getURL () override |
virtual OUString SAL_CALL | getDisplayName () override |
virtual OUString SAL_CALL | getDescription () override |
virtual OUString SAL_CALL | getLicenseText () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getUpdateInformationURLs () override |
virtual css::beans::StringPair SAL_CALL | getPublisherInfo () override |
virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL | getIcon (sal_Bool bHighContrast) override |
virtual css::uno::Reference< css::deployment::XPackageTypeInfo > SAL_CALL | getPackageType () override |
virtual void SAL_CALL | exportTo (OUString const &destFolderURL, OUString const &newTitle, sal_Int32 nameClashAction, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv) override |
virtual OUString SAL_CALL | getRepositoryName () override |
virtual css::beans::Optional< OUString > SAL_CALL | getRegistrationDataURL () override |
virtual sal_Bool SAL_CALL | isRemoved () override |
Protected Member Functions | |
void | check () const |
void | fireModified () |
virtual void SAL_CALL | disposing () override |
void | checkAborted (::rtl::Reference< ::dp_misc::AbortChannel > const &abortChannel) |
virtual css::beans::Optional< css::beans::Ambiguous< sal_Bool > > | isRegistered_ (::osl::ResettableMutexGuard &guard, ::rtl::Reference< ::dp_misc::AbortChannel > const &abortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv)=0 |
virtual void | processPackage_ (::osl::ResettableMutexGuard &guard, bool registerPackage, bool startup, ::rtl::Reference< ::dp_misc::AbortChannel > const &abortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv)=0 |
virtual | ~Package () override |
Package (::rtl::Reference< PackageRegistryBackend > myBackend, OUString url, OUString name, OUString displayName, css::uno::Reference< css::deployment::XPackageTypeInfo > const &xPackageType, bool bRemoved, OUString identifier) | |
Protected Attributes | |
::rtl::Reference< PackageRegistryBackend > | m_myBackend |
const OUString | m_url |
OUString | m_name |
OUString | m_displayName |
const css::uno::Reference< css::deployment::XPackageTypeInfo > | m_xPackageType |
const bool | m_bRemoved |
const OUString | m_identifier |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Private Member Functions | |
PackageRegistryBackend * | getMyBackend () const |
void | processPackage_impl (bool registerPackage, bool startup, css::uno::Reference< css::task::XAbortChannel > const &xAbortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv) |
Definition at line 47 of file dp_backend.h.
|
overrideprotectedvirtual |
Definition at line 294 of file dp_backend.cxx.
|
protected |
Definition at line 299 of file dp_backend.cxx.
References aName, identifier, index, m_aMutex, m_bRemoved, m_name, m_name, m_url, m_url, name, and SAL_WARN_IF.
|
overridevirtual |
Definition at line 356 of file dp_backend.cxx.
|
overridevirtual |
Definition at line 375 of file dp_backend.cxx.
References check().
|
protected |
Definition at line 336 of file dp_backend.cxx.
References cppu::BaseMutex::m_aMutex.
Referenced by addModifyListener(), createAbortChannel(), getMyBackend(), processPackage_impl(), and removeModifyListener().
|
protected |
Definition at line 391 of file dp_backend.cxx.
|
override |
Definition at line 426 of file dp_backend.cxx.
References m_bRemoved.
|
override |
Definition at line 415 of file dp_backend.cxx.
References m_bRemoved.
|
overridevirtual |
Definition at line 402 of file dp_backend.cxx.
References check().
|
overridevirtual |
Definition at line 348 of file dp_backend.cxx.
|
overrideprotectedvirtual |
Definition at line 329 of file dp_backend.cxx.
References m_myBackend.
|
overridevirtual |
Definition at line 527 of file dp_backend.cxx.
References ucbhelper::Copy, getComponentContext(), getMyBackend(), getURL(), m_bRemoved, and ucbhelper::Content::transferContent().
|
protected |
Definition at line 552 of file dp_backend.cxx.
References cppu::OInterfaceContainerHelper::getElements(), and x.
Referenced by processPackage_impl().
|
overridevirtual |
Definition at line 435 of file dp_backend.cxx.
|
overridevirtual |
Definition at line 479 of file dp_backend.cxx.
References m_bRemoved.
|
overridevirtual |
Definition at line 471 of file dp_backend.cxx.
References m_bRemoved, and m_displayName.
Referenced by processPackage_impl().
|
overridevirtual |
Definition at line 512 of file dp_backend.cxx.
References m_bRemoved.
|
overridevirtual |
Definition at line 448 of file dp_backend.cxx.
References m_bRemoved, and m_identifier.
|
overridevirtual |
Definition at line 487 of file dp_backend.cxx.
References m_bRemoved.
|
private |
Definition at line 701 of file dp_backend.cxx.
References check(), and m_myBackend.
Referenced by exportTo(), and getRepositoryName().
|
overridevirtual |
Definition at line 443 of file dp_backend.cxx.
References m_name.
Referenced by processPackage_impl().
|
overridevirtual |
Definition at line 522 of file dp_backend.cxx.
References m_xPackageType.
|
overridevirtual |
Definition at line 503 of file dp_backend.cxx.
References m_bRemoved.
|
overridevirtual |
Definition at line 722 of file dp_backend.cxx.
References m_bRemoved.
|
overridevirtual |
Definition at line 716 of file dp_backend.cxx.
References dp_registry::backend::PackageRegistryBackend::getContext(), and getMyBackend().
|
overridevirtual |
Definition at line 495 of file dp_backend.cxx.
References m_bRemoved.
|
overridevirtual |
|
overridevirtual |
Definition at line 457 of file dp_backend.cxx.
References m_bRemoved.
|
overridevirtual |
Definition at line 409 of file dp_backend.cxx.
|
overridevirtual |
Definition at line 572 of file dp_backend.cxx.
References Any, Exception, isRegistered_(), and cppu::BaseMutex::m_aMutex.
|
protectedpure virtual |
Referenced by isRegistered(), and processPackage_impl().
|
overridevirtual |
Definition at line 729 of file dp_backend.cxx.
References m_bRemoved.
Referenced by processPackage_impl().
|
protectedpure virtual |
Referenced by processPackage_impl().
|
private |
Definition at line 603 of file dp_backend.cxx.
References action, Any, check(), DpResId(), Exception, fireModified(), cppu::getCaughtException(), getDisplayName(), getName(), isRegistered_(), isRemoved(), cppu::BaseMutex::m_aMutex, option, processPackage_(), dp_registry::backend::PackageRegistryBackend::StrRegisteringPackage(), dp_registry::backend::PackageRegistryBackend::StrRevokingPackage(), and TOOLS_WARN_EXCEPTION.
Referenced by registerPackage(), and revokePackage().
|
overridevirtual |
Definition at line 681 of file dp_backend.cxx.
References m_bRemoved, and processPackage_impl().
|
overridevirtual |
Definition at line 365 of file dp_backend.cxx.
|
overridevirtual |
Definition at line 383 of file dp_backend.cxx.
References check().
|
overridevirtual |
Definition at line 692 of file dp_backend.cxx.
References processPackage_impl().
|
protected |
Definition at line 62 of file dp_backend.h.
Referenced by checkDependencies(), checkPrerequisites(), exportTo(), getDescription(), getDisplayName(), getIcon(), getIdentifier(), getLicenseText(), getPublisherInfo(), getRegistrationDataURL(), getUpdateInformationURLs(), getVersion(), isRemoved(), Package(), and registerPackage().
|
protected |
Definition at line 60 of file dp_backend.h.
Referenced by getDisplayName().
|
protected |
Definition at line 64 of file dp_backend.h.
Referenced by getIdentifier().
|
protected |
Definition at line 57 of file dp_backend.h.
Referenced by disposing(), and getMyBackend().
|
protected |
Definition at line 59 of file dp_backend.h.
|
protected |
Definition at line 58 of file dp_backend.h.
|
protected |
Definition at line 61 of file dp_backend.h.
Referenced by getPackageType().