LibreOffice Module connectivity (master) 1
|
#include <AGroup.hxx>
Public Member Functions | |
virtual void | refreshUsers () override |
OAdoGroup (OCatalog *_pParent, bool _bCase, ADOGroup *_pGroup=nullptr) | |
OAdoGroup (OCatalog *_pParent, bool _bCase, const OUString &Name) | |
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 |
WpADOGroup | getImpl () const |
Public Member Functions inherited from connectivity::sdbcx::OGroup | |
OGroup (bool _bCase) | |
OGroup (const OUString &Name, bool _bCase) | |
virtual | ~OGroup () override |
DECLARE_SERVICE_INFO () | |
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 &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () 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 | getUsers () 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 OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual void | refreshUsers ()=0 |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OGroup > | |
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 | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
Protected Member Functions inherited from connectivity::sdbcx::OGroup | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
Protected Member Functions inherited from connectivity::sdbcx::IRefreshableUsers | |
~IRefreshableUsers () | |
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 |
Static Private Member Functions | |
static sal_Int32 | MapRight (RightsEnum _eNum) |
static RightsEnum | Map2Right (sal_Int32 _eNum) |
static ObjectTypeEnum | MapObjectType (sal_Int32 ObjType) |
Private Attributes | |
WpADOGroup | m_aGroup |
OCatalog * | m_pCatalog |
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< OGroup > | |
static std::mutex & | theMutex () |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Protected Attributes inherited from connectivity::sdbcx::OGroup | |
std::unique_ptr< OUsers > | m_pUsers |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from connectivity::sdbcx::ODescriptor | |
OUString | m_Name |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OGroup > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 30 of file AGroup.hxx.
OAdoGroup::OAdoGroup | ( | OCatalog * | _pParent, |
bool | _bCase, | ||
ADOGroup * | _pGroup = nullptr |
||
) |
Definition at line 42 of file AGroup.cxx.
References connectivity::sdbcx::ODescriptor::construct(), connectivity::ado::WpADOGroup::Create(), m_aGroup, and connectivity::ado::WpOLEBase< T >::set().
OAdoGroup::OAdoGroup | ( | OCatalog * | _pParent, |
bool | _bCase, | ||
const OUString & | Name | ||
) |
Definition at line 52 of file AGroup.cxx.
References connectivity::sdbcx::ODescriptor::construct(), connectivity::ado::WpADOGroup::Create(), m_aGroup, Name, and connectivity::ado::WpADOGroup::put_Name().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 90 of file AGroup.cxx.
References connectivity::ado::WpADOGroup::get_Name(), connectivity::ado::WpOLEBase< T >::IsValid(), m_aGroup, nHandle, and PROPERTY_ID_NAME.
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OGroup.
Definition at line 109 of file AGroup.cxx.
References connectivity::ado::WpADOGroup::GetPermissions(), m_aGroup, MapObjectType(), and MapRight().
|
inline |
Definition at line 54 of file AGroup.hxx.
References m_aGroup.
Referenced by connectivity::ado::OGroups::appendObject().
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OGroup.
Definition at line 104 of file AGroup.cxx.
References connectivity::ado::WpADOGroup::GetPermissions(), m_aGroup, MapObjectType(), and MapRight().
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OGroup.
Definition at line 117 of file AGroup.cxx.
References m_aGroup, Map2Right(), MapObjectType(), and connectivity::ado::WpADOGroup::SetPermissions().
|
staticprivate |
Definition at line 356 of file ADatabaseMetaDataImpl.cxx.
Referenced by grantPrivileges(), and revokePrivileges().
|
staticprivate |
Definition at line 314 of file ADatabaseMetaDataImpl.cxx.
Referenced by getGrantablePrivileges(), getPrivileges(), grantPrivileges(), and revokePrivileges().
|
staticprivate |
Definition at line 331 of file ADatabaseMetaDataImpl.cxx.
Referenced by getGrantablePrivileges(), and getPrivileges().
|
overridevirtual |
Implements connectivity::sdbcx::IRefreshableUsers.
Definition at line 59 of file AGroup.cxx.
References connectivity::ado::WpOLECollection< Ts, WrapT >::fillElementNames(), connectivity::ado::WpADOGroup::get_Users(), connectivity::sdbcx::ODescriptor::isCaseSensitive(), m_aGroup, cppu::BaseMutex::m_aMutex, m_pCatalog, and connectivity::sdbcx::OGroup::m_pUsers.
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OGroup.
Definition at line 122 of file AGroup.cxx.
References m_aGroup, Map2Right(), MapObjectType(), and connectivity::ado::WpADOGroup::SetPermissions().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 72 of file AGroup.cxx.
References connectivity::ado::WpOLEBase< T >::IsValid(), m_aGroup, nHandle, PROPERTY_ID_NAME, and connectivity::ado::WpADOGroup::put_Name().
|
private |
Definition at line 32 of file AGroup.hxx.
Referenced by getFastPropertyValue(), getGrantablePrivileges(), getImpl(), getPrivileges(), grantPrivileges(), OAdoGroup(), refreshUsers(), revokePrivileges(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 33 of file AGroup.hxx.
Referenced by refreshUsers().