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

implements the css::sdb::tools::XConnectionTools functionality More...

#include <connectiontools.hxx>

Inheritance diagram for sdbtools::ConnectionTools:
[legend]
Collaboration diagram for sdbtools::ConnectionTools:
[legend]

Public Member Functions

 ConnectionTools (const css::uno::Reference< css::uno::XComponentContext > &_rContext)
 constructs a ConnectionTools instance More...
 
virtual css::uno::Reference< css::sdb::tools::XTableName > SAL_CALL createTableName () override
 
virtual css::uno::Reference< css::sdb::tools::XObjectNames > SAL_CALL getObjectNames () override
 
virtual css::uno::Reference< css::sdb::tools::XDataSourceMetaData > SAL_CALL getDataSourceMetaData () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getFieldsByCommandDescriptor (::sal_Int32 commandType, const OUString &command, css::uno::Reference< css::lang::XComponent > &keepFieldsAlive) override
 
virtual css::uno::Reference< css::sdb::XSingleSelectQueryComposer > SAL_CALL getComposer (::sal_Int32 commandType, const OUString &command) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
- Public Member Functions inherited from sdbtools::ConnectionDependentComponent
::osl::Mutex & getMutex (GuardAccess) const
 
bool acquireConnection (GuardAccess)
 
void releaseConnection (GuardAccess)
 

Protected Member Functions

virtual ~ConnectionTools () override
 
- Protected Member Functions inherited from sdbtools::ConnectionDependentComponent
::osl::Mutex & getMutex () const
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
 ConnectionDependentComponent (css::uno::Reference< css::uno::XComponentContext > _xContext)
 
void setWeakConnection (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection)
 sets the connection we depend on. More...
 
const css::uno::Reference< css::sdbc::XConnection > & getConnection () const
 

Private Member Functions

 ConnectionTools (const ConnectionTools &)=delete
 
ConnectionToolsoperator= (const ConnectionTools &)=delete
 

Detailed Description

implements the css::sdb::tools::XConnectionTools functionality

Definition at line 41 of file connectiontools.hxx.

Constructor & Destructor Documentation

◆ ConnectionTools() [1/2]

sdbtools::ConnectionTools::ConnectionTools ( const css::uno::Reference< css::uno::XComponentContext > &  _rContext)
explicit

constructs a ConnectionTools instance

Parameters
_rxContextthe context of the component

◆ ~ConnectionTools()

sdbtools::ConnectionTools::~ConnectionTools ( )
overrideprotectedvirtual

Definition at line 52 of file connectiontools.cxx.

◆ ConnectionTools() [2/2]

sdbtools::ConnectionTools::ConnectionTools ( const ConnectionTools )
privatedelete

Member Function Documentation

◆ createTableName()

Reference< XTableName > SAL_CALL sdbtools::ConnectionTools::createTableName ( )
overridevirtual

◆ getComposer()

Reference< sdb::XSingleSelectQueryComposer > SAL_CALL sdbtools::ConnectionTools::getComposer ( ::sal_Int32  commandType,
const OUString &  command 
)
overridevirtual

◆ getDataSourceMetaData()

Reference< XDataSourceMetaData > SAL_CALL sdbtools::ConnectionTools::getDataSourceMetaData ( )
overridevirtual

◆ getFieldsByCommandDescriptor()

Reference< container::XNameAccess > SAL_CALL sdbtools::ConnectionTools::getFieldsByCommandDescriptor ( ::sal_Int32  commandType,
const OUString &  command,
css::uno::Reference< css::lang::XComponent > &  keepFieldsAlive 
)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL sdbtools::ConnectionTools::getImplementationName ( )
overridevirtual

Definition at line 90 of file connectiontools.cxx.

◆ getObjectNames()

Reference< XObjectNames > SAL_CALL sdbtools::ConnectionTools::getObjectNames ( )
overridevirtual

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL sdbtools::ConnectionTools::getSupportedServiceNames ( )
overridevirtual

Definition at line 100 of file connectiontools.cxx.

◆ initialize()

void SAL_CALL sdbtools::ConnectionTools::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ operator=()

ConnectionTools & sdbtools::ConnectionTools::operator= ( const ConnectionTools )
privatedelete

◆ supportsService()

sal_Bool SAL_CALL sdbtools::ConnectionTools::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 95 of file connectiontools.cxx.

References ServiceName, and cppu::supportsService().


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