LibreOffice Module connectivity (master) 1
|
#include <pq_xtables.hxx>
Public Member Functions | |
virtual void SAL_CALL | appendByDescriptor (const css::uno::Reference< css::beans::XPropertySet > &descriptor) override |
virtual void SAL_CALL | dropByIndex (sal_Int32 index) override |
virtual void SAL_CALL | refresh () override |
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL | createDataDescriptor () override |
Public Member Functions inherited from pq_sdbc_driver::Container | |
Container (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, css::uno::Reference< css::sdbc::XConnection > origin, ConnectionSettings *pSettings, OUString type) | |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | appendByDescriptor (const css::uno::Reference< css::beans::XPropertySet > &descriptor) override |
void | append (const OUString &str, const css::uno::Reference< css::beans::XPropertySet > &descriptor) |
virtual void SAL_CALL | dropByName (const OUString &elementName) override |
virtual void SAL_CALL | dropByIndex (sal_Int32 index) override |
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL | createDataDescriptor () override=0 |
virtual void SAL_CALL | refresh () override |
virtual void SAL_CALL | addRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override |
virtual void SAL_CALL | removeRefreshListener (const css::uno::Reference< css::util::XRefreshListener > &l) override |
virtual void SAL_CALL | addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override |
virtual void SAL_CALL | removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override |
virtual void SAL_CALL | disposing () override |
void | rename (const OUString &oldName, const OUString &newName) |
Static Public Member Functions | |
static css::uno::Reference< css::container::XNameAccess > | create (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, const css::uno::Reference< css::sdbc::XConnection > &origin, ConnectionSettings *pSettings, rtl::Reference< Tables > *ppTables) |
Protected Member Functions | |
Tables (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, const css::uno::Reference< css::sdbc::XConnection > &origin, ConnectionSettings *pSettings) | |
virtual | ~Tables () override |
virtual void SAL_CALL | disposing () override |
Protected Member Functions inherited from pq_sdbc_driver::Container | |
void | fire (const EventBroadcastHelper &helper) |
Additional Inherited Members | |
Protected Attributes inherited from pq_sdbc_driver::Container | |
::rtl::Reference< comphelper::RefCountedMutex > | m_xMutex |
ConnectionSettings * | m_pSettings |
css::uno::Reference< css::sdbc::XConnection > | m_origin |
String2IntMap | m_name2index |
std::vector< css::uno::Any > | m_values |
OUString | m_type |
Definition at line 50 of file pq_xtables.hxx.
|
protected |
|
overrideprotectedvirtual |
Definition at line 82 of file pq_xtables.cxx.
|
overridevirtual |
Reimplemented from pq_sdbc_driver::Container.
Definition at line 236 of file pq_xtables.cxx.
References pq_sdbc_driver::appendColumnList(), pq_sdbc_driver::appendKeyList(), pq_sdbc_driver::bufferQuoteConstant(), pq_sdbc_driver::bufferQuoteQualifiedIdentifier(), pq_sdbc_driver::TransactionGuard::commit(), pq_sdbc_driver::Statics::DESCRIPTION, pq_sdbc_driver::disposeNoThrow(), pq_sdbc_driver::TransactionGuard::executeUpdate(), pq_sdbc_driver::extractStringProperty(), pq_sdbc_driver::getStatics(), pq_sdbc_driver::Container::m_origin, pq_sdbc_driver::Container::m_pSettings, pq_sdbc_driver::Container::m_xMutex, name, pq_sdbc_driver::Statics::NAME, refresh(), and pq_sdbc_driver::Statics::SCHEMA_NAME.
|
static |
Definition at line 355 of file pq_xtables.cxx.
References Tables().
Referenced by pq_sdbc_driver::Connection::getTables().
|
overridevirtual |
Implements pq_sdbc_driver::Container.
Definition at line 350 of file pq_xtables.cxx.
References pq_sdbc_driver::Container::m_origin, pq_sdbc_driver::Container::m_pSettings, and pq_sdbc_driver::Container::m_xMutex.
|
overrideprotectedvirtual |
Reimplemented from pq_sdbc_driver::Container.
Definition at line 177 of file pq_xcontainer.cxx.
References aName, and pq_sdbc_driver::Container::m_name2index.
|
overridevirtual |
Reimplemented from pq_sdbc_driver::Container.
Definition at line 311 of file pq_xtables.cxx.
References pq_sdbc_driver::bufferQuoteQualifiedIdentifier(), pq_sdbc_driver::concatQualified(), pq_sdbc_driver::Container::dropByIndex(), pq_sdbc_driver::extractStringProperty(), pq_sdbc_driver::getStatics(), index, pq_sdbc_driver::Container::m_origin, pq_sdbc_driver::Container::m_pSettings, pq_sdbc_driver::Container::m_values, pq_sdbc_driver::Container::m_xMutex, o3tl::make_unsigned(), name, pq_sdbc_driver::Statics::NAME, pq_sdbc_driver::ConnectionSettings::pViewsImpl, pq_sdbc_driver::Statics::SCHEMA_NAME, set(), pq_sdbc_driver::Statics::TYPE, update(), pq_sdbc_driver::Statics::VIEW, and pq_sdbc_driver::ConnectionSettings::views.
|
overridevirtual |
Reimplemented from pq_sdbc_driver::Container.
Definition at line 85 of file pq_xtables.cxx.
References Any, pq_sdbc_driver::Statics::CATALOG_NAME, pq_sdbc_driver::Statics::cPERCENT, pq_sdbc_driver::Statics::DESCRIPTION, pq_sdbc_driver::Container::fire(), cppu::getCaughtException(), pq_sdbc_driver::getStatics(), pq_sdbc_driver::Container::m_name2index, pq_sdbc_driver::Container::m_origin, pq_sdbc_driver::Container::m_pSettings, pq_sdbc_driver::Container::m_values, pq_sdbc_driver::Container::m_xMutex, map, name, pq_sdbc_driver::Statics::NAME, pq_sdbc_driver::Statics::PRIVILEGES, pq_sdbc_driver::Statics::SCHEMA_NAME, pq_sdbc_driver::TABLE_INDEX_CATALOG, pq_sdbc_driver::TABLE_INDEX_NAME, pq_sdbc_driver::TABLE_INDEX_REMARKS, pq_sdbc_driver::TABLE_INDEX_SCHEMA, pq_sdbc_driver::TABLE_INDEX_TYPE, and pq_sdbc_driver::Statics::TYPE.
Referenced by appendByDescriptor().