LibreOffice Module dbaccess (master) 1
|
implements the css::sdb::tools::XConnectionTools functionality More...
#include <connectiontools.hxx>
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 | |
ConnectionTools & | operator= (const ConnectionTools &)=delete |
implements the css::sdb::tools::XConnectionTools functionality
Definition at line 41 of file connectiontools.hxx.
|
explicit |
constructs a ConnectionTools instance
_rxContext | the context of the component |
|
overrideprotectedvirtual |
Definition at line 52 of file connectiontools.cxx.
|
privatedelete |
|
overridevirtual |
Definition at line 56 of file connectiontools.cxx.
References sdbtools::ConnectionDependentComponent::getConnection(), and sdbtools::ConnectionDependentComponent::getContext().
|
overridevirtual |
Definition at line 82 of file connectiontools.cxx.
References dbtools::StatementComposer::getComposer(), sdbtools::ConnectionDependentComponent::getConnection(), and dbtools::StatementComposer::setDisposeComposer().
|
overridevirtual |
Definition at line 68 of file connectiontools.cxx.
References sdbtools::ConnectionDependentComponent::getConnection(), and sdbtools::ConnectionDependentComponent::getContext().
|
overridevirtual |
Definition at line 73 of file connectiontools.cxx.
References dbtools::SQLExceptionInfo::doThrow(), sdbtools::ConnectionDependentComponent::getConnection(), and dbtools::SQLExceptionInfo::isValid().
|
overridevirtual |
Definition at line 90 of file connectiontools.cxx.
|
overridevirtual |
Definition at line 62 of file connectiontools.cxx.
References sdbtools::ConnectionDependentComponent::getConnection(), and sdbtools::ConnectionDependentComponent::getContext().
|
overridevirtual |
Definition at line 100 of file connectiontools.cxx.
|
overridevirtual |
Definition at line 105 of file connectiontools.cxx.
References aArguments, sdbtools::ConnectionDependentComponent::getMutex(), and sdbtools::ConnectionDependentComponent::setWeakConnection().
|
privatedelete |
|
overridevirtual |
Definition at line 95 of file connectiontools.cxx.
References ServiceName, and cppu::supportsService().