LibreOffice Module desktop (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dp_registry::backend::sfwk::BackendImpl::PackageImpl Class Reference
Inheritance diagram for dp_registry::backend::sfwk::BackendImpl::PackageImpl:
[legend]
Collaboration diagram for dp_registry::backend::sfwk::BackendImpl::PackageImpl:
[legend]

Public Member Functions

 PackageImpl (::rtl::Reference< BackendImpl > const &myBackend, OUString const &url, OUString const &libType, bool bRemoved, OUString const &identifier)
 
virtual OUString SAL_CALL getDescription () override
 
virtual OUString SAL_CALL getLicenseText () override
 
- Public Member Functions inherited from dp_registry::backend::Package
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 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
 

Private Member Functions

BackendImplgetMyBackend () const
 
void initPackageHandler ()
 
virtual beans::Optional< beans::Ambiguous< sal_Bool > > isRegistered_ (::osl::ResettableMutexGuard &guard,::rtl::Reference< AbortChannel > const &abortChannel, Reference< XCommandEnvironment > const &xCmdEnv) override
 
virtual void processPackage_ (::osl::ResettableMutexGuard &guard, bool registerPackage, bool startup,::rtl::Reference< AbortChannel > const &abortChannel, Reference< XCommandEnvironment > const &xCmdEnv) override
 

Private Attributes

Reference< container::XNameContainer > m_xNameCntrPkgHandler
 
OUString m_descr
 

Additional Inherited Members

- Protected Member Functions inherited from dp_registry::backend::Package
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 > const &myBackend, OUString const &url, OUString const &name, OUString const &displayName, css::uno::Reference< css::deployment::XPackageTypeInfo > const &xPackageType, bool bRemoved, OUString const &identifier)
 
- Protected Member Functions inherited from dp_misc::MutexHolder
::osl::Mutex & getMutex () const
 
- Protected Attributes inherited from dp_registry::backend::Package
::rtl::Reference< PackageRegistryBackendm_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
 

Detailed Description

Definition at line 54 of file dp_sfwk.cxx.

Constructor & Destructor Documentation

dp_registry::backend::sfwk::BackendImpl::PackageImpl::PackageImpl ( ::rtl::Reference< BackendImpl > const &  myBackend,
OUString const &  url,
OUString const &  libType,
bool  bRemoved,
OUString const &  identifier 
)

Member Function Documentation

OUString dp_registry::backend::sfwk::BackendImpl::PackageImpl::getDescription ( )
overridevirtual

Reimplemented from dp_registry::backend::Package.

Definition at line 120 of file dp_sfwk.cxx.

References dp_registry::backend::Package::getDescription().

OUString dp_registry::backend::sfwk::BackendImpl::PackageImpl::getLicenseText ( )
overridevirtual

Reimplemented from dp_registry::backend::Package.

Definition at line 128 of file dp_sfwk.cxx.

References dp_registry::backend::Package::getDescription().

BackendImpl * dp_registry::backend::sfwk::BackendImpl::PackageImpl::getMyBackend ( ) const
private
void dp_registry::backend::sfwk::BackendImpl::PackageImpl::initPackageHandler ( )
private
beans::Optional< beans::Ambiguous< sal_Bool > > dp_registry::backend::sfwk::BackendImpl::PackageImpl::isRegistered_ ( ::osl::ResettableMutexGuard &  guard,
::rtl::Reference< AbortChannel > const &  abortChannel,
Reference< XCommandEnvironment > const &  xCmdEnv 
)
overrideprivatevirtual

Definition at line 312 of file dp_sfwk.cxx.

void dp_registry::backend::sfwk::BackendImpl::PackageImpl::processPackage_ ( ::osl::ResettableMutexGuard &  guard,
bool  registerPackage,
bool  startup,
::rtl::Reference< AbortChannel > const &  abortChannel,
Reference< XCommandEnvironment > const &  xCmdEnv 
)
overrideprivatevirtual

Definition at line 326 of file dp_sfwk.cxx.

References makeAny(), and dp_misc::TRACE().

Member Data Documentation

OUString dp_registry::backend::sfwk::BackendImpl::PackageImpl::m_descr
private

Definition at line 59 of file dp_sfwk.cxx.

Reference< container::XNameContainer > dp_registry::backend::sfwk::BackendImpl::PackageImpl::m_xNameCntrPkgHandler
private

Definition at line 58 of file dp_sfwk.cxx.

Referenced by initPackageHandler().


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