Class DataCacheCommon
- Namespace
- SWConfigDataClientLib
- Assembly
- IpPbxCDSClientLib.dll
public class DataCacheCommon
- Inheritance
-
DataCacheCommon
- Derived
Constructors
DataCacheCommon()
public DataCacheCommon()
Fields
_addOnFeatures
protected ConcurrentDictionary<int, List<Guid>> _addOnFeatures
Field Value
_addOnFeaturesMarkedForReload
protected bool _addOnFeaturesMarkedForReload
Field Value
_errorsOnLoadingConfiguration
protected bool _errorsOnLoadingConfiguration
Field Value
_featureAndLicenseMap
protected ConcurrentDictionary<int, TFeatureProfile> _featureAndLicenseMap
Field Value
- ConcurrentDictionary<int, TFeatureProfile>
_featureAndLicenseMarkedForReload
protected bool _featureAndLicenseMarkedForReload
Field Value
_licenseManagerInitialized
protected bool _licenseManagerInitialized
Field Value
Properties
LicenseInitialized
public bool LicenseInitialized { get; }
Property Value
Methods
CheckFeatureList(FeatureList)
Sets the licensed flag for all features in an list of features
public void CheckFeatureList(FeatureList featureList)
Parameters
featureListFeatureListThe list of features
CheckFeatureList(int, int, bool, FeatureList)
Sets the licensed and enabled flag for all features in an list of features for an user.
public void CheckFeatureList(int userId, int profileId, bool isConferenceUser, FeatureList featureList)
Parameters
userIdintThe id of the user to be checked for
profileIdintfeatureprofile id of the user can be 0
isConferenceUserboolfeatureListFeatureListThe list of features
DeleteAddOnFeatures(int, Guid)
protected bool DeleteAddOnFeatures(int userId, Guid featureId)
Parameters
Returns
InitLicensing(IppbxServerFacade)
protected void InitLicensing(IppbxServerFacade serverFacade)
Parameters
serverFacadeIppbxServerFacade
InsertAddOnFeatures(int, Guid)
protected bool InsertAddOnFeatures(int userId, Guid featureId)
Parameters
Returns
LoadAddOnFeatures(IppbxServerFacade, int)
protected bool LoadAddOnFeatures(IppbxServerFacade serverFacade, int userId = 0)
Parameters
serverFacadeIppbxServerFacadeuserIdint
Returns
LoadLicenseAndFeatures(IppbxServerFacade)
protected bool LoadLicenseAndFeatures(IppbxServerFacade serverFacade)
Parameters
serverFacadeIppbxServerFacade