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

#include <ACatalog.hxx>

Inheritance diagram for connectivity::ado::OCatalog:
[legend]
Collaboration diagram for connectivity::ado::OCatalog:
[legend]

Public Member Functions

virtual void refreshTables () override
 
virtual void refreshViews () override
 
virtual void refreshGroups () override
 
virtual void refreshUsers () override
 
 OCatalog (_ADOCatalog *_pCatalog, OConnection *_pCon)
 
 ~OCatalog () override
 
OConnectiongetConnection () const
 
sdbcx::OCollectiongetPrivateTables () const
 
WpADOCatalog getCatalog () 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

WpADOCatalog m_aCatalog
 
OConnectionm_pConnection
 

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 28 of file ACatalog.hxx.

Constructor & Destructor Documentation

◆ OCatalog()

OCatalog::OCatalog ( _ADOCatalog *  _pCatalog,
OConnection _pCon 
)

Definition at line 33 of file ACatalog.cxx.

◆ ~OCatalog()

OCatalog::~OCatalog ( )
overridevirtual

Member Function Documentation

◆ getCatalog()

WpADOCatalog connectivity::ado::OCatalog::getCatalog ( ) const
inline

◆ getConnection()

OConnection * connectivity::ado::OCatalog::getConnection ( ) const
inline

◆ getPrivateTables()

sdbcx::OCollection * connectivity::ado::OCatalog::getPrivateTables ( ) const
inline

Definition at line 44 of file ACatalog.hxx.

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

◆ refreshGroups()

void OCatalog::refreshGroups ( )
overridevirtual

◆ refreshTables()

void OCatalog::refreshTables ( )
overridevirtual

◆ refreshUsers()

void OCatalog::refreshUsers ( )
overridevirtual

◆ refreshViews()

void OCatalog::refreshViews ( )
overridevirtual

Member Data Documentation

◆ m_aCatalog

WpADOCatalog connectivity::ado::OCatalog::m_aCatalog
private

◆ m_pConnection

OConnection* connectivity::ado::OCatalog::m_pConnection
private

Definition at line 31 of file ACatalog.hxx.

Referenced by getConnection(), refreshGroups(), refreshTables(), refreshUsers(), and refreshViews().


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