LibreOffice Module desktop (master)  1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
dp_registry::backend::Package Class Referenceabstract

#include <dp_backend.h>

Inheritance diagram for dp_registry::backend::Package:
[legend]
Collaboration diagram for dp_registry::backend::Package:
[legend]

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 > 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

::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
 

Private Member Functions

PackageRegistryBackendgetMyBackend () const
 
void processPackage_impl (bool registerPackage, bool startup, css::uno::Reference< css::task::XAbortChannel > const &xAbortChannel, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv)
 

Detailed Description

Definition at line 51 of file dp_backend.h.

Constructor & Destructor Documentation

dp_registry::backend::Package::~Package ( )
overrideprotectedvirtual

Definition at line 298 of file dp_backend.cxx.

dp_registry::backend::Package::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 Function Documentation

void dp_registry::backend::Package::addEventListener ( css::uno::Reference< css::lang::XEventListener > const &  xListener)
overridevirtual

Definition at line 360 of file dp_backend.cxx.

void dp_registry::backend::Package::addModifyListener ( css::uno::Reference< css::util::XModifyListener > const &  xListener)
overridevirtual

Definition at line 379 of file dp_backend.cxx.

References check().

void dp_registry::backend::Package::check ( ) const
protected
void dp_registry::backend::Package::checkAborted ( ::rtl::Reference< ::dp_misc::AbortChannel > const &  abortChannel)
protected

Definition at line 395 of file dp_backend.cxx.

sal_Bool dp_registry::backend::Package::checkDependencies ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xCmdEnv)
override

Definition at line 430 of file dp_backend.cxx.

References m_bRemoved.

sal_Int32 dp_registry::backend::Package::checkPrerequisites ( const css::uno::Reference< css::task::XAbortChannel > &  xAbortChannel,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  xCmdEnv,
sal_Bool  noLicenseChecking 
)
override

Definition at line 419 of file dp_backend.cxx.

References m_bRemoved.

Reference< task::XAbortChannel > dp_registry::backend::Package::createAbortChannel ( )
overridevirtual

Definition at line 406 of file dp_backend.cxx.

References check().

void dp_registry::backend::Package::dispose ( void  )
overridevirtual

Definition at line 352 of file dp_backend.cxx.

void dp_registry::backend::Package::disposing ( )
overrideprotectedvirtual

Definition at line 333 of file dp_backend.cxx.

References m_myBackend.

void dp_registry::backend::Package::exportTo ( OUString const &  destFolderURL,
OUString const &  newTitle,
sal_Int32  nameClashAction,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
overridevirtual
void dp_registry::backend::Package::fireModified ( )
protected

Definition at line 556 of file dp_backend.cxx.

References cppu::OInterfaceContainerHelper::getElements().

Referenced by processPackage_impl().

Sequence< Reference< deployment::XPackage > > dp_registry::backend::Package::getBundle ( css::uno::Reference< css::task::XAbortChannel > const &  xAbortChannel,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
overridevirtual

Definition at line 439 of file dp_backend.cxx.

OUString dp_registry::backend::Package::getDescription ( )
overridevirtual
OUString dp_registry::backend::Package::getDisplayName ( )
overridevirtual

Definition at line 475 of file dp_backend.cxx.

References m_bRemoved, and m_displayName.

Referenced by processPackage_impl().

uno::Reference< css::graphic::XGraphic > dp_registry::backend::Package::getIcon ( sal_Bool  bHighContrast)
overridevirtual

Definition at line 516 of file dp_backend.cxx.

References m_bRemoved.

beans::Optional< OUString > dp_registry::backend::Package::getIdentifier ( )
overridevirtual

Definition at line 452 of file dp_backend.cxx.

References m_bRemoved, and m_identifier.

OUString dp_registry::backend::Package::getLicenseText ( )
overridevirtual

Reimplemented in dp_registry::backend::sfwk::BackendImpl::PackageImpl.

Definition at line 491 of file dp_backend.cxx.

References m_bRemoved.

PackageRegistryBackend * dp_registry::backend::Package::getMyBackend ( ) const
private

Definition at line 703 of file dp_backend.cxx.

References check(), and m_myBackend.

Referenced by exportTo(), and getRepositoryName().

OUString dp_registry::backend::Package::getName ( )
overridevirtual

Definition at line 447 of file dp_backend.cxx.

References m_name.

Referenced by processPackage_impl().

Reference< deployment::XPackageTypeInfo > dp_registry::backend::Package::getPackageType ( )
overridevirtual

Definition at line 526 of file dp_backend.cxx.

References m_xPackageType.

css::beans::StringPair dp_registry::backend::Package::getPublisherInfo ( )
overridevirtual

Definition at line 507 of file dp_backend.cxx.

References m_bRemoved.

beans::Optional< OUString > dp_registry::backend::Package::getRegistrationDataURL ( )
overridevirtual

Definition at line 724 of file dp_backend.cxx.

References m_bRemoved.

OUString dp_registry::backend::Package::getRepositoryName ( )
overridevirtual
Sequence< OUString > dp_registry::backend::Package::getUpdateInformationURLs ( )
overridevirtual

Definition at line 499 of file dp_backend.cxx.

References m_bRemoved.

OUString dp_registry::backend::Package::getURL ( )
overridevirtual

Definition at line 469 of file dp_backend.cxx.

References m_url.

Referenced by exportTo().

OUString dp_registry::backend::Package::getVersion ( )
overridevirtual

Definition at line 461 of file dp_backend.cxx.

References m_bRemoved.

sal_Bool dp_registry::backend::Package::isBundle ( )
overridevirtual

Definition at line 413 of file dp_backend.cxx.

beans::Optional< beans::Ambiguous< sal_Bool > > dp_registry::backend::Package::isRegistered ( css::uno::Reference< css::task::XAbortChannel > const &  xAbortChannel,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
overridevirtual
virtual css::beans::Optional< css::beans::Ambiguous<sal_Bool> > dp_registry::backend::Package::isRegistered_ ( ::osl::ResettableMutexGuard &  guard,
::rtl::Reference< ::dp_misc::AbortChannel > const &  abortChannel,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
protectedpure virtual
sal_Bool dp_registry::backend::Package::isRemoved ( )
overridevirtual

Definition at line 731 of file dp_backend.cxx.

References m_bRemoved.

Referenced by processPackage_impl().

virtual void dp_registry::backend::Package::processPackage_ ( ::osl::ResettableMutexGuard &  guard,
bool  registerPackage,
bool  startup,
::rtl::Reference< ::dp_misc::AbortChannel > const &  abortChannel,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
protectedpure virtual

Referenced by processPackage_impl().

void dp_registry::backend::Package::processPackage_impl ( bool  registerPackage,
bool  startup,
css::uno::Reference< css::task::XAbortChannel > const &  xAbortChannel,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
private
void dp_registry::backend::Package::registerPackage ( sal_Bool  startup,
css::uno::Reference< css::task::XAbortChannel > const &  xAbortChannel,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
overridevirtual

Definition at line 683 of file dp_backend.cxx.

References m_bRemoved, and processPackage_impl().

void dp_registry::backend::Package::removeEventListener ( css::uno::Reference< css::lang::XEventListener > const &  xListener)
overridevirtual

Definition at line 369 of file dp_backend.cxx.

void dp_registry::backend::Package::removeModifyListener ( css::uno::Reference< css::util::XModifyListener > const &  xListener)
overridevirtual

Definition at line 387 of file dp_backend.cxx.

References check().

void dp_registry::backend::Package::revokePackage ( sal_Bool  startup,
css::uno::Reference< css::task::XAbortChannel > const &  xAbortChannel,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv 
)
overridevirtual

Definition at line 694 of file dp_backend.cxx.

References processPackage_impl().

Member Data Documentation

const bool dp_registry::backend::Package::m_bRemoved
protected
OUString dp_registry::backend::Package::m_displayName
protected
const OUString dp_registry::backend::Package::m_identifier
protected

Definition at line 68 of file dp_backend.h.

Referenced by getIdentifier().

::rtl::Reference<PackageRegistryBackend> dp_registry::backend::Package::m_myBackend
protected
OUString dp_registry::backend::Package::m_name
protected
const OUString dp_registry::backend::Package::m_url
protected

Definition at line 62 of file dp_backend.h.

Referenced by getURL().

const css::uno::Reference<css::deployment::XPackageTypeInfo> dp_registry::backend::Package::m_xPackageType
protected

Definition at line 65 of file dp_backend.h.

Referenced by getPackageType().


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