Class RestrictionStorageFactory
Factory class for restriction storage providers. This class will scan for plugins of type
SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage and return
a provider for a particular storage type on request.
Inheritance
RestrictionStorageFactory
Assembly: SoDataBase.dll
Syntax
public static class RestrictionStorageFactory
Methods
GetMapping(string, string)
Return the criterion mapping information - if any - for the given combination of storage type and provider name
Declaration
public static Dictionary<string, Dictionary<string, string>> GetMapping(string storageType, string xPath)
Parameters
Type |
Name |
Description |
string |
storageType |
Case-insensitive name of the desired storage type. Initially valid types are
'Criteria' and 'Reporter'.
|
string |
xPath |
|
Returns
GetProvider(string)
Factory class for restriction storage providers. This class will scan for plugins of type
SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage and return
a provider for a particular storage type on request.
Declaration
public static IRestrictionStorage GetProvider(string storageType)
Parameters
Type |
Name |
Description |
string |
storageType |
|
Returns
GetProvider(string, string)
Return a singleton restriction storage provider for the given storageType, or null if no provider exists.
Declaration
public static IRestrictionStorage GetProvider(string storageType, string context)
Parameters
Type |
Name |
Description |
string |
storageType |
Case-insensitive name of the desired storage type. Initially valid types are
'Criteria' and 'Reporter'.
|
string |
context |
|
Returns
GetRestrictionFromAllGroupsViaStorage(ArchiveRestrictionInfo[], string, string, string, string)
Factory class for restriction storage providers. This class will scan for plugins of type
SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage and return
a provider for a particular storage type on request.
Declaration
public static ArchiveRestrictionInfo[][] GetRestrictionFromAllGroupsViaStorage(ArchiveRestrictionInfo[] restrictions, string providerName, string storageType, string storageKeyRestrictionName, string restrictionStorageKey)
Parameters
Returns
GetRestrictionFromAllGroupsViaStorage(ArchiveRestrictionInfo[], string, string, string, string, string)
Factory class for restriction storage providers. This class will scan for plugins of type
SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage and return
a provider for a particular storage type on request.
Declaration
public static ArchiveRestrictionInfo[][] GetRestrictionFromAllGroupsViaStorage(ArchiveRestrictionInfo[] restrictions, string providerName, string storageType, string storageKeyRestrictionName, string restrictionStorageKey, string context)
Parameters
Returns
GetRestrictionViaStorage(ArchiveRestrictionInfo[], string, string, string, string)
Factory class for restriction storage providers. This class will scan for plugins of type
SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage and return
a provider for a particular storage type on request.
Declaration
public static ArchiveRestrictionInfo[] GetRestrictionViaStorage(ArchiveRestrictionInfo[] restrictions, string providerName, string storageType, string storageKeyRestrictionName, string restrictionStorageKey)
Parameters
Returns
GetRestrictionViaStorage(ArchiveRestrictionInfo[], string, string, string, string, string)
Factory class for restriction storage providers. This class will scan for plugins of type
SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage and return
a provider for a particular storage type on request.
Declaration
public static ArchiveRestrictionInfo[] GetRestrictionViaStorage(ArchiveRestrictionInfo[] restrictions, string providerName, string storageType, string storageKeyRestrictionName, string restrictionStorageKey, string context)
Parameters
Returns