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

Classes

class  PackageImpl
 

Public Member Functions

 BackendImpl (Sequence< Any > const &args, Reference< XComponentContext > const &xComponentContext)
 
virtual Sequence< Reference< deployment::XPackageTypeInfo > > SAL_CALL getSupportedPackageTypes () override
 
virtual void SAL_CALL packageRemoved (OUString const &url, OUString const &mediaType) override
 
- Public Member Functions inherited from dp_registry::backend::PackageRegistryBackend
css::uno::Reference< css::uno::XComponentContext > const & getComponentContext () const
 
OUString const & getCachePath () const
 
bool transientMode () const
 
const OUString & getContext () const
 
virtual void SAL_CALL disposing (css::lang::EventObject const &evt) override
 
virtual css::uno::Reference< css::deployment::XPackage > SAL_CALL bindPackage (OUString const &url, OUString const &mediaType, sal_Bool bRemoved, OUString const &identifier, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv) override
 

Private Member Functions

virtual Reference< deployment::XPackage > bindPackage_ (OUString const &url, OUString const &mediaType, bool bRemoved, OUString const &identifier, Reference< XCommandEnvironment > const &xCmdEnv) override
 

Private Attributes

const Reference< deployment::XPackageTypeInfo > m_xTypeInfo
 

Friends

class PackageImpl
 

Additional Inherited Members

- Static Public Member Functions inherited from dp_registry::backend::PackageRegistryBackend
static OUString StrRegisteringPackage ()
 
static OUString StrRevokingPackage ()
 
- Protected Types inherited from dp_registry::backend::PackageRegistryBackend
enum  Context {
  Context::Unknown,
  Context::User,
  Context::Shared,
  Context::Bundled,
  Context::Tmp,
  Context::Document
}
 
- Protected Member Functions inherited from dp_registry::backend::PackageRegistryBackend
virtual css::uno::Reference< css::deployment::XPackage > bindPackage_ (OUString const &url, OUString const &mediaType, bool bRemoved, OUString const &identifier, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv)=0
 
void check ()
 
virtual void SAL_CALL disposing () override
 
virtual ~PackageRegistryBackend () override
 
 PackageRegistryBackend (css::uno::Sequence< css::uno::Any > const &args, css::uno::Reference< css::uno::XComponentContext > const &xContext)
 
OUString createFolder (css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv)
 
void deleteUnusedFolders (std::vector< OUString > const &usedFolders)
 
- Protected Member Functions inherited from dp_misc::MutexHolder
::osl::Mutex & getMutex () const
 
- Static Protected Member Functions inherited from dp_registry::backend::PackageRegistryBackend
static OUString StrCannotDetectMediaType ()
 
static OUString StrUnsupportedMediaType ()
 
static void deleteTempFolder (OUString const &folderUrl)
 
- Protected Attributes inherited from dp_registry::backend::PackageRegistryBackend
OUString m_cachePath
 
css::uno::Reference< css::uno::XComponentContext > m_xComponentContext
 
OUString m_context
 
enum dp_registry::backend::PackageRegistryBackend::Context m_eContext
 

Detailed Description

Definition at line 52 of file dp_sfwk.cxx.

Constructor & Destructor Documentation

dp_registry::backend::sfwk::BackendImpl::BackendImpl ( Sequence< Any > const &  args,
Reference< XComponentContext > const &  xComponentContext 
)

Definition at line 159 of file dp_sfwk.cxx.

Member Function Documentation

Reference< deployment::XPackage > dp_registry::backend::sfwk::BackendImpl::bindPackage_ ( OUString const &  url,
OUString const &  mediaType,
bool  bRemoved,
OUString const &  identifier,
Reference< XCommandEnvironment > const &  xCmdEnv 
)
overrideprivatevirtual
Sequence< Reference< deployment::XPackageTypeInfo > > dp_registry::backend::sfwk::BackendImpl::getSupportedPackageTypes ( )
overridevirtual

Definition at line 175 of file dp_sfwk.cxx.

References m_xTypeInfo.

void dp_registry::backend::sfwk::BackendImpl::packageRemoved ( OUString const &  url,
OUString const &  mediaType 
)
overridevirtual

Definition at line 180 of file dp_sfwk.cxx.

Friends And Related Function Documentation

friend class PackageImpl
friend

Definition at line 84 of file dp_sfwk.cxx.

Referenced by bindPackage_().

Member Data Documentation

const Reference<deployment::XPackageTypeInfo> dp_registry::backend::sfwk::BackendImpl::m_xTypeInfo
private

Definition at line 92 of file dp_sfwk.cxx.

Referenced by getSupportedPackageTypes().


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