LibreOffice Module connectivity (master) 1
|
#include <MacabConnection.hxx>
Public Member Functions | |
virtual void | construct (const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) |
MacabConnection (MacabDriver *_pDriver) | |
virtual | ~MacabConnection () override |
virtual void SAL_CALL | disposing () override |
DECLARE_SERVICE_INFO () | |
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 |
css::uno::Reference< css::sdbcx::XTablesSupplier > | createCatalog () |
MacabDriver * | getDriver () const |
MacabAddressBook * | getAddressBook () const |
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 |
Protected Attributes | |
MacabAddressBook * | m_pAddressBook |
MacabDriver * | m_pDriver |
css::uno::Reference< css::sdbcx::XTablesSupplier > | m_xCatalog |
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 |
Private Member Functions | |
bool | doIsClosed () |
void | doClose () |
Additional Inherited Members | |
Static Public Member Functions inherited from connectivity::OMetaConnection | |
::dbtools::OPropertyMap & | getPropMap () |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
Definition at line 45 of file MacabConnection.hxx.
|
explicit |
Definition at line 41 of file MacabConnection.cxx.
|
overridevirtual |
Definition at line 48 of file MacabConnection.cxx.
References doClose(), doIsClosed(), and m_pDriver.
|
overridevirtual |
Definition at line 263 of file MacabConnection.cxx.
|
overridevirtual |
Definition at line 242 of file MacabConnection.cxx.
References doClose().
|
overridevirtual |
Definition at line 126 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
virtual |
css::sdbc::SQLException |
Definition at line 57 of file MacabConnection.cxx.
References m_pAddressBook, and m_refCount.
Referenced by connectivity::macab::MacabDriver::connect().
Reference< XTablesSupplier > MacabConnection::createCatalog | ( | ) |
Definition at line 292 of file MacabConnection.cxx.
References connectivity::OMetaConnection::m_aMutex, and m_xCatalog.
|
overridevirtual |
Definition at line 68 of file MacabConnection.cxx.
References connectivity::checkDisposed(), connectivity::OMetaConnection::m_aMutex, and connectivity::OMetaConnection::m_aStatements.
connectivity::macab::MacabConnection::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Reimplemented from connectivity::OMetaConnection.
Definition at line 268 of file MacabConnection.cxx.
References connectivity::OMetaConnection::disposing(), connectivity::OMetaConnection::m_aMutex, connectivity::OMetaConnection::m_aStatements, m_pAddressBook, and connectivity::OMetaConnection::m_xMetaData.
|
private |
Definition at line 247 of file MacabConnection.cxx.
References connectivity::checkDisposed(), dispose(), and connectivity::OMetaConnection::m_aMutex.
Referenced by close(), and ~MacabConnection().
|
private |
Definition at line 147 of file MacabConnection.cxx.
References connectivity::OMetaConnection::m_aMutex.
Referenced by isClosed(), and ~MacabConnection().
MacabAddressBook * MacabConnection::getAddressBook | ( | ) | const |
Definition at line 305 of file MacabConnection.cxx.
References m_pAddressBook.
Referenced by connectivity::macab::MacabCommonStatement::executeQuery(), connectivity::macab::MacabResultSetMetaData::getColumnName(), connectivity::macab::MacabResultSetMetaData::getColumnType(), and connectivity::macab::MacabResultSetMetaData::setMacabFields().
|
overridevirtual |
Definition at line 116 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 197 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
inline |
Definition at line 105 of file MacabConnection.hxx.
References m_pDriver.
|
overridevirtual |
Definition at line 155 of file MacabConnection.cxx.
References connectivity::checkDisposed(), connectivity::OMetaConnection::m_aMutex, and connectivity::OMetaConnection::m_xMetaData.
Referenced by connectivity::macab::MacabColumns::createObject(), and connectivity::macab::MacabTable::refreshColumns().
|
overridevirtual |
Definition at line 216 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 226 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 257 of file MacabConnection.cxx.
References Any.
|
overridevirtual |
Definition at line 142 of file MacabConnection.cxx.
References doIsClosed().
|
overridevirtual |
Definition at line 180 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 101 of file MacabConnection.cxx.
References connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 92 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 80 of file MacabConnection.cxx.
References connectivity::checkDisposed(), connectivity::OMetaConnection::m_aMutex, and connectivity::OMetaConnection::m_aStatements.
|
overridevirtual |
Definition at line 134 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 109 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 189 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 172 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 207 of file MacabConnection.cxx.
References connectivity::checkDisposed(), and connectivity::OMetaConnection::m_aMutex.
|
overridevirtual |
Definition at line 236 of file MacabConnection.cxx.
|
protected |
Definition at line 51 of file MacabConnection.hxx.
Referenced by construct(), disposing(), and getAddressBook().
|
protected |
Definition at line 52 of file MacabConnection.hxx.
Referenced by getDriver(), and ~MacabConnection().
|
protected |
Definition at line 54 of file MacabConnection.hxx.
Referenced by createCatalog().