LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
connectivity::file::OFileCatalog Class Reference

#include <FCatalog.hxx>

Inheritance diagram for connectivity::file::OFileCatalog:
[legend]
Collaboration diagram for connectivity::file::OFileCatalog:
[legend]

Public Member Functions

virtual void refreshTables () override
 
virtual void refreshViews () override
 
virtual void refreshGroups () override
 
virtual void refreshUsers () override
 
 OFileCatalog (OConnection *_pCon)
 
OConnectiongetConnection ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL disposing () override
 
- Public Member Functions inherited from connectivity::sdbcx::OCatalog
 OCatalog (const css::uno::Reference< css::sdbc::XConnection > &_xConnection)
 
virtual ~OCatalog () override
 
 DECLARE_SERVICE_INFO ()
 
virtual void refreshTables ()=0
 
virtual void refreshViews ()=0
 
virtual void SAL_CALL disposing () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTables () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getViews () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getUsers () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getGroups () override
 
virtual void refreshGroups ()=0
 
virtual void refreshUsers ()=0
 

Protected Member Functions

virtual OUString buildName (const css::uno::Reference< css::sdbc::XRow > &_xRow) override
 builds the name which should be used to access the object later on in the collection. More...
 
- Protected Member Functions inherited from connectivity::sdbcx::OCatalog
virtual OUString buildName (const css::uno::Reference< css::sdbc::XRow > &_xRow)
 builds the name which should be used to access the object later on in the collection. More...
 
void fillNames (css::uno::Reference< css::sdbc::XResultSet > &_xResult,::std::vector< OUString > &_rNames)
 fills a vector with the necessary names which can be used in combination with the collections. More...
 
- Protected Member Functions inherited from connectivity::sdbcx::IRefreshableGroups
 ~IRefreshableGroups ()
 
- Protected Member Functions inherited from connectivity::sdbcx::IRefreshableUsers
 ~IRefreshableUsers ()
 

Protected Attributes

OConnectionm_pConnection
 
- Protected Attributes inherited from connectivity::sdbcx::OCatalog
::osl::Mutex m_aMutex
 
std::unique_ptr< OCollectionm_pTables
 
std::unique_ptr< OCollectionm_pViews
 
std::unique_ptr< OCollectionm_pGroups
 
std::unique_ptr< OCollectionm_pUsers
 
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData
 

Detailed Description

Definition at line 29 of file FCatalog.hxx.

Constructor & Destructor Documentation

◆ OFileCatalog()

OFileCatalog::OFileCatalog ( OConnection _pCon)

Definition at line 35 of file FCatalog.cxx.

Member Function Documentation

◆ buildName()

OUString OFileCatalog::buildName ( const css::uno::Reference< css::sdbc::XRow > &  _xRow)
overrideprotectedvirtual

builds the name which should be used to access the object later on in the collection.

Will only be called in fillNames.

Parameters
_xRowThe current row from the resultset given to fillNames.

Reimplemented from connectivity::sdbcx::OCatalog.

Definition at line 49 of file FCatalog.cxx.

◆ disposing()

void SAL_CALL OFileCatalog::disposing ( )
overridevirtual

◆ getConnection()

OConnection * connectivity::file::OFileCatalog::getConnection ( )
inline

Definition at line 50 of file FCatalog.hxx.

◆ getTypes()

Sequence< Type > SAL_CALL OFileCatalog::getTypes ( )
overridevirtual

Definition at line 81 of file FCatalog.cxx.

References aTypes.

◆ queryInterface()

Any SAL_CALL OFileCatalog::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Definition at line 69 of file FCatalog.cxx.

References Any.

◆ refreshGroups()

void OFileCatalog::refreshGroups ( )
overridevirtual

Implements connectivity::sdbcx::IRefreshableGroups.

Definition at line 34 of file FNoException.cxx.

◆ refreshTables()

void OFileCatalog::refreshTables ( )
overridevirtual

◆ refreshUsers()

void OFileCatalog::refreshUsers ( )
overridevirtual

Implements connectivity::sdbcx::IRefreshableUsers.

Definition at line 36 of file FNoException.cxx.

◆ refreshViews()

void OFileCatalog::refreshViews ( )
overridevirtual

Implements connectivity::sdbcx::OCatalog.

Definition at line 32 of file FNoException.cxx.

Member Data Documentation

◆ m_pConnection

OConnection* connectivity::file::OFileCatalog::m_pConnection
protected

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