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

#include <ZConnectionWrapper.hxx>

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

Public Member Functions

 OConnectionWeakWrapper (css::uno::Reference< css::uno::XAggregation > &_xConnection)
 
 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
 
- 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
 
- Public Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Member Functions

virtual void SAL_CALL disposing () override
 
virtual ~OConnectionWeakWrapper () 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 ()
 
- Protected Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 >
 ~ImplHelper2 () SAL_NOEXCEPT
 

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())
 method to create unique ids More...
 
- 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 37 of file ZConnectionWrapper.hxx.

Constructor & Destructor Documentation

◆ ~OConnectionWeakWrapper()

OConnectionWeakWrapper::~OConnectionWeakWrapper ( )
overrideprotectedvirtual

Definition at line 36 of file ZConnectionWrapper.cxx.

References dispose(), and m_refCount.

◆ OConnectionWeakWrapper()

OConnectionWeakWrapper::OConnectionWeakWrapper ( css::uno::Reference< css::uno::XAggregation > &  _xConnection)
explicit

Member Function Documentation

◆ close()

void SAL_CALL OConnectionWeakWrapper::close ( )
overridevirtual

◆ commit()

void SAL_CALL OConnectionWeakWrapper::commit ( )
overridevirtual

◆ createStatement()

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

Definition at line 49 of file ZConnectionWrapper.cxx.

References connectivity::checkDisposed(), m_aMutex, and m_xConnection.

◆ DECLARE_SERVICE_INFO()

connectivity::OConnectionWeakWrapper::DECLARE_SERVICE_INFO ( )

References DECLARE_XTYPEPROVIDER.

◆ disposing()

void OConnectionWeakWrapper::disposing ( )
overrideprotectedvirtual

◆ getAutoCommit()

sal_Bool SAL_CALL OConnectionWeakWrapper::getAutoCommit ( )
overridevirtual

◆ getCatalog()

OUString SAL_CALL OConnectionWeakWrapper::getCatalog ( )
overridevirtual

◆ getMetaData()

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

◆ getTransactionIsolation()

sal_Int32 SAL_CALL OConnectionWeakWrapper::getTransactionIsolation ( )
overridevirtual

◆ getTypeMap()

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

◆ isClosed()

sal_Bool SAL_CALL OConnectionWeakWrapper::isClosed ( )
overridevirtual

◆ isReadOnly()

sal_Bool SAL_CALL OConnectionWeakWrapper::isReadOnly ( )
overridevirtual

◆ nativeSQL()

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

◆ prepareCall()

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

◆ prepareStatement()

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

◆ rollback()

void SAL_CALL OConnectionWeakWrapper::rollback ( )
overridevirtual

◆ setAutoCommit()

void SAL_CALL OConnectionWeakWrapper::setAutoCommit ( sal_Bool  autoCommit)
overridevirtual

◆ setCatalog()

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

◆ setReadOnly()

void SAL_CALL OConnectionWeakWrapper::setReadOnly ( sal_Bool  readOnly)
overridevirtual

◆ setTransactionIsolation()

void SAL_CALL OConnectionWeakWrapper::setTransactionIsolation ( sal_Int32  level)
overridevirtual

◆ setTypeMap()

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

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