LibreOffice Module connectivity (master) 1
|
#include <NConnection.hxx>
Public Member Functions | |
OEvoabConnection (OEvoabDriver const &_rDriver) | |
void | construct (const OUString &_rUrl, const css::uno::Sequence< css::beans::PropertyValue > &_rInfo) |
void | setPassword (OString const &aStr) |
const OEvoabDriver & | getDriver () const |
SDBCAddress::sdbc_address_type | getSDBCAddressType () const |
void | setSDBCAddressType (SDBCAddress::sdbc_address_type _eSDBCAddressType) |
virtual void SAL_CALL | disposing () override |
DECLARE_SERVICE_INFO () | |
css::uno::Reference< css::sdbcx::XTablesSupplier > | createCatalog () |
virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL | createStatement () override |
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL | prepareStatement (const OUString &sql) override |
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL | prepareCall (const OUString &sql) override |
virtual OUString SAL_CALL | nativeSQL (const OUString &sql) override |
virtual void SAL_CALL | setAutoCommit (sal_Bool autoCommit) override |
virtual sal_Bool SAL_CALL | getAutoCommit () override |
virtual void SAL_CALL | commit () override |
virtual void SAL_CALL | rollback () override |
virtual sal_Bool SAL_CALL | isClosed () override |
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL | getMetaData () override |
virtual void SAL_CALL | setReadOnly (sal_Bool readOnly) override |
virtual sal_Bool SAL_CALL | isReadOnly () override |
virtual void SAL_CALL | setCatalog (const OUString &catalog) override |
virtual OUString SAL_CALL | getCatalog () override |
virtual void SAL_CALL | setTransactionIsolation (sal_Int32 level) override |
virtual sal_Int32 SAL_CALL | getTransactionIsolation () override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getTypeMap () override |
virtual void SAL_CALL | setTypeMap (const css::uno::Reference< css::container::XNameAccess > &typeMap) override |
virtual void SAL_CALL | close () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
Public Member Functions inherited from connectivity::OMetaConnection | |
OMetaConnection () | |
rtl_TextEncoding | getTextEncoding () const |
const OUString & | getURL () const |
void | setURL (const OUString &_rsUrl) |
void | throwGenericSQLException (TranslateId pErrorResourceId, const css::uno::Reference< css::uno::XInterface > &_xContext) |
const SharedResources & | getResources () const |
void | setConnectionInfo (const css::uno::Sequence< css::beans::PropertyValue > &_aInfo) |
const css::uno::Sequence< css::beans::PropertyValue > & | getConnectionInfo () const |
virtual void SAL_CALL | disposing () override |
virtual sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override |
Private Member Functions | |
virtual | ~OEvoabConnection () override |
Private Attributes | |
const OEvoabDriver & | m_rDriver |
SDBCAddress::sdbc_address_type | m_eSDBCAddressType |
css::uno::Reference< css::sdbcx::XTablesSupplier > | m_xCatalog |
OString | m_aPassword |
::dbtools::WarningsContainer | m_aWarnings |
Additional Inherited Members | |
Static Public Member Functions inherited from connectivity::OMetaConnection | |
::dbtools::OPropertyMap & | getPropMap () |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
Protected Attributes inherited from connectivity::OMetaConnection | |
::osl::Mutex | m_aMutex |
css::uno::Sequence< css::beans::PropertyValue > | m_aConnectionInfo |
connectivity::OWeakRefArray | m_aStatements |
OUString | m_sURL |
rtl_TextEncoding | m_nTextEncoding |
css::uno::WeakReference< css::sdbc::XDatabaseMetaData > | m_xMetaData |
SharedResources | m_aResources |
Definition at line 46 of file NConnection.hxx.
|
overrideprivatevirtual |
Definition at line 47 of file NConnection.cxx.
References close(), isClosed(), and connectivity::OMetaConnection::m_aMutex.
|
explicit |
Definition at line 41 of file NConnection.cxx.
|
overridevirtual |
Definition at line 177 of file NConnection.cxx.
References dbtools::WarningsContainer::clearWarnings(), and m_aWarnings.
|
overridevirtual |
Definition at line 162 of file NConnection.cxx.
References connectivity::checkDisposed(), dispose(), and connectivity::OMetaConnection::m_aMutex.
Referenced by ~OEvoabConnection().
|
overridevirtual |
Definition at line 199 of file NConnection.cxx.
void OEvoabConnection::construct | ( | const OUString & | _rUrl, |
const css::uno::Sequence< css::beans::PropertyValue > & | _rInfo | ||
) |
css::sdbc::SQLException |
Definition at line 63 of file NConnection.cxx.
References connectivity::evoab::SDBCAddress::EVO_GWISE, connectivity::evoab::SDBCAddress::EVO_LDAP, connectivity::evoab::SDBCAddress::EVO_LOCAL, m_refCount, pq_sdbc_driver::OUStringToOString(), and SAL_INFO.
css::uno::Reference< XTablesSupplier > OEvoabConnection::createCatalog | ( | ) |
Definition at line 115 of file NConnection.cxx.
References connectivity::OMetaConnection::m_aMutex, and m_xCatalog.
|
overridevirtual |
Definition at line 127 of file NConnection.cxx.
References connectivity::checkDisposed(), connectivity::OMetaConnection::m_aMutex, and connectivity::OMetaConnection::m_aStatements.
connectivity::evoab::OEvoabConnection::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Reimplemented from connectivity::OMetaConnection.
Definition at line 183 of file NConnection.cxx.
References connectivity::OMetaConnection::disposing(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 195 of file NConnection.cxx.
|
overridevirtual |
Definition at line 218 of file NConnection.cxx.
|
inline |
Definition at line 65 of file NConnection.hxx.
References m_rDriver.
|
overridevirtual |
Definition at line 100 of file NConnection.cxx.
References connectivity::checkDisposed(), connectivity::OMetaConnection::m_aMutex, and connectivity::OMetaConnection::m_xMetaData.
Referenced by connectivity::evoab::OEvoabColumns::createObject(), and connectivity::evoab::OEvoabTable::refreshColumns().
|
inline |
Definition at line 67 of file NConnection.hxx.
References m_eSDBCAddressType.
Referenced by connectivity::evoab::OEvoabDatabaseMetaData::getTables().
|
overridevirtual |
Definition at line 227 of file NConnection.cxx.
|
overridevirtual |
Definition at line 232 of file NConnection.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
overridevirtual |
Definition at line 173 of file NConnection.cxx.
References Any, dbtools::WarningsContainer::getWarnings(), and m_aWarnings.
|
overridevirtual |
Definition at line 154 of file NConnection.cxx.
References connectivity::OMetaConnection::m_aMutex.
Referenced by ~OEvoabConnection().
|
overridevirtual |
Definition at line 209 of file NConnection.cxx.
|
overridevirtual |
Definition at line 94 of file NConnection.cxx.
|
overridevirtual |
Definition at line 149 of file NConnection.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
overridevirtual |
Definition at line 137 of file NConnection.cxx.
References connectivity::checkDisposed(), connectivity::OMetaConnection::m_aMutex, and connectivity::OMetaConnection::m_aStatements.
|
overridevirtual |
Definition at line 202 of file NConnection.cxx.
|
overridevirtual |
Definition at line 191 of file NConnection.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
overridevirtual |
Definition at line 213 of file NConnection.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
inline |
Definition at line 63 of file NConnection.hxx.
References aStr, and m_aPassword.
|
overridevirtual |
Definition at line 205 of file NConnection.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
inline |
Definition at line 68 of file NConnection.hxx.
References m_eSDBCAddressType.
|
overridevirtual |
Definition at line 222 of file NConnection.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
overridevirtual |
Definition at line 237 of file NConnection.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
private |
Definition at line 53 of file NConnection.hxx.
Referenced by setPassword().
|
private |
Definition at line 54 of file NConnection.hxx.
Referenced by clearWarnings(), and getWarnings().
|
private |
Definition at line 50 of file NConnection.hxx.
Referenced by getSDBCAddressType(), and setSDBCAddressType().
|
private |
Definition at line 49 of file NConnection.hxx.
Referenced by getDriver().
|
private |
Definition at line 52 of file NConnection.hxx.
Referenced by createCatalog().