LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
connectivity::sdbcx::OGroup Class Reference

#include <VGroup.hxx>

Inheritance diagram for connectivity::sdbcx::OGroup:
[legend]
Collaboration diagram for connectivity::sdbcx::OGroup:
[legend]

Public Member Functions

 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
 
- Public Member Functions inherited from connectivity::sdbcx::IRefreshableUsers
virtual void refreshUsers ()=0
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OGroup >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 
- 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::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
- Protected Member Functions inherited from connectivity::sdbcx::IRefreshableUsers
 ~IRefreshableUsers ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 
- Protected Member Functions inherited from connectivity::sdbcx::ODescriptor
::cppu::IPropertyArrayHelperdoCreateArrayHelper () 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

std::unique_ptr< OUsersm_pUsers
 
- 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< OGroup >
static std::mutextheMutex ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OGroup >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 43 of file VGroup.hxx.

Constructor & Destructor Documentation

◆ OGroup() [1/2]

OGroup::OGroup ( bool  _bCase)

Definition at line 37 of file VGroup.cxx.

References m_aMutex.

◆ OGroup() [2/2]

OGroup::OGroup ( const OUString &  Name,
bool  _bCase 
)

Definition at line 42 of file VGroup.cxx.

References m_aMutex, connectivity::sdbcx::ODescriptor::m_Name, and Name.

◆ ~OGroup()

virtual connectivity::sdbcx::OGroup::~OGroup ( )
overridevirtual

Member Function Documentation

◆ acquire()

void SAL_CALL OGroup::acquire ( )
overridevirtualnoexcept

Definition at line 155 of file VGroup.cxx.

◆ createArrayHelper()

cppu::IPropertyArrayHelper * OGroup::createArrayHelper ( ) const
overrideprotectedvirtual

◆ DECLARE_SERVICE_INFO()

connectivity::sdbcx::OGroup::DECLARE_SERVICE_INFO ( )

◆ disposing()

virtual void SAL_CALL connectivity::sdbcx::OGroup::disposing ( )
overridevirtual

◆ getGrantablePrivileges()

sal_Int32 SAL_CALL OGroup::getGrantablePrivileges ( const OUString &  objName,
sal_Int32  objType 
)
overridevirtual

Reimplemented in connectivity::ado::OAdoGroup.

Definition at line 117 of file VGroup.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & OGroup::getInfoHelper ( )
overrideprotected

◆ getName()

OUString SAL_CALL OGroup::getName ( )
overridevirtual

Definition at line 144 of file VGroup.cxx.

References connectivity::sdbcx::ODescriptor::m_Name.

◆ getPrivileges()

sal_Int32 SAL_CALL OGroup::getPrivileges ( const OUString &  objName,
sal_Int32  objType 
)
overridevirtual

Reimplemented in connectivity::ado::OAdoGroup.

Definition at line 109 of file VGroup.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ getPropertySetInfo()

virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL connectivity::sdbcx::OGroup::getPropertySetInfo ( )
overridevirtual

◆ getTypes()

Sequence< Type > SAL_CALL OGroup::getTypes ( )
overridevirtual
Exceptions
css::uno::RuntimeException

Reimplemented from connectivity::sdbcx::ODescriptor.

Definition at line 58 of file VGroup.cxx.

References connectivity::sdbcx::ODescriptor::getTypes().

◆ getUsers()

Reference< XNameAccess > SAL_CALL OGroup::getUsers ( )
overridevirtual

◆ grantPrivileges()

void SAL_CALL OGroup::grantPrivileges ( const OUString &  objName,
sal_Int32  objType,
sal_Int32  objPrivileges 
)
overridevirtual

◆ queryInterface()

Any SAL_CALL OGroup::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Definition at line 52 of file VGroup.cxx.

References Any.

◆ release()

void SAL_CALL OGroup::release ( )
overridevirtualnoexcept

Definition at line 160 of file VGroup.cxx.

◆ revokePrivileges()

void SAL_CALL OGroup::revokePrivileges ( const OUString &  objName,
sal_Int32  objType,
sal_Int32  objPrivileges 
)
overridevirtual

◆ setName()

void SAL_CALL OGroup::setName ( const OUString &  aName)
overridevirtual

Definition at line 149 of file VGroup.cxx.

References dbtools::throwFeatureNotImplementedRuntimeException().

Member Data Documentation

◆ m_pUsers

std::unique_ptr<OUsers> connectivity::sdbcx::OGroup::m_pUsers
protected

Definition at line 52 of file VGroup.hxx.

Referenced by getUsers(), and connectivity::ado::OAdoGroup::refreshUsers().


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