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

#include <DConnection.hxx>

Inheritance diagram for connectivity::dbase::ODbaseConnection:
[legend]
Collaboration diagram for connectivity::dbase::ODbaseConnection:
[legend]

Public Member Functions

 ODbaseConnection (ODriver *_pDriver)
 
 DECLARE_SERVICE_INFO ()
 
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData () override
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > createCatalog () 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
 
- Public Member Functions inherited from connectivity::file::OConnection
 OConnection (OFileDriver *_pDriver)
 
virtual void construct (const OUString &_rUrl, const css::uno::Sequence< css::beans::PropertyValue > &_rInfo)
 
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 final
 
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 final
 
virtual css::uno::Any SAL_CALL getWarnings () override
 
virtual void SAL_CALL clearWarnings () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
css::uno::Reference< css::ucb::XDynamicResultSet > getDir () const
 
const css::uno::Reference< css::ucb::XContent > & getContent () const
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > createCatalog ()
 
bool matchesExtension (const OUString &_rExt) const
 
const OUString & getExtension () const
 
bool isCaseSensitiveExtension () const
 
OFileDrivergetDriver () const
 
bool showDeleted () const
 
bool isCheckEnabled () const
 
bool isTextEncodingDefaulted () const
 
void setCaseSensitiveExtension (bool _bIsCS, GrantAccess)
 
- 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
 

Protected Member Functions

virtual ~ODbaseConnection () override
 
- Protected Member Functions inherited from connectivity::file::OConnection
void throwUrlNotValid (const OUString &_rsUrl, const OUString &_rsMessage)
 
virtual ~OConnection () override
 

Additional Inherited Members

- Static Public Member Functions inherited from connectivity::file::OConnection
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Static Public Member Functions inherited from connectivity::OMetaConnection
::dbtools::OPropertyMapgetPropMap ()
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Protected Attributes inherited from connectivity::file::OConnection
css::uno::WeakReference< css::sdbcx::XTablesSupplier > m_xCatalog
 
OUString m_aFilenameExtension
 
OFileDriverm_pDriver
 
css::uno::Reference< css::ucb::XDynamicResultSet > m_xDir
 
css::uno::Reference< css::ucb::XContent > m_xContent
 
bool m_bAutoCommit
 
bool m_bReadOnly
 
bool m_bShowDeleted
 
bool m_bCaseSensitiveExtension
 
bool m_bCheckSQL92
 
bool m_bDefaultTextEncoding
 
- 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 27 of file DConnection.hxx.

Constructor & Destructor Documentation

◆ ~ODbaseConnection()

ODbaseConnection::~ODbaseConnection ( )
overrideprotectedvirtual

Definition at line 46 of file DConnection.cxx.

◆ ODbaseConnection()

ODbaseConnection::ODbaseConnection ( ODriver _pDriver)

Member Function Documentation

◆ createCatalog()

css::uno::Reference< XTablesSupplier > ODbaseConnection::createCatalog ( )
overridevirtual

◆ createStatement()

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

◆ DECLARE_SERVICE_INFO()

connectivity::dbase::ODbaseConnection::DECLARE_SERVICE_INFO ( )

◆ getMetaData()

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

Reimplemented from connectivity::file::OConnection.

Definition at line 55 of file DConnection.cxx.

References connectivity::checkDisposed(), and m_aMutex.

◆ prepareCall()

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

◆ prepareStatement()

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

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