LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
connectivity::OMetaConnection Class Reference

#include <TConnection.hxx>

Inheritance diagram for connectivity::OMetaConnection:
[legend]
Collaboration diagram for connectivity::OMetaConnection:
[legend]

Public Member Functions

 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 SharedResourcesgetResources () 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
 

Static Public Member Functions

::dbtools::OPropertyMapgetPropMap ()
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Protected Attributes

::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
 

Detailed Description

Definition at line 41 of file TConnection.hxx.

Constructor & Destructor Documentation

◆ OMetaConnection()

OMetaConnection::OMetaConnection ( )

Definition at line 33 of file TConnection.cxx.

References m_aMutex.

Member Function Documentation

◆ disposing()

void OMetaConnection::disposing ( )
overridevirtual

◆ getConnectionInfo()

const css::uno::Sequence< css::beans::PropertyValue > & connectivity::OMetaConnection::getConnectionInfo ( ) const
inline

◆ getPropMap()

dbtools::OPropertyMap & OMetaConnection::getPropMap ( )
static

Definition at line 68 of file TConnection.cxx.

Referenced by connectivity::mysql::OTables::addComment(), connectivity::file::OPreparedStatement::AddParameter(), connectivity::mysqlc::Table::alterColumnByIndex(), connectivity::ado::OAdoTable::alterColumnByIndex(), connectivity::OTableHelper::alterColumnByIndex(), connectivity::hsqldb::OHSQLTable::alterColumnByName(), connectivity::mysql::OMySQLTable::alterColumnByName(), connectivity::hsqldb::OHSQLTable::alterColumnType(), connectivity::mysql::OMySQLTable::alterColumnType(), connectivity::OSQLParseTreeIterator::appendColumns(), connectivity::ado::OKeys::appendObject(), connectivity::dbase::ODbaseTables::appendObject(), connectivity::OIndexesHelper::appendObject(), connectivity::OKeysHelper::appendObject(), dbtools::askForParameters(), dbtools::collectColumnInformation(), connectivity::ODatabaseMetaDataResultSet::construct(), connectivity::file::OResultSet::construct(), connectivity::sdbcx::ODescriptor::construct(), connectivity::sdbcx::OIndex::construct(), connectivity::sdbcx::OIndexColumn::construct(), connectivity::sdbcx::OKey::construct(), connectivity::sdbcx::OKeyColumn::construct(), connectivity::firebird::Column::construct(), connectivity::mysqlc::Column::construct(), connectivity::mysqlc::Table::construct(), connectivity::ado::OAdoColumn::construct(), connectivity::ado::OUserExtend::construct(), connectivity::hsqldb::OHSQLColumn::construct(), connectivity::hsqldb::OHSQLTable::construct(), connectivity::hsqldb::OUserExtend::construct(), connectivity::mysql::OMySQLColumn::construct(), connectivity::mysql::OMySQLTable::construct(), connectivity::parse::OParseColumn::construct(), connectivity::parse::OOrderColumn::construct(), connectivity::sdbcx::OColumn::construct(), connectivity::sdbcx::OTable::construct(), connectivity::sdbcx::OView::construct(), connectivity::firebird::OStatementCommonBase::createArrayHelper(), connectivity::macab::MacabResultSet::createArrayHelper(), connectivity::macab::MacabCommonStatement::createArrayHelper(), connectivity::ado::ODatabaseMetaDataResultSet::createArrayHelper(), connectivity::ado::OResultSet::createArrayHelper(), connectivity::ado::OStatement_Base::createArrayHelper(), connectivity::java_sql_Statement_Base::createArrayHelper(), connectivity::java_sql_ResultSet::createArrayHelper(), connectivity::odbc::ODatabaseMetaDataResultSet::createArrayHelper(), connectivity::odbc::OResultSet::createArrayHelper(), connectivity::odbc::OStatement_Base::createArrayHelper(), connectivity::parse::OParseColumn::createColumnsForResultSet(), connectivity::dbase::ODbaseIndex::CreateImpl(), connectivity::dbase::ODbaseIndex::createINFEntry(), connectivity::OIndexColumns::createObject(), connectivity::OKeyColumnsHelper::createObject(), connectivity::dbase::ODbaseIndexColumns::createObject(), connectivity::OColumnsHelper::createObject(), connectivity::OIndexesHelper::createObject(), dbtools::createSDBCXColumn(), dbtools::createStandardColumnPart(), dbtools::createStandardCreateStatement(), dbtools::createStandardKeyStatement(), dbtools::createStandardTypePart(), connectivity::firebird::Views::createView(), connectivity::mysqlc::Views::createView(), connectivity::hsqldb::HViews::createView(), connectivity::mysql::OViews::createView(), connectivity::dbase::ODbaseIndex::DropImpl(), connectivity::hsqldb::OTables::dropObject(), connectivity::OKeysHelper::dropObject(), connectivity::find(), connectivity::OSQLParseTreeIterator::findColumn(), connectivity::findRealName(), connectivity::OSQLParseTreeIterator::findSelectColumn(), connectivity::file::OResultSetMetaData::getColumnName(), connectivity::component::OComponentDatabaseMetaData::getColumns(), connectivity::dbase::ODbaseDatabaseMetaData::getColumns(), connectivity::flat::OFlatDatabaseMetaData::getColumns(), connectivity::file::OResultSetMetaData::getColumnType(), connectivity::file::OResultSetMetaData::getColumnTypeName(), connectivity::dbase::ODbaseIndex::getCompletePath(), dbtools::getConnection_allowException(), connectivity::OSQLParseTreeIterator::getFunctionReturnType(), connectivity::dbase::ODbaseDatabaseMetaData::getIndexInfo(), connectivity::sdbcx::OCollection::getNameForObject(), connectivity::file::OResultSetMetaData::getPrecision(), dbtools::getPrimaryKeyColumns_throw(), connectivity::file::OResultSetMetaData::getScale(), connectivity::OSQLParseTreeIterator::getSelectColumnNames(), connectivity::OSQLParseTreeIterator::impl_getQueryParameterColumns(), connectivity::OSQLParseNode::impl_parseTableNameNodeToString_throw(), dbtools::FilterManager::initialize(), connectivity::file::OResultSetMetaData::isCurrency(), connectivity::file::OResultSetMetaData::isNullable(), connectivity::file::OResultSetMetaData::isReadOnly(), dbtools::lcl_connectRowSet(), connectivity::evoab::OCommonStatement::OCommonStatement(), connectivity::component::OComponentResultSet::OComponentResultSet(), connectivity::dbase::ODbaseResultSet::ODbaseResultSet(), connectivity::evoab::OEvoabResultSet::OEvoabResultSet(), connectivity::flat::OFlatResultSet::OFlatResultSet(), connectivity::file::OStatement_Base::OStatement_Base(), connectivity::OSQLParser::predicateTree(), connectivity::OIndexHelper::refreshColumns(), connectivity::OTableKeyHelper::refreshColumns(), dbtools::FilterManager::setApplyPublicFilter(), connectivity::file::OStatement_Base::SetAssignValue(), connectivity::file::OResultSet::setBoundedColumns(), connectivity::ado::OAdoTable::setFastPropertyValue_NoBroadcast(), dbtools::FilterManager::setFilterComponent(), connectivity::file::OResultSet::sortRows(), and dbtools::TransferFormComponentProperties().

◆ getResources()

const SharedResources & connectivity::OMetaConnection::getResources ( ) const
inline

◆ getSomething()

sal_Int64 SAL_CALL OMetaConnection::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

◆ getTextEncoding()

rtl_TextEncoding connectivity::OMetaConnection::getTextEncoding ( ) const
inline

Definition at line 61 of file TConnection.hxx.

Referenced by connectivity::odbc::ODatabaseMetaData::allProceduresAreCallable(), connectivity::odbc::ODatabaseMetaData::allTablesAreSelectable(), connectivity::dbase::ODbaseIndex::CreateImpl(), connectivity::dbase::ODbaseIndex::createINFEntry(), connectivity::odbc::ODatabaseMetaData::doesMaxRowSizeIncludeBlobs(), connectivity::dbase::ODbaseIndex::DropImpl(), connectivity::odbc::OConnection::getCatalog(), connectivity::odbc::ODatabaseMetaData::getCatalogTerm(), connectivity::odbc::OResultSetMetaData::getCharColAttrib(), connectivity::odbc::ODatabaseMetaData::getDatabaseProductName(), connectivity::odbc::ODatabaseMetaData::getDatabaseProductVersion(), connectivity::odbc::ODatabaseMetaData::getDriverMajorVersion(), connectivity::odbc::ODatabaseMetaData::getDriverMinorVersion(), connectivity::odbc::ODatabaseMetaData::getDriverName(), connectivity::odbc::ODatabaseMetaData::getDriverVersion(), connectivity::odbc::ODatabaseMetaData::getExtraNameCharacters(), connectivity::odbc::ODatabaseMetaData::getProcedureTerm(), connectivity::odbc::ODatabaseMetaData::getSchemaTerm(), connectivity::odbc::ODatabaseMetaData::getSearchStringEscape(), connectivity::odbc::ODatabaseMetaData::getSQLKeywords(), connectivity::odbc::ODatabaseMetaData::getURLImpl(), connectivity::odbc::ODatabaseMetaData::getUserName(), connectivity::odbc::ODatabaseMetaData::impl_getCatalogSeparator_throw(), connectivity::odbc::ODatabaseMetaData::impl_getIdentifierQuoteString_throw(), connectivity::odbc::OConnection::nativeSQL(), connectivity::dbase::ODbaseTable::ODbaseTable(), connectivity::odbc::OConnection::OpenConnection(), connectivity::dbase::ONDXNode::Read(), connectivity::flat::OFlatTable::readLine(), connectivity::odbc::OConnection::setCatalog(), connectivity::odbc::ODatabaseMetaData::supportsColumnAliasing(), connectivity::odbc::ODatabaseMetaData::supportsExpressionsInOrderBy(), connectivity::odbc::ODatabaseMetaData::supportsIntegrityEnhancementFacility(), connectivity::odbc::ODatabaseMetaData::supportsLikeEscapeClause(), connectivity::odbc::ODatabaseMetaData::supportsMultipleResultSets(), connectivity::odbc::ODatabaseMetaData::supportsMultipleTransactions(), connectivity::odbc::ODatabaseMetaData::supportsOrderByUnrelated(), connectivity::odbc::ODatabaseMetaData::supportsStoredProcedures(), and connectivity::dbase::ONDXNode::Write().

◆ getUnoTunnelId()

const Sequence< sal_Int8 > & OMetaConnection::getUnoTunnelId ( )
static

Definition at line 62 of file TConnection.cxx.

References comphelper::UnoIdInit::getSeq().

◆ getURL()

const OUString & connectivity::OMetaConnection::getURL ( ) const
inline

◆ setConnectionInfo()

void connectivity::OMetaConnection::setConnectionInfo ( const css::uno::Sequence< css::beans::PropertyValue > &  _aInfo)
inline

Definition at line 67 of file TConnection.hxx.

Referenced by connectivity::odbc::OConnection::Construct().

◆ setURL()

void connectivity::OMetaConnection::setURL ( const OUString &  _rsUrl)
inline

Definition at line 63 of file TConnection.hxx.

References m_sURL.

◆ throwGenericSQLException()

void OMetaConnection::throwGenericSQLException ( TranslateId  pErrorResourceId,
const css::uno::Reference< css::uno::XInterface > &  _xContext 
)

Member Data Documentation

◆ m_aConnectionInfo

css::uno::Sequence< css::beans::PropertyValue > connectivity::OMetaConnection::m_aConnectionInfo
protected

◆ m_aMutex

::osl::Mutex connectivity::OMetaConnection::m_aMutex
protected

Definition at line 44 of file TConnection.hxx.

Referenced by connectivity::ado::OConnection::buildTypeInfo(), connectivity::evoab::OEvoabConnection::close(), connectivity::ado::OConnection::close(), connectivity::odbc::OConnection::close(), connectivity::file::OConnection::close(), connectivity::macab::MacabConnection::commit(), connectivity::ado::OConnection::commit(), connectivity::odbc::OConnection::commit(), connectivity::evoab::OEvoabConnection::createCatalog(), connectivity::macab::MacabConnection::createCatalog(), connectivity::file::OConnection::createCatalog(), connectivity::calc::OCalcConnection::createCatalog(), connectivity::dbase::ODbaseConnection::createCatalog(), connectivity::writer::OWriterConnection::createCatalog(), connectivity::evoab::OEvoabConnection::createStatement(), connectivity::macab::MacabConnection::createStatement(), connectivity::ado::OConnection::createStatement(), connectivity::calc::OCalcConnection::createStatement(), connectivity::dbase::ODbaseConnection::createStatement(), connectivity::java_sql_Connection::createStatement(), connectivity::writer::OWriterConnection::createStatement(), connectivity::evoab::OEvoabConnection::disposing(), connectivity::macab::MacabConnection::disposing(), connectivity::ado::OConnection::disposing(), connectivity::calc::OCalcConnection::disposing(), connectivity::file::OConnection::disposing(), connectivity::java_sql_Connection::disposing(), connectivity::odbc::OConnection::disposing(), disposing(), connectivity::writer::OWriterConnection::disposing(), connectivity::macab::MacabConnection::doClose(), connectivity::macab::MacabConnection::doIsClosed(), connectivity::macab::MacabConnection::getAutoCommit(), connectivity::ado::OConnection::getAutoCommit(), connectivity::file::OConnection::getAutoCommit(), connectivity::odbc::OConnection::getAutoCommit(), connectivity::macab::MacabConnection::getCatalog(), connectivity::ado::OConnection::getCatalog(), connectivity::java_sql_Connection::getCatalog(), connectivity::odbc::OConnection::getCatalog(), connectivity::evoab::OEvoabConnection::getMetaData(), connectivity::macab::MacabConnection::getMetaData(), connectivity::ado::OConnection::getMetaData(), connectivity::file::OConnection::getMetaData(), connectivity::java_sql_Connection::getMetaData(), connectivity::odbc::OConnection::getMetaData(), connectivity::macab::MacabConnection::getTransactionIsolation(), connectivity::ado::OConnection::getTransactionIsolation(), connectivity::java_sql_Connection::getTransactionIsolation(), connectivity::odbc::OConnection::getTransactionIsolation(), connectivity::macab::MacabConnection::getTypeMap(), connectivity::ado::OConnection::getTypeMap(), connectivity::java_sql_Connection::getTypeMap(), connectivity::odbc::OConnection::getTypeMap(), connectivity::java_sql_Connection::getWarnings(), connectivity::evoab::OEvoabConnection::isClosed(), connectivity::ado::OConnection::isClosed(), connectivity::java_sql_Connection::isClosed(), connectivity::odbc::OConnection::isClosed(), connectivity::file::OConnection::isClosed(), connectivity::macab::MacabConnection::isReadOnly(), connectivity::ado::OConnection::isReadOnly(), connectivity::file::OConnection::isReadOnly(), connectivity::java_sql_Connection::isReadOnly(), connectivity::macab::MacabConnection::nativeSQL(), connectivity::ado::OConnection::nativeSQL(), connectivity::java_sql_Connection::nativeSQL(), connectivity::odbc::OConnection::nativeSQL(), connectivity::odbc::OConnection::OpenConnection(), connectivity::macab::MacabConnection::prepareCall(), connectivity::ado::OConnection::prepareCall(), connectivity::calc::OCalcConnection::prepareCall(), connectivity::java_sql_Connection::prepareCall(), connectivity::writer::OWriterConnection::prepareCall(), connectivity::evoab::OEvoabConnection::prepareStatement(), connectivity::macab::MacabConnection::prepareStatement(), connectivity::ado::OConnection::prepareStatement(), connectivity::calc::OCalcConnection::prepareStatement(), connectivity::dbase::ODbaseConnection::prepareStatement(), connectivity::file::OConnection::prepareStatement(), connectivity::java_sql_Connection::prepareStatement(), connectivity::odbc::OConnection::prepareStatement(), connectivity::writer::OWriterConnection::prepareStatement(), connectivity::macab::MacabConnection::rollback(), connectivity::ado::OConnection::rollback(), connectivity::odbc::OConnection::rollback(), connectivity::macab::MacabConnection::setAutoCommit(), connectivity::ado::OConnection::setAutoCommit(), connectivity::file::OConnection::setAutoCommit(), connectivity::odbc::OConnection::setAutoCommit(), connectivity::macab::MacabConnection::setCatalog(), connectivity::ado::OConnection::setCatalog(), connectivity::odbc::OConnection::setCatalog(), connectivity::macab::MacabConnection::setReadOnly(), connectivity::ado::OConnection::setReadOnly(), connectivity::file::OConnection::setReadOnly(), connectivity::odbc::OConnection::setReadOnly(), connectivity::macab::MacabConnection::setTransactionIsolation(), connectivity::ado::OConnection::setTransactionIsolation(), connectivity::java_sql_Connection::setTransactionIsolation(), connectivity::odbc::OConnection::setTransactionIsolation(), connectivity::java_sql_Connection::setTypeMap(), and connectivity::evoab::OEvoabConnection::~OEvoabConnection().

◆ m_aResources

SharedResources connectivity::OMetaConnection::m_aResources
protected

◆ m_aStatements

connectivity::OWeakRefArray connectivity::OMetaConnection::m_aStatements
protected

◆ m_nTextEncoding

rtl_TextEncoding connectivity::OMetaConnection::m_nTextEncoding
protected

◆ m_sURL

OUString connectivity::OMetaConnection::m_sURL
protected

◆ m_xMetaData

css::uno::WeakReference< css::sdbc::XDatabaseMetaData > connectivity::OMetaConnection::m_xMetaData
protected

The documentation for this class was generated from the following files: