LibreOffice Module connectivity (master) 1
|
#include <NCatalog.hxx>
Public Member Functions | |
OEvoabCatalog (OEvoabConnection *_pCon) | |
OEvoabConnection * | getConnection () const |
virtual void | refreshTables () override |
virtual void | refreshViews () override |
virtual void | refreshGroups () override |
virtual void | refreshUsers () override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getTables () 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 |
Private Attributes | |
OEvoabConnection * | m_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< OCollection > | m_pTables |
std::unique_ptr< OCollection > | m_pViews |
std::unique_ptr< OCollection > | m_pGroups |
std::unique_ptr< OCollection > | m_pUsers |
css::uno::Reference< css::sdbc::XDatabaseMetaData > | m_xMetaData |
Definition at line 27 of file NCatalog.hxx.
|
explicit |
Definition at line 35 of file NCatalog.cxx.
|
inline |
Definition at line 32 of file NCatalog.hxx.
References m_pConnection.
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OCatalog.
Definition at line 64 of file NCatalog.cxx.
References Exception, connectivity::sdbcx::OCatalog::m_aMutex, connectivity::sdbcx::OCatalog::m_pTables, and refreshTables().
|
inlineoverridevirtual |
Implements connectivity::sdbcx::IRefreshableGroups.
Definition at line 35 of file NCatalog.hxx.
|
overridevirtual |
Implements connectivity::sdbcx::OCatalog.
Definition at line 40 of file NCatalog.cxx.
References aName, Any, aTypes, connectivity::sdbcx::OCatalog::m_aMutex, connectivity::sdbcx::OCatalog::m_pTables, and connectivity::sdbcx::OCatalog::m_xMetaData.
Referenced by getTables().
|
inlineoverridevirtual |
Implements connectivity::sdbcx::IRefreshableUsers.
Definition at line 36 of file NCatalog.hxx.
|
inlineoverridevirtual |
Implements connectivity::sdbcx::OCatalog.
Definition at line 34 of file NCatalog.hxx.
|
private |
Definition at line 29 of file NCatalog.hxx.
Referenced by getConnection().