Class RestrictionStorageFactory
Factory class for restriction storage providers. This class will scan for plugins of type
and return
a provider for a particular storage type on request.
Inheritance
RestrictionStorageFactory
Assembly: SoDataBase.dll
Syntax
public static class RestrictionStorageFactory : Object
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
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
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
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
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
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