LibreOffice Module connectivity (master) 1
|
#include <AUser.hxx>
Public Member Functions | |
virtual void | refreshGroups () override |
OAdoUser (OCatalog *_pParent, bool _bCase, ADOUser *_pUser=nullptr) | |
OAdoUser (OCatalog *_pParent, bool _bCase, const OUString &Name) | |
virtual void SAL_CALL | changePassword (const OUString &objPassword, const OUString &newPassword) 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 |
WpADOUser | getImpl () const |
Public Member Functions inherited from connectivity::sdbcx::OUser | |
OUser (bool _bCase) | |
OUser (const OUString &Name, bool _bCase) | |
virtual | ~OUser () override |
DECLARE_SERVICE_INFO () | |
virtual void SAL_CALL | disposing () 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 void SAL_CALL | changePassword (const OUString &objPassword, const OUString &newPassword) 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 css::uno::Reference< css::container::XNameAccess > SAL_CALL | getGroups () override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual void | refreshGroups ()=0 |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OUser > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
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 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 |
Protected Member Functions inherited from connectivity::sdbcx::OUser | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
Protected Member Functions inherited from connectivity::sdbcx::IRefreshableGroups | |
~IRefreshableGroups () | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () 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 | |
WpADOUser | m_aUser |
OCatalog * | m_pCatalog |
Protected Attributes inherited from connectivity::sdbcx::OUser | |
std::unique_ptr< OGroups > | m_pGroups |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
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::OPropertyArrayUsageHelper< OUser > | |
static std::mutex & | theMutex () |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OUser > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
OAdoUser::OAdoUser | ( | OCatalog * | _pParent, |
bool | _bCase, | ||
ADOUser * | _pUser = nullptr |
||
) |
Definition at line 36 of file AUser.cxx.
References connectivity::sdbcx::ODescriptor::construct(), connectivity::ado::WpADOUser::Create(), m_aUser, and connectivity::ado::WpOLEBase< T >::set().
OAdoUser::OAdoUser | ( | OCatalog * | _pParent, |
bool | _bCase, | ||
const OUString & | Name | ||
) |
Definition at line 48 of file AUser.cxx.
References connectivity::sdbcx::ODescriptor::construct(), connectivity::ado::WpADOUser::Create(), m_aUser, Name, and connectivity::ado::WpADOUser::put_Name().
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OUser.
Definition at line 166 of file AUser.cxx.
References connectivity::ado::WpADOUser::ChangePassword(), connectivity::checkDisposed(), connectivity::ado::OConnection::getConnection(), connectivity::ado::OCatalog::getConnection(), cppu::BaseMutex::m_aMutex, m_aUser, m_pCatalog, and connectivity::ado::ADOS::ThrowException().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 86 of file AUser.cxx.
References connectivity::ado::WpADOUser::get_Name(), connectivity::ado::WpOLEBase< T >::IsValid(), m_aUser, nHandle, and PROPERTY_ID_NAME.
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OUser.
Definition at line 136 of file AUser.cxx.
References connectivity::checkDisposed(), connectivity::ado::OConnection::getConnection(), connectivity::ado::OCatalog::getConnection(), connectivity::ado::WpADOUser::GetPermissions(), cppu::BaseMutex::m_aMutex, m_aUser, m_pCatalog, connectivity::ado::ADOS::mapAdoRights2Sdbc(), connectivity::ado::ADOS::mapObjectType2Ado(), and connectivity::ado::ADOS::ThrowException().
|
inline |
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OUser.
Definition at line 128 of file AUser.cxx.
References connectivity::checkDisposed(), connectivity::ado::WpADOUser::GetPermissions(), cppu::BaseMutex::m_aMutex, m_aUser, connectivity::ado::ADOS::mapAdoRights2Sdbc(), and connectivity::ado::ADOS::mapObjectType2Ado().
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OUser.
Definition at line 149 of file AUser.cxx.
References connectivity::checkDisposed(), connectivity::ado::OConnection::getConnection(), connectivity::ado::OCatalog::getConnection(), cppu::BaseMutex::m_aMutex, m_aUser, m_pCatalog, connectivity::ado::ADOS::mapObjectType2Ado(), connectivity::ado::ADOS::mapRights2Ado(), connectivity::ado::WpADOUser::SetPermissions(), and connectivity::ado::ADOS::ThrowException().
|
overridevirtual |
Implements connectivity::sdbcx::IRefreshableGroups.
Definition at line 57 of file AUser.cxx.
References connectivity::ado::WpOLECollection< Ts, WrapT >::fillElementNames(), connectivity::ado::WpADOUser::get_Groups(), connectivity::sdbcx::ODescriptor::isCaseSensitive(), cppu::BaseMutex::m_aMutex, m_aUser, m_pCatalog, and connectivity::sdbcx::OUser::m_pGroups.
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OUser.
Definition at line 157 of file AUser.cxx.
References connectivity::checkDisposed(), connectivity::ado::OConnection::getConnection(), connectivity::ado::OCatalog::getConnection(), cppu::BaseMutex::m_aMutex, m_aUser, m_pCatalog, connectivity::ado::ADOS::mapObjectType2Ado(), connectivity::ado::ADOS::mapRights2Ado(), connectivity::ado::WpADOUser::SetPermissions(), and connectivity::ado::ADOS::ThrowException().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 68 of file AUser.cxx.
References connectivity::ado::WpOLEBase< T >::IsValid(), m_aUser, nHandle, PROPERTY_ID_NAME, and connectivity::ado::WpADOUser::put_Name().
|
protected |
Definition at line 34 of file AUser.hxx.
Referenced by changePassword(), getFastPropertyValue(), getGrantablePrivileges(), getImpl(), getPrivileges(), grantPrivileges(), OAdoUser(), refreshGroups(), revokePrivileges(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 35 of file AUser.hxx.
Referenced by changePassword(), getGrantablePrivileges(), grantPrivileges(), refreshGroups(), and revokePrivileges().