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
featureList
FeatureListThe 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
userId
intThe id of the user to be checked for
profileId
intfeatureprofile id of the user can be 0
isConferenceUser
boolfeatureList
FeatureListThe list of features
DeleteAddOnFeatures(int, Guid)
protected bool DeleteAddOnFeatures(int userId, Guid featureId)
Parameters
Returns
InitLicensing(IppbxServerFacade)
protected void InitLicensing(IppbxServerFacade serverFacade)
Parameters
serverFacade
IppbxServerFacade
InsertAddOnFeatures(int, Guid)
protected bool InsertAddOnFeatures(int userId, Guid featureId)
Parameters
Returns
LoadAddOnFeatures(IppbxServerFacade, int)
protected bool LoadAddOnFeatures(IppbxServerFacade serverFacade, int userId = 0)
Parameters
serverFacade
IppbxServerFacadeuserId
int
Returns
LoadLicenseAndFeatures(IppbxServerFacade)
protected bool LoadLicenseAndFeatures(IppbxServerFacade serverFacade)
Parameters
serverFacade
IppbxServerFacade