Class UserPreferenceArchiveHelper
Helper class to decode / populate preference values; provides shared logic for the UserPreferenceExtenderBase and MappedPreferenceProvider
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[SoInject("Database")]
public class UserPreferenceArchiveHelper : Object
Methods
GetDatabaseName(Int32)
Helper class to decode / populate preference values; provides shared logic for the UserPreferenceExtenderBase and MappedPreferenceProvider
Declaration
public string GetDatabaseName(int ownerId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | ownerId |
Returns
Type | Description |
---|---|
String |
GetLevelEntityName(PreferenceLevel)
Helper class to decode / populate preference values; provides shared logic for the UserPreferenceExtenderBase and MappedPreferenceProvider
Declaration
public string GetLevelEntityName(PreferenceLevel deflevel)
Parameters
Type | Name | Description |
---|---|---|
PreferenceLevel | deflevel |
Returns
Type | Description |
---|---|
String |
GetLevelName(PreferenceLevel)
Helper class to decode / populate preference values; provides shared logic for the UserPreferenceExtenderBase and MappedPreferenceProvider
Declaration
public string GetLevelName(PreferenceLevel deflevel)
Parameters
Type | Name | Description |
---|---|---|
PreferenceLevel | deflevel |
Returns
Type | Description |
---|---|
String |
GetOwnerName(PreferenceLevel, Int32)
Helper class to decode / populate preference values; provides shared logic for the UserPreferenceExtenderBase and MappedPreferenceProvider
Declaration
public string GetOwnerName(PreferenceLevel deflevel, int ownerId)
Parameters
Type | Name | Description |
---|---|---|
PreferenceLevel | deflevel | |
Int32 | ownerId |
Returns
Type | Description |
---|---|
String |
GetPreferenceValue(String, String, String)
Helper class to decode / populate preference values; provides shared logic for the UserPreferenceExtenderBase and MappedPreferenceProvider
Declaration
public ValueTuple<string, string> GetPreferenceValue(string section, string key, string rawValue)
Parameters
Type | Name | Description |
---|---|---|
String | section | |
String | key | |
String | rawValue |
Returns
Type | Description |
---|---|
ValueTuple<String, String> |