LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | List of all members
dbaccess::OSharedConnection Class Reference

#include <SharedConnection.hxx>

Inheritance diagram for dbaccess::OSharedConnection:
[legend]
Collaboration diagram for dbaccess::OSharedConnection:
[legend]

Public Member Functions

 OSharedConnection (css::uno::Reference< css::uno::XAggregation > &_rxProxyConnection)
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &_rType) override
 
virtual void SAL_CALL close () override
 
virtual void SAL_CALL setAutoCommit (sal_Bool) override
 
virtual void SAL_CALL setReadOnly (sal_Bool) override
 
virtual void SAL_CALL setCatalog (const OUString &) override
 
virtual void SAL_CALL setTransactionIsolation (sal_Int32) override
 
virtual void SAL_CALL setTypeMap (const css::uno::Reference< css::container::XNameAccess > &) override
 
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 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 sal_Bool SAL_CALL isReadOnly () override
 
virtual OUString SAL_CALL getCatalog () override
 
virtual sal_Int32 SAL_CALL getTransactionIsolation () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTypeMap () override
 
- Public Member Functions inherited from connectivity::OConnectionWrapper
 OConnectionWrapper ()
 
 DECLARE_SERVICE_INFO ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &_rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 

Protected Member Functions

virtual void SAL_CALL disposing () override
 
virtual ~OSharedConnection () override
 
- Protected Member Functions inherited from connectivity::OConnectionWrapper
virtual ~OConnectionWrapper ()
 
void setDelegation (css::uno::Reference< css::uno::XAggregation > &_rxProxyConnection, oslInterlockedCount &_rRefCount)
 
void setDelegation (const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, oslInterlockedCount &_rRefCount)
 
void disposing ()
 

Additional Inherited Members

- Static Public Member Functions inherited from connectivity::OConnectionWrapper
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
static void createUniqueId (const OUString &_rURL, css::uno::Sequence< css::beans::PropertyValue > &_rInfo, sal_uInt8 *_pBuffer, const OUString &_rUserName=OUString(), const OUString &_rPassword=OUString())
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from connectivity::OConnectionWrapper
css::uno::Reference< css::uno::XAggregation > m_xProxyConnection
 
css::uno::Reference< css::sdbc::XConnection > m_xConnection
 
css::uno::Reference< css::lang::XTypeProvider > m_xTypeProvider
 
css::uno::Reference< css::lang::XUnoTunnel > m_xUnoTunnel
 
css::uno::Reference< css::lang::XServiceInfo > m_xServiceInfo
 

Detailed Description

Definition at line 39 of file SharedConnection.hxx.

Constructor & Destructor Documentation

◆ ~OSharedConnection()

dbaccess::OSharedConnection::~OSharedConnection ( )
overrideprotectedvirtual

Definition at line 37 of file SharedConnection.cxx.

◆ OSharedConnection()

dbaccess::OSharedConnection::OSharedConnection ( css::uno::Reference< css::uno::XAggregation > &  _rxProxyConnection)
explicit

Member Function Documentation

◆ acquire()

virtual void SAL_CALL dbaccess::OSharedConnection::acquire ( )
inlineoverridevirtualnoexcept

Definition at line 51 of file SharedConnection.hxx.

◆ close()

virtual void SAL_CALL dbaccess::OSharedConnection::close ( )
inlineoverridevirtual

Definition at line 70 of file SharedConnection.hxx.

References dispose(), and cppu::BaseMutex::m_aMutex.

◆ commit()

void SAL_CALL dbaccess::OSharedConnection::commit ( )
overridevirtual

◆ createStatement()

Reference< XStatement > SAL_CALL dbaccess::OSharedConnection::createStatement ( )
overridevirtual

◆ disposing()

void SAL_CALL dbaccess::OSharedConnection::disposing ( )
overrideprotectedvirtual

◆ getAutoCommit()

sal_Bool SAL_CALL dbaccess::OSharedConnection::getAutoCommit ( )
overridevirtual

◆ getCatalog()

OUString SAL_CALL dbaccess::OSharedConnection::getCatalog ( )
overridevirtual

◆ getImplementationId()

virtual css::uno::Sequence< sal_Int8 > SAL_CALL dbaccess::OSharedConnection::getImplementationId ( )
overridevirtual

◆ getMetaData()

Reference< XDatabaseMetaData > SAL_CALL dbaccess::OSharedConnection::getMetaData ( )
overridevirtual

◆ getTransactionIsolation()

sal_Int32 SAL_CALL dbaccess::OSharedConnection::getTransactionIsolation ( )
overridevirtual

◆ getTypeMap()

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

◆ getTypes()

virtual css::uno::Sequence< css::uno::Type > SAL_CALL dbaccess::OSharedConnection::getTypes ( )
inlineoverridevirtual

◆ isClosed()

sal_Bool SAL_CALL dbaccess::OSharedConnection::isClosed ( )
overridevirtual

◆ isReadOnly()

sal_Bool SAL_CALL dbaccess::OSharedConnection::isReadOnly ( )
overridevirtual

◆ nativeSQL()

OUString SAL_CALL dbaccess::OSharedConnection::nativeSQL ( const OUString &  sql)
overridevirtual

◆ prepareCall()

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

◆ prepareStatement()

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

◆ queryInterface()

virtual css::uno::Any SAL_CALL dbaccess::OSharedConnection::queryInterface ( const css::uno::Type &  _rType)
inlineoverridevirtual

◆ release()

virtual void SAL_CALL dbaccess::OSharedConnection::release ( )
inlineoverridevirtualnoexcept

Definition at line 52 of file SharedConnection.hxx.

◆ rollback()

void SAL_CALL dbaccess::OSharedConnection::rollback ( )
overridevirtual

◆ setAutoCommit()

virtual void SAL_CALL dbaccess::OSharedConnection::setAutoCommit ( sal_Bool  )
inlineoverridevirtual

Definition at line 80 of file SharedConnection.hxx.

◆ setCatalog()

virtual void SAL_CALL dbaccess::OSharedConnection::setCatalog ( const OUString &  )
inlineoverridevirtual

Definition at line 88 of file SharedConnection.hxx.

◆ setReadOnly()

virtual void SAL_CALL dbaccess::OSharedConnection::setReadOnly ( sal_Bool  )
inlineoverridevirtual

Definition at line 84 of file SharedConnection.hxx.

◆ setTransactionIsolation()

virtual void SAL_CALL dbaccess::OSharedConnection::setTransactionIsolation ( sal_Int32  )
inlineoverridevirtual

Definition at line 92 of file SharedConnection.hxx.

◆ setTypeMap()

virtual void SAL_CALL dbaccess::OSharedConnection::setTypeMap ( const css::uno::Reference< css::container::XNameAccess > &  )
inlineoverridevirtual

Definition at line 96 of file SharedConnection.hxx.


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