LibreOffice Module connectivity (master) 1
|
#include <AKey.hxx>
Public Member Functions | |
virtual void | refreshColumns () override |
OAdoKey (bool _bCase, OConnection *_pConnection, ADOKey *_pKey) | |
OAdoKey (bool _bCase, OConnection *_pConnection) | |
WpADOKey | getImpl () const |
Public Member Functions inherited from connectivity::sdbcx::OKey | |
OKey (bool _bCase) | |
OKey (const OUString &Name, std::shared_ptr< KeyProperties > _xProps, bool _bCase) | |
virtual | ~OKey () override |
DECLARE_SERVICE_INFO () | |
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 void | construct () override |
virtual void SAL_CALL | disposing () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getColumns () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL | createDataDescriptor () override |
virtual void | refreshColumns ()=0 |
Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< OKey > | |
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 () |
Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
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 |
Static Public Member Functions | |
static RuleEnum | Map2Rule (sal_Int32 _eNum) |
static sal_Int32 | MapRule (const RuleEnum &_eNum) |
static sal_Int32 | MapKeyRule (const KeyTypeEnum &_eNum) |
static KeyTypeEnum | Map2KeyRule (sal_Int32 _eNum) |
Static Public Member Functions inherited from connectivity::sdbcx::ODescriptor | |
static bool | isNew (const css::uno::Reference< css::uno::XInterface > &_rxDescriptor) |
Protected Member Functions | |
void | fillPropertyValues () |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
Protected Member Functions inherited from connectivity::sdbcx::OKey | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 _nId) const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
Protected Member Functions inherited from connectivity::sdbcx::IRefreshableColumns | |
~IRefreshableColumns () | |
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 Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
~ImplHelper1 () SAL_NOEXCEPT | |
Private Attributes | |
WpADOKey | m_aKey |
OConnection * | m_pConnection |
Additional Inherited Members | |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Protected Attributes inherited from connectivity::sdbcx::OKey | |
std::shared_ptr< KeyProperties > | m_aProps |
std::unique_ptr< OCollection > | m_pColumns |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from connectivity::sdbcx::ODescriptor | |
OUString | m_Name |
OAdoKey::OAdoKey | ( | bool | _bCase, |
OConnection * | _pConnection, | ||
ADOKey * | _pKey | ||
) |
Definition at line 35 of file AKey.cxx.
References connectivity::sdbcx::OKey::construct(), fillPropertyValues(), m_aKey, and connectivity::ado::WpOLEBase< T >::set().
OAdoKey::OAdoKey | ( | bool | _bCase, |
OConnection * | _pConnection | ||
) |
Definition at line 44 of file AKey.cxx.
References connectivity::sdbcx::OKey::construct(), connectivity::ado::WpADOKey::Create(), and m_aKey.
|
protected |
Definition at line 410 of file ADatabaseMetaDataImpl.cxx.
References connectivity::ado::WpADOKey::get_DeleteRule(), connectivity::ado::WpADOKey::get_Name(), connectivity::ado::WpADOKey::get_RelatedTable(), connectivity::ado::WpADOKey::get_Type(), connectivity::ado::WpADOKey::get_UpdateRule(), connectivity::ado::WpOLEBase< T >::IsValid(), m_aKey, connectivity::sdbcx::OKey::m_aProps, connectivity::sdbcx::ODescriptor::m_Name, MapKeyRule(), and MapRule().
Referenced by OAdoKey().
|
inline |
Definition at line 44 of file AKey.hxx.
References m_aKey.
Referenced by connectivity::ado::OKeys::appendObject().
|
static |
Definition at line 482 of file ADatabaseMetaDataImpl.cxx.
Referenced by connectivity::ado::OKeys::appendObject(), and setFastPropertyValue_NoBroadcast().
|
static |
Definition at line 443 of file ADatabaseMetaDataImpl.cxx.
Referenced by setFastPropertyValue_NoBroadcast().
|
static |
Definition at line 464 of file ADatabaseMetaDataImpl.cxx.
Referenced by fillPropertyValues().
|
static |
Definition at line 422 of file ADatabaseMetaDataImpl.cxx.
Referenced by fillPropertyValues().
|
overridevirtual |
Implements connectivity::sdbcx::IRefreshableColumns.
Definition at line 52 of file AKey.cxx.
References connectivity::ado::WpOLECollection< Ts, WrapT >::fillElementNames(), connectivity::ado::WpADOKey::get_Columns(), connectivity::sdbcx::ODescriptor::isCaseSensitive(), connectivity::ado::WpOLEBase< T >::IsValid(), m_aKey, cppu::BaseMutex::m_aMutex, connectivity::sdbcx::OKey::m_pColumns, and m_pConnection.
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 69 of file AKey.cxx.
References connectivity::ado::OConnection::getConnection(), connectivity::ado::WpOLEBase< T >::IsValid(), m_aKey, m_pConnection, Map2KeyRule(), Map2Rule(), nHandle, PROPERTY_ID_DELETERULE, PROPERTY_ID_NAME, PROPERTY_ID_REFERENCEDTABLE, PROPERTY_ID_TYPE, PROPERTY_ID_UPDATERULE, connectivity::ado::WpADOKey::put_DeleteRule(), connectivity::ado::WpADOKey::put_Name(), connectivity::ado::WpADOKey::put_RelatedTable(), connectivity::ado::WpADOKey::put_Type(), connectivity::ado::WpADOKey::put_UpdateRule(), comphelper::OPropertyContainer::setFastPropertyValue_NoBroadcast(), and connectivity::ado::ADOS::ThrowException().
|
private |
Definition at line 33 of file AKey.hxx.
Referenced by fillPropertyValues(), getImpl(), OAdoKey(), refreshColumns(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 34 of file AKey.hxx.
Referenced by refreshColumns(), and setFastPropertyValue_NoBroadcast().