22#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
23#include <com/sun/star/sdbcx/XViewsSupplier.hpp>
24#include <com/sun/star/sdbcx/XUsersSupplier.hpp>
25#include <com/sun/star/sdbcx/XGroupsSupplier.hpp>
27#include <com/sun/star/lang/XServiceInfo.hpp>
46 typedef ::cppu::WeakComponentImplHelper< css::sdbcx::XTablesSupplier,
47 css::sdbcx::XViewsSupplier,
48 css::sdbcx::XUsersSupplier,
49 css::sdbcx::XGroupsSupplier,
69 css::uno::Reference< css::sdbc::XDatabaseMetaData >
m_xMetaData;
76 virtual OUString buildName(
const css::uno::Reference< css::sdbc::XRow >& _xRow);
85 void fillNames(css::uno::Reference< css::sdbc::XResultSet >& _xResult,::std::vector< OUString>& _rNames);
88 OCatalog(
const css::uno::Reference< css::sdbc::XConnection> &_xConnection);
102 virtual void SAL_CALL disposing()
override;
104 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTables( )
override;
106 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getViews( )
override;
108 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getUsers( )
override;
110 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getGroups( )
override;
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData
std::unique_ptr< OCollection > m_pTables
std::unique_ptr< OCollection > m_pGroups
virtual void refreshTables()=0
OCatalog(const css::uno::Reference< css::sdbc::XConnection > &_xConnection)
std::unique_ptr< OCollection > m_pViews
virtual void refreshViews()=0
std::unique_ptr< OCollection > m_pUsers
::cppu::WeakComponentImplHelper< css::sdbcx::XTablesSupplier, css::sdbcx::XViewsSupplier, css::sdbcx::XUsersSupplier, css::sdbcx::XGroupsSupplier, css::lang::XServiceInfo > OCatalog_BASE