LibreOffice Module connectivity (master) 1
|
#include <VView.hxx>
Public Member Functions | |
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 |
Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper | |
OMutexAndBroadcastHelper () | |
::osl::Mutex & | GetMutex () |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< OView > | |
OIdPropertyArrayUsageHelper () | |
virtual | ~OIdPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper (sal_Int32 nId) |
Public Member Functions inherited from connectivity::sdbcx::ODescriptor | |
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 () |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Protected Member Functions | |
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 |
Protected Member Functions inherited from connectivity::sdbcx::ODescriptor | |
::cppu::IPropertyArrayHelper * | doCreateArrayHelper () const |
helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper More... | |
Protected Member Functions inherited from comphelper::OPropertyContainer | |
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 |
Protected Member Functions inherited from comphelper::OPropertyContainerHelper | |
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 |
Protected Attributes | |
OUString | m_CatalogName |
OUString | m_SchemaName |
OUString | m_Command |
sal_Int32 | m_CheckOption |
css::uno::Reference< css::sdbc::XDatabaseMetaData > | m_xMetaData |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
Protected Attributes inherited from connectivity::sdbcx::ODescriptor | |
OUString | m_Name |
Additional Inherited Members | |
Static Public Member Functions inherited from connectivity::sdbcx::ODescriptor | |
static bool | isNew (const css::uno::Reference< css::uno::XInterface > &_rxDescriptor) |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
OView::OView | ( | bool | _bCase, |
css::uno::Reference< css::sdbc::XDatabaseMetaData > | _xMetaData | ||
) |
Definition at line 55 of file VView.cxx.
References construct().
OView::OView | ( | bool | _bCase, |
const OUString & | _rName, | ||
css::uno::Reference< css::sdbc::XDatabaseMetaData > | _xMetaData, | ||
OUString | _sCommand = OUString() , |
||
OUString | _sSchemaName = OUString() , |
||
OUString | _sCatalogName = OUString() |
||
) |
Definition at line 38 of file VView.cxx.
References Command, construct(), connectivity::sdbcx::ODescriptor::m_Name, and Name.
|
overridevirtualnoexcept |
Reimplemented in connectivity::firebird::View, and connectivity::mysqlc::View.
Definition at line 122 of file VView.cxx.
Referenced by connectivity::firebird::View::acquire(), and connectivity::mysqlc::View::acquire().
|
overridevirtual |
Reimplemented from connectivity::sdbcx::ODescriptor.
Definition at line 66 of file VView.cxx.
References connectivity::sdbcx::ODescriptor::construct(), connectivity::OMetaConnection::getPropMap(), connectivity::sdbcx::ODescriptor::isNew(), m_CatalogName, m_CheckOption, m_Command, m_SchemaName, PROPERTY_ID_CATALOGNAME, PROPERTY_ID_CHECKOPTION, PROPERTY_ID_COMMAND, PROPERTY_ID_SCHEMANAME, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by OView().
|
overrideprotectedvirtual |
Implements comphelper::OIdPropertyArrayUsageHelper< OView >.
Definition at line 89 of file VView.cxx.
References connectivity::sdbcx::ODescriptor::doCreateArrayHelper().
connectivity::sdbcx::OView::DECLARE_SERVICE_INFO | ( | ) |
References queryInterface().
|
overrideprotected |
Definition at line 94 of file VView.cxx.
References comphelper::OIdPropertyArrayUsageHelper< OView >::getArrayHelper(), and connectivity::sdbcx::ODescriptor::isNew().
Referenced by getPropertySetInfo().
|
overridevirtual |
Definition at line 99 of file VView.cxx.
References Any, dbtools::composeTableName(), comphelper::OPropertyContainer::getFastPropertyValue(), m_CatalogName, connectivity::sdbcx::ODescriptor::m_Name, m_SchemaName, m_xMetaData, PROPERTY_ID_NAME, and sComposedName.
|
overridevirtual |
Definition at line 113 of file VView.cxx.
References getInfoHelper().
|
overridevirtual |
css::uno::RuntimeException |
Reimplemented from connectivity::sdbcx::ODescriptor.
Reimplemented in connectivity::firebird::View, and connectivity::mysqlc::View.
Definition at line 78 of file VView.cxx.
References connectivity::sdbcx::ODescriptor::getTypes().
Referenced by connectivity::firebird::View::getTypes(), and connectivity::mysqlc::View::getTypes().
|
overridevirtual |
Reimplemented in connectivity::firebird::View, and connectivity::mysqlc::View.
Definition at line 83 of file VView.cxx.
References Any.
Referenced by connectivity::firebird::View::queryInterface(), and connectivity::mysqlc::View::queryInterface().
|
overridevirtualnoexcept |
Reimplemented in connectivity::firebird::View, and connectivity::mysqlc::View.
Definition at line 127 of file VView.cxx.
Referenced by connectivity::firebird::View::release(), and connectivity::mysqlc::View::release().
|
overridevirtual |
|
protected |
Definition at line 49 of file VView.hxx.
Referenced by construct(), getName(), and connectivity::hsqldb::HView::impl_getCommand().
|
protected |
Definition at line 52 of file VView.hxx.
Referenced by construct().
|
protected |
Definition at line 51 of file VView.hxx.
Referenced by construct().
|
protected |
Definition at line 50 of file VView.hxx.
Referenced by connectivity::mysqlc::View::alterCommand(), construct(), getName(), connectivity::mysqlc::View::impl_getCommand(), and connectivity::hsqldb::HView::impl_getCommand().
|
protected |
Definition at line 54 of file VView.hxx.
Referenced by connectivity::firebird::View::alterCommand(), connectivity::mysqlc::View::alterCommand(), getName(), and connectivity::mysqlc::View::impl_getCommand().