LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
connectivity::evoab::OEvoabConnection Class Referencefinal

#include <NConnection.hxx>

Inheritance diagram for connectivity::evoab::OEvoabConnection:
[legend]
Collaboration diagram for connectivity::evoab::OEvoabConnection:
[legend]

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

Private Member Functions

virtual ~OEvoabConnection () override
 

Private Attributes

const OEvoabDriverm_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::OPropertyMapgetPropMap ()
 
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
 

Detailed Description

Definition at line 46 of file NConnection.hxx.

Constructor & Destructor Documentation

◆ ~OEvoabConnection()

OEvoabConnection::~OEvoabConnection ( )
overrideprivatevirtual

Definition at line 47 of file NConnection.cxx.

References close(), isClosed(), and connectivity::OMetaConnection::m_aMutex.

◆ OEvoabConnection()

OEvoabConnection::OEvoabConnection ( OEvoabDriver const &  _rDriver)
explicit

Definition at line 41 of file NConnection.cxx.

Member Function Documentation

◆ clearWarnings()

void SAL_CALL OEvoabConnection::clearWarnings ( )
overridevirtual

Definition at line 177 of file NConnection.cxx.

References dbtools::WarningsContainer::clearWarnings(), and m_aWarnings.

◆ close()

void SAL_CALL OEvoabConnection::close ( )
overridevirtual

◆ commit()

void SAL_CALL OEvoabConnection::commit ( )
overridevirtual

Definition at line 199 of file NConnection.cxx.

◆ construct()

void OEvoabConnection::construct ( const OUString &  _rUrl,
const css::uno::Sequence< css::beans::PropertyValue > &  _rInfo 
)

◆ createCatalog()

css::uno::Reference< XTablesSupplier > OEvoabConnection::createCatalog ( )

Definition at line 115 of file NConnection.cxx.

References connectivity::OMetaConnection::m_aMutex, and m_xCatalog.

◆ createStatement()

Reference< XStatement > SAL_CALL OEvoabConnection::createStatement ( )
overridevirtual

◆ DECLARE_SERVICE_INFO()

connectivity::evoab::OEvoabConnection::DECLARE_SERVICE_INFO ( )

◆ disposing()

void OEvoabConnection::disposing ( )
overridevirtual

◆ getAutoCommit()

sal_Bool SAL_CALL OEvoabConnection::getAutoCommit ( )
overridevirtual

Definition at line 195 of file NConnection.cxx.

◆ getCatalog()

OUString SAL_CALL OEvoabConnection::getCatalog ( )
overridevirtual

Definition at line 218 of file NConnection.cxx.

◆ getDriver()

const OEvoabDriver & connectivity::evoab::OEvoabConnection::getDriver ( ) const
inline

Definition at line 65 of file NConnection.hxx.

References m_rDriver.

◆ getMetaData()

Reference< XDatabaseMetaData > SAL_CALL OEvoabConnection::getMetaData ( )
overridevirtual

◆ getSDBCAddressType()

SDBCAddress::sdbc_address_type connectivity::evoab::OEvoabConnection::getSDBCAddressType ( ) const
inline

◆ getTransactionIsolation()

sal_Int32 SAL_CALL OEvoabConnection::getTransactionIsolation ( )
overridevirtual

Definition at line 227 of file NConnection.cxx.

◆ getTypeMap()

Reference< css::container::XNameAccess > SAL_CALL OEvoabConnection::getTypeMap ( )
overridevirtual

◆ getWarnings()

Any SAL_CALL OEvoabConnection::getWarnings ( )
overridevirtual

Definition at line 173 of file NConnection.cxx.

References Any, dbtools::WarningsContainer::getWarnings(), and m_aWarnings.

◆ isClosed()

sal_Bool SAL_CALL OEvoabConnection::isClosed ( )
overridevirtual

Definition at line 154 of file NConnection.cxx.

References connectivity::OMetaConnection::m_aMutex.

Referenced by ~OEvoabConnection().

◆ isReadOnly()

sal_Bool SAL_CALL OEvoabConnection::isReadOnly ( )
overridevirtual

Definition at line 209 of file NConnection.cxx.

◆ nativeSQL()

OUString SAL_CALL OEvoabConnection::nativeSQL ( const OUString &  sql)
overridevirtual

Definition at line 94 of file NConnection.cxx.

◆ prepareCall()

Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareCall ( const OUString &  sql)
overridevirtual

◆ prepareStatement()

Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareStatement ( const OUString &  sql)
overridevirtual

◆ rollback()

void SAL_CALL OEvoabConnection::rollback ( )
overridevirtual

Definition at line 202 of file NConnection.cxx.

◆ setAutoCommit()

void SAL_CALL OEvoabConnection::setAutoCommit ( sal_Bool  autoCommit)
overridevirtual

◆ setCatalog()

void SAL_CALL OEvoabConnection::setCatalog ( const OUString &  catalog)
overridevirtual

◆ setPassword()

void connectivity::evoab::OEvoabConnection::setPassword ( OString const &  aStr)
inline

Definition at line 63 of file NConnection.hxx.

References aStr, and m_aPassword.

◆ setReadOnly()

void SAL_CALL OEvoabConnection::setReadOnly ( sal_Bool  readOnly)
overridevirtual

◆ setSDBCAddressType()

void connectivity::evoab::OEvoabConnection::setSDBCAddressType ( SDBCAddress::sdbc_address_type  _eSDBCAddressType)
inline

Definition at line 68 of file NConnection.hxx.

References m_eSDBCAddressType.

◆ setTransactionIsolation()

void SAL_CALL OEvoabConnection::setTransactionIsolation ( sal_Int32  level)
overridevirtual

◆ setTypeMap()

void SAL_CALL OEvoabConnection::setTypeMap ( const css::uno::Reference< css::container::XNameAccess > &  typeMap)
overridevirtual

Member Data Documentation

◆ m_aPassword

OString connectivity::evoab::OEvoabConnection::m_aPassword
private

Definition at line 53 of file NConnection.hxx.

Referenced by setPassword().

◆ m_aWarnings

::dbtools::WarningsContainer connectivity::evoab::OEvoabConnection::m_aWarnings
private

Definition at line 54 of file NConnection.hxx.

Referenced by clearWarnings(), and getWarnings().

◆ m_eSDBCAddressType

SDBCAddress::sdbc_address_type connectivity::evoab::OEvoabConnection::m_eSDBCAddressType
private

Definition at line 50 of file NConnection.hxx.

Referenced by getSDBCAddressType(), and setSDBCAddressType().

◆ m_rDriver

const OEvoabDriver& connectivity::evoab::OEvoabConnection::m_rDriver
private

Definition at line 49 of file NConnection.hxx.

Referenced by getDriver().

◆ m_xCatalog

css::uno::Reference< css::sdbcx::XTablesSupplier > connectivity::evoab::OEvoabConnection::m_xCatalog
private

Definition at line 52 of file NConnection.hxx.

Referenced by createCatalog().


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