LibreOffice Module connectivity (master) 1
|
#include <HView.hxx>
Public Member Functions | |
HView (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, bool _bCaseSensitive, const OUString &_rSchemaName, const OUString &_rName) | |
virtual void SAL_CALL | alterCommand (const OUString &NewCommand) override |
![]() | |
DECLARE_SERVICE_INFO () | |
OView (bool _bCase, css::uno::Reference< css::sdbc::XDatabaseMetaData > _xMetaData) | |
OView (bool _bCase, const OUString &_rName, css::uno::Reference< css::sdbc::XDatabaseMetaData > _xMetaData, OUString _sCommand=OUString(), OUString _sSchemaName=OUString(), OUString _sCatalogName=OUString()) | |
virtual | ~OView () override |
virtual void | construct () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) 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::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &) override |
![]() | |
OMutexAndBroadcastHelper () | |
::osl::Mutex & | GetMutex () |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
![]() | |
OIdPropertyArrayUsageHelper () | |
virtual | ~OIdPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper (sal_Int32 nId) |
![]() | |
ODescriptor (::cppu::OBroadcastHelper &_rBHelper, bool _bCase, bool _bNew=false) | |
virtual | ~ODescriptor () override |
bool | isNew () const |
void | setNew (bool _bNew) |
bool | isCaseSensitive () const |
virtual void | construct () |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () |
![]() | |
virtual | ~OPropertyContainer () |
![]() | |
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 | ~HView () override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &_rValue, sal_Int32 _nHandle) const override |
![]() | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 _nId) const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 nId) const =0 |
![]() | |
::cppu::IPropertyArrayHelper * | doCreateArrayHelper () const |
helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper More... | |
![]() | |
OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper) | |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final |
![]() | |
OPropertyContainerHelper () | |
~OPropertyContainerHelper () | |
void | registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType) |
void | registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType) |
void | registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue) |
void | revokeProperty (sal_Int32 _nHandle) |
bool | isRegisteredProperty (sal_Int32 _nHandle) const |
bool | isRegisteredProperty (const OUString &_rName) const |
bool | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) |
void | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) |
void | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const |
void | describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const |
const css::beans::Property & | getProperty (const OUString &_rName) const |
![]() | |
~ImplHelper1 () SAL_NOEXCEPT | |
Private Member Functions | |
OUString | impl_getCommand () const |
retrieves the current command of the View More... | |
OUString | impl_getCommand_wrapSQLException () const |
retrieves the current command of the View More... | |
OUString | impl_getCommand_throwSQLException () const |
retrieves the current command of the View More... | |
Private Attributes | |
css::uno::Reference< css::sdbc::XConnection > | m_xConnection |
Additional Inherited Members | |
![]() | |
static bool | isNew (const css::uno::Reference< css::uno::XInterface > &_rxDescriptor) |
![]() | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
![]() | |
OUString | m_CatalogName |
OUString | m_SchemaName |
OUString | m_Command |
sal_Int32 | m_CheckOption |
css::uno::Reference< css::sdbc::XDatabaseMetaData > | m_xMetaData |
![]() | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
![]() | |
OUString | m_Name |
connectivity::hsqldb::HView::HView | ( | const css::uno::Reference< css::sdbc::XConnection > & | _rxConnection, |
bool | _bCaseSensitive, | ||
const OUString & | _rSchemaName, | ||
const OUString & | _rName | ||
) |
Definition at line 55 of file HView.cxx.
References m_xConnection.
|
overrideprotectedvirtual |
|
overridevirtual |
Definition at line 72 of file HView.cxx.
References aCommand, dbtools::composeTableName(), DBG_UNHANDLED_EXCEPTION, Exception, m_Name, m_xConnection, and utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::set().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 134 of file HView.cxx.
References comphelper::OPropertyContainer::getFastPropertyValue(), impl_getCommand_wrapSQLException(), and PROPERTY_ID_COMMAND.
|
private |
retrieves the current command of the View
Definition at line 147 of file HView.cxx.
References aCommand, connectivity::hsqldb::HTools::appendTableFilterCrit(), connectivity::sdbcx::OView::m_CatalogName, connectivity::sdbcx::ODescriptor::m_Name, connectivity::sdbcx::OView::m_SchemaName, m_xConnection, and utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::set().
Referenced by impl_getCommand_throwSQLException(), and impl_getCommand_wrapSQLException().
|
private |
retrieves the current command of the View
css::sdbc::SQLException | if an error occurs while retrieving the command from the database. |
Definition at line 189 of file HView.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, and impl_getCommand().
|
private |
retrieves the current command of the View
css::lang::WrappedTargetException | if an error occurs while retrieving the command from the database. |
Definition at line 165 of file HView.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, and impl_getCommand().
Referenced by getFastPropertyValue().
|
private |
Definition at line 79 of file HView.hxx.
Referenced by impl_getCommand().