LibreOffice Module connectivity (master) 1
Public Member Functions | Private Attributes | List of all members
connectivity::mysqlc::Catalog Class Reference

#include <mysqlc_catalog.hxx>

Inheritance diagram for connectivity::mysqlc::Catalog:
[legend]
Collaboration diagram for connectivity::mysqlc::Catalog:
[legend]

Public Member Functions

 Catalog (const css::uno::Reference< css::sdbc::XConnection > &rConnection)
 
virtual void refreshTables () override
 
virtual void refreshViews () override
 
virtual void refreshGroups () override
 
virtual void refreshUsers () override
 
sdbcx::OCollectiongetPrivateTables () const
 
- 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
 

Private Attributes

css::uno::Reference< css::sdbc::XConnection > m_xConnection
 

Additional Inherited Members

- 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 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 16 of file mysqlc_catalog.hxx.

Constructor & Destructor Documentation

◆ Catalog()

connectivity::mysqlc::Catalog::Catalog ( const css::uno::Reference< css::sdbc::XConnection > &  rConnection)
explicit

Definition at line 14 of file mysqlc_catalog.cxx.

References m_xConnection.

Member Function Documentation

◆ getPrivateTables()

sdbcx::OCollection * connectivity::mysqlc::Catalog::getPrivateTables ( ) const
inline

Definition at line 33 of file mysqlc_catalog.hxx.

References connectivity::sdbcx::OCatalog::m_pTables.

◆ refreshGroups()

void connectivity::mysqlc::Catalog::refreshGroups ( )
overridevirtual

Implements connectivity::sdbcx::IRefreshableGroups.

Definition at line 59 of file mysqlc_catalog.cxx.

◆ refreshTables()

void connectivity::mysqlc::Catalog::refreshTables ( )
overridevirtual

Implements connectivity::sdbcx::OCatalog.

Definition at line 22 of file mysqlc_catalog.cxx.

References m_aMutex, and m_xConnection.

◆ refreshUsers()

void connectivity::mysqlc::Catalog::refreshUsers ( )
overridevirtual

Implements connectivity::sdbcx::IRefreshableUsers.

Definition at line 65 of file mysqlc_catalog.cxx.

◆ refreshViews()

void connectivity::mysqlc::Catalog::refreshViews ( )
overridevirtual

Implements connectivity::sdbcx::OCatalog.

Definition at line 40 of file mysqlc_catalog.cxx.

References m_aMutex, and m_xConnection.

Member Data Documentation

◆ m_xConnection

css::uno::Reference<css::sdbc::XConnection> connectivity::mysqlc::Catalog::m_xConnection
private

Definition at line 18 of file mysqlc_catalog.hxx.


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