LibreOffice Module connectivity (master) 1
Public Member Functions | List of all members
pq_sdbc_driver::User Class Reference

#include <pq_xuser.hxx>

Inheritance diagram for pq_sdbc_driver::User:
[legend]
Collaboration diagram for pq_sdbc_driver::User:
[legend]

Public Member Functions

 User (const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, const css::uno::Reference< css::sdbc::XConnection > &connection, ConnectionSettings *pSettings)
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &reqType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override
 
virtual sal_Int32 SAL_CALL getPrivileges (const OUString &objName, sal_Int32 objType) override
 
virtual sal_Int32 SAL_CALL getGrantablePrivileges (const OUString &objName, sal_Int32 objType) override
 
virtual void SAL_CALL grantPrivileges (const OUString &objName, sal_Int32 objType, sal_Int32 objPrivileges) override
 
virtual void SAL_CALL revokePrivileges (const OUString &objName, sal_Int32 objType, sal_Int32 objPrivileges) override
 
virtual void SAL_CALL changePassword (const OUString &oldPassword, const OUString &newPassword) override
 
- Public Member Functions inherited from pq_sdbc_driver::ReflectionBase
 ReflectionBase (OUString implName, const css::uno::Sequence< OUString > &supportedServices, const ::rtl::Reference< comphelper::RefCountedMutex > &refMutex, css::uno::Reference< css::sdbc::XConnection > conn, ConnectionSettings *pSettings, cppu::IPropertyArrayHelper &props)
 
void copyValuesFrom (const css::uno::Reference< css::beans::XPropertySet > &set)
 
void setPropertyValue_NoBroadcast_public (const OUString &name, const css::uno::Any &value)
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &reqType) override
 
virtual cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
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
 
void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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 css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override=0
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
- Protected Attributes inherited from pq_sdbc_driver::ReflectionBase
const OUString m_implName
 
const css::uno::Sequence< OUString > m_supportedServices
 
::rtl::Reference< comphelper::RefCountedMutexm_xMutex
 
css::uno::Reference< css::sdbc::XConnection > m_conn
 
ConnectionSettingsm_pSettings
 
cppu::IPropertyArrayHelperm_propsDesc
 
std::vector< css::uno::Any > m_values
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 

Detailed Description

Definition at line 46 of file pq_xuser.hxx.

Constructor & Destructor Documentation

◆ User()

pq_sdbc_driver::User::User ( const ::rtl::Reference< comphelper::RefCountedMutex > &  refMutex,
const css::uno::Reference< css::sdbc::XConnection > &  connection,
ConnectionSettings pSettings 
)

Member Function Documentation

◆ acquire()

virtual void SAL_CALL pq_sdbc_driver::User::acquire ( )
inlineoverridevirtualnoexcept

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 56 of file pq_xuser.hxx.

References pq_sdbc_driver::ReflectionBase::acquire().

◆ changePassword()

void pq_sdbc_driver::User::changePassword ( const OUString &  oldPassword,
const OUString &  newPassword 
)
overridevirtual

◆ createDataDescriptor()

Reference< XPropertySet > pq_sdbc_driver::User::createDataDescriptor ( )
overridevirtual

Implements pq_sdbc_driver::ReflectionBase.

Definition at line 75 of file pq_xuser.cxx.

References m_conn.

◆ getGrantablePrivileges()

sal_Int32 pq_sdbc_driver::User::getGrantablePrivileges ( const OUString &  objName,
sal_Int32  objType 
)
overridevirtual

Definition at line 129 of file pq_xuser.cxx.

◆ getImplementationId()

Sequence< sal_Int8 > pq_sdbc_driver::User::getImplementationId ( )
overridevirtual

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 93 of file pq_xuser.cxx.

◆ getPrivileges()

sal_Int32 pq_sdbc_driver::User::getPrivileges ( const OUString &  objName,
sal_Int32  objType 
)
overridevirtual

Definition at line 122 of file pq_xuser.cxx.

References SAL_INFO.

◆ getTypes()

Sequence< Type > pq_sdbc_driver::User::getTypes ( )
overridevirtual

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 84 of file pq_xuser.cxx.

References cppu::OTypeCollection::getTypes().

◆ grantPrivileges()

void pq_sdbc_driver::User::grantPrivileges ( const OUString &  objName,
sal_Int32  objType,
sal_Int32  objPrivileges 
)
overridevirtual

Definition at line 135 of file pq_xuser.cxx.

References Any.

◆ queryInterface()

Any pq_sdbc_driver::User::queryInterface ( const css::uno::Type &  reqType)
overridevirtual

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 98 of file pq_xuser.cxx.

References Any.

◆ release()

virtual void SAL_CALL pq_sdbc_driver::User::release ( )
inlineoverridevirtualnoexcept

Reimplemented from pq_sdbc_driver::ReflectionBase.

Definition at line 57 of file pq_xuser.hxx.

References pq_sdbc_driver::ReflectionBase::release().

◆ revokePrivileges()

void pq_sdbc_driver::User::revokePrivileges ( const OUString &  objName,
sal_Int32  objType,
sal_Int32  objPrivileges 
)
overridevirtual

Definition at line 141 of file pq_xuser.cxx.

References Any.


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