Class SNameKeyList
- Namespace
- SWConfigDataClientLib.Proxies.PhoneClient
- Assembly
- IpPbxCDSClientLib.dll
Class for reading and writing the speed dial configuration of an user.
public class SNameKeyList : Dictionary<int, NameKeyListEntry>
- Inheritance
-
SNameKeyList
Constructors
SNameKeyList()
Default constructor for creating an empty list;
public SNameKeyList()
Properties
Created
Date when the list was created
public SDateTime Created { get; }
Property Value
DisplayName
Display name of the user. (Not set up to now)
public string DisplayName { get; }
Property Value
Imported
Date when the list was migrated from the BLOB
public SDateTime Imported { get; }
Property Value
Name
Name of the list. This is always 'default'
public string Name { get; }
Property Value
Updated
Date when the list was last updated
public SDateTime Updated { get; }
Property Value
UserID
The id of the user owning this list.
public int UserID { get; }
Property Value
Methods
AllEntriesEmpty()
Returns true if all name keys in this list are not configured (No dial number and no title);
public bool AllEntriesEmpty()
Returns
- bool
true is all entries are note configured
UpdateList(PhoneClientFacade, bool)
Updates the list by writing changes into the database and reading the list from database again. Name keys of users that are not part of this list will not be modified.
public void UpdateList(PhoneClientFacade facade, bool saveChanges)
Parameters
facade
PhoneClientFacadePhoenClientFacade to process the required actions
saveChanges
boolif false all local changes will be dropped