LibreOffice Module svl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SysCredentialsConfigItem Class Reference

#include <syscreds.hxx>

Inheritance diagram for SysCredentialsConfigItem:
[legend]
Collaboration diagram for SysCredentialsConfigItem:
[legend]

Public Member Functions

 SysCredentialsConfigItem (SysCredentialsConfig *pOwner)
 
virtual void Notify (const css::uno::Sequence< OUString > &seqPropertyNames) override
 
css::uno::Sequence< OUString > getSystemCredentialsURLs ()
 
void setSystemCredentialsURLs (const css::uno::Sequence< OUString > &seqURLList)
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
- Public Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Private Member Functions

css::uno::Sequence< OUString > getSystemCredentialsURLs (std::unique_lock< std::mutex > &rGuard)
 
virtual void ImplCommit () override
 

Private Attributes

std::mutex m_aMutex
 
bool m_bInited
 
css::uno::Sequence< OUString > m_seqURLs
 
SysCredentialsConfigm_pOwner
 

Additional Inherited Members

- Static Public Member Functions inherited from utl::ConfigItem
static css::uno::Sequence< OUString > GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat)
 
static css::uno::Sequence< css::uno::Any > GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales)
 
static bool PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales)
 
static bool ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode)
 
static bool ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales)
 
static bool SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (OUString aSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 

Detailed Description

Definition at line 32 of file syscreds.hxx.

Constructor & Destructor Documentation

◆ SysCredentialsConfigItem()

SysCredentialsConfigItem::SysCredentialsConfigItem ( SysCredentialsConfig pOwner)
explicit

Definition at line 26 of file syscreds.cxx.

References utl::ConfigItem::EnableNotification(), m_pOwner, NONE, and pOwner.

Member Function Documentation

◆ getSystemCredentialsURLs() [1/2]

uno::Sequence< OUString > SysCredentialsConfigItem::getSystemCredentialsURLs ( )

◆ getSystemCredentialsURLs() [2/2]

uno::Sequence< OUString > SysCredentialsConfigItem::getSystemCredentialsURLs ( std::unique_lock< std::mutex > &  rGuard)
private

Definition at line 62 of file syscreds.cxx.

References aPropNames, utl::ConfigItem::GetProperties(), m_bInited, and m_seqURLs.

◆ ImplCommit()

void SysCredentialsConfigItem::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 49 of file syscreds.cxx.

◆ Notify()

void SysCredentialsConfigItem::Notify ( const css::uno::Sequence< OUString > &  seqPropertyNames)
overridevirtual

◆ setSystemCredentialsURLs()

void SysCredentialsConfigItem::setSystemCredentialsURLs ( const css::uno::Sequence< OUString > &  seqURLList)

Member Data Documentation

◆ m_aMutex

std::mutex SysCredentialsConfigItem::m_aMutex
private

Definition at line 50 of file syscreds.hxx.

Referenced by getSystemCredentialsURLs(), Notify(), and setSystemCredentialsURLs().

◆ m_bInited

bool SysCredentialsConfigItem::m_bInited
private

Definition at line 51 of file syscreds.hxx.

Referenced by getSystemCredentialsURLs(), Notify(), and setSystemCredentialsURLs().

◆ m_pOwner

SysCredentialsConfig* SysCredentialsConfigItem::m_pOwner
private

Definition at line 53 of file syscreds.hxx.

Referenced by Notify().

◆ m_seqURLs

css::uno::Sequence< OUString > SysCredentialsConfigItem::m_seqURLs
private

Definition at line 52 of file syscreds.hxx.

Referenced by getSystemCredentialsURLs(), and setSystemCredentialsURLs().


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