Class MultiQueryProviderBaseWithRestrictionGroups
Base for providers with OR-able restriction groups.
Inheritance
MultiQueryProviderBaseWithRestrictionGroups
Assembly: SoDataBase.dll
Syntax
public abstract class MultiQueryProviderBaseWithRestrictionGroups : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
MultiQueryProviderBaseWithRestrictionGroups()
Declaration
public MultiQueryProviderBaseWithRestrictionGroups()
Properties
RestrictionStorageKey
Declaration
protected abstract string RestrictionStorageKey { get; }
Property Value
StorageKeyRestrictionName
Declaration
protected abstract string StorageKeyRestrictionName { get; }
Property Value
SubProviderName
Declaration
protected abstract string SubProviderName { get; }
Property Value
Methods
GetRows(String)
Declaration
public override IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type |
Name |
Description |
String |
options |
|
Returns
Overrides
ModifyRestrictionGroup(IArchiveProvider, ArchiveRestrictionInfo[])
Declaration
protected virtual ArchiveRestrictionInfo[] ModifyRestrictionGroup(IArchiveProvider provider, ArchiveRestrictionInfo[] resGroup)
Parameters
Returns
SetDesiredColumns(String[])
Store the desired columns, so they don't get lost until SetRestrictions tells us what to do
Declaration
public override void SetDesiredColumns(params string[] columnIds)
Parameters
Type |
Name |
Description |
String[] |
columnIds |
|
Overrides
SetDesiredEntities(String[])
Store the desired entities, so they don't get lost until SetRestrictions tells us what to do
Declaration
public override void SetDesiredEntities(params string[] entities)
Parameters
Type |
Name |
Description |
String[] |
entities |
|
Overrides
SetOrderBy(ArchiveOrderByInfo[])
Store the orderby, so they don't get lost until SetRestrictions tells us what to do
Declaration
public override void SetOrderBy(ArchiveOrderByInfo[] orderBy)
Parameters
Overrides
SetRestriction(ArchiveRestrictionInfo[])
Mandatory restriction selectionId is used to retrieve the actual restrictions, instantiate providers and set up the whole system
Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)