LibreOffice Module dbaccess (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaccess::SubComponentRecovery Class Reference

#include <subcomponentrecovery.hxx>

Collaboration diagram for dbaccess::SubComponentRecovery:
[legend]

Public Member Functions

 SubComponentRecovery (const css::uno::Reference< css::uno::XComponentContext > &i_rContext, const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &i_rController, css::uno::Reference< css::lang::XComponent > i_xComponent)
 
 SubComponentRecovery (const css::uno::Reference< css::uno::XComponentContext > &i_rContext, const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &i_rController, const SubComponentType i_eType)
 
void saveToRecoveryStorage (const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, MapCompTypeToCompDescs &io_mapCompDescs)
 
css::uno::Reference< css::lang::XComponent > recoverFromStorage (const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, const OUString &i_rComponentName, const bool i_bForEditing)
 

Static Public Member Functions

static OUString getComponentsStorageName (const SubComponentType i_eType)
 

Private Member Functions

void impl_saveSubDocument_throw (const css::uno::Reference< css::embed::XStorage > &i_rObjectStorage)
 
void impl_saveQueryDesign_throw (const css::uno::Reference< css::embed::XStorage > &i_rObjectStorage)
 
css::uno::Reference< css::lang::XComponent > impl_recoverSubDocument_throw (const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, const OUString &i_rComponentName, const bool i_bForEditing)
 
css::uno::Reference< css::lang::XComponent > impl_recoverQueryDesign_throw (const css::uno::Reference< css::embed::XStorage > &i_rRecoveryStorage, const OUString &i_rComponentName, const bool i_bForEditing)
 
void impl_identifyComponent_throw ()
 

Private Attributes

const css::uno::Reference< css::uno::XComponentContext > & m_rContext
 
css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > m_xDocumentUI
 
const css::uno::Reference< css::lang::XComponent > m_xComponent
 
SubComponentType m_eType
 
SubComponentDescriptor m_aCompDesc
 

Detailed Description

Definition at line 33 of file subcomponentrecovery.hxx.

Constructor & Destructor Documentation

◆ SubComponentRecovery() [1/2]

dbaccess::SubComponentRecovery::SubComponentRecovery ( const css::uno::Reference< css::uno::XComponentContext > &  i_rContext,
const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &  i_rController,
css::uno::Reference< css::lang::XComponent >  i_xComponent 
)
inline

Definition at line 36 of file subcomponentrecovery.hxx.

References impl_identifyComponent_throw().

◆ SubComponentRecovery() [2/2]

dbaccess::SubComponentRecovery::SubComponentRecovery ( const css::uno::Reference< css::uno::XComponentContext > &  i_rContext,
const css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > &  i_rController,
const SubComponentType  i_eType 
)
inline

Definition at line 49 of file subcomponentrecovery.hxx.

Member Function Documentation

◆ getComponentsStorageName()

OUString dbaccess::SubComponentRecovery::getComponentsStorageName ( const SubComponentType  i_eType)
static

◆ impl_identifyComponent_throw()

void dbaccess::SubComponentRecovery::impl_identifyComponent_throw ( )
private

◆ impl_recoverQueryDesign_throw()

Reference< XComponent > dbaccess::SubComponentRecovery::impl_recoverQueryDesign_throw ( const css::uno::Reference< css::embed::XStorage > &  i_rRecoveryStorage,
const OUString &  i_rComponentName,
const bool  i_bForEditing 
)
private

◆ impl_recoverSubDocument_throw()

Reference< XComponent > dbaccess::SubComponentRecovery::impl_recoverSubDocument_throw ( const css::uno::Reference< css::embed::XStorage > &  i_rRecoveryStorage,
const OUString &  i_rComponentName,
const bool  i_bForEditing 
)
private

◆ impl_saveQueryDesign_throw()

void dbaccess::SubComponentRecovery::impl_saveQueryDesign_throw ( const css::uno::Reference< css::embed::XStorage > &  i_rObjectStorage)
private

◆ impl_saveSubDocument_throw()

void dbaccess::SubComponentRecovery::impl_saveSubDocument_throw ( const css::uno::Reference< css::embed::XStorage > &  i_rObjectStorage)
private

◆ recoverFromStorage()

Reference< XComponent > dbaccess::SubComponentRecovery::recoverFromStorage ( const css::uno::Reference< css::embed::XStorage > &  i_rRecoveryStorage,
const OUString &  i_rComponentName,
const bool  i_bForEditing 
)

◆ saveToRecoveryStorage()

void dbaccess::SubComponentRecovery::saveToRecoveryStorage ( const css::uno::Reference< css::embed::XStorage > &  i_rRecoveryStorage,
MapCompTypeToCompDescs io_mapCompDescs 
)

Member Data Documentation

◆ m_aCompDesc

SubComponentDescriptor dbaccess::SubComponentRecovery::m_aCompDesc
private

◆ m_eType

SubComponentType dbaccess::SubComponentRecovery::m_eType
private

◆ m_rContext

const css::uno::Reference< css::uno::XComponentContext >& dbaccess::SubComponentRecovery::m_rContext
private

◆ m_xComponent

const css::uno::Reference< css::lang::XComponent > dbaccess::SubComponentRecovery::m_xComponent
private

◆ m_xDocumentUI

css::uno::Reference< css::sdb::application::XDatabaseDocumentUI > dbaccess::SubComponentRecovery::m_xDocumentUI
private

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