Class DoneNotDoneSplitter<InnerProvider, RootExtender>
If we are creating a Diary Checklist, then we need to fetch activites that are overdue and not done, plus (depending on preference) activities that have been marked as done today. This class works as an adapter between an outer multi-activity-type combiner and an inner type-specific (sale, doc, appnt) provider
Implements
Inherited Members
Namespace: SuperOffice
Assembly: SoDataBase.dll
Syntax
public class DoneNotDoneSplitter<InnerProvider, RootExtender> : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin where InnerProvider : ActivityProviderBase<RootExtender> where RootExtender : IArchiveExtender, new()
Type Parameters
Name | Description |
---|---|
InnerProvider | Actual inner provider, must be a subclass of |
RootExtender |
Constructors
DoneNotDoneSplitter(ActivityArchiveKind)
Construct the inner provider (one or two instances according to need)
Declaration
public DoneNotDoneSplitter(ActivityArchiveKind kind)
Parameters
Type | Name | Description |
---|---|---|
ActivityArchiveKind | kind | Kind of archive |
Methods
PreGetRows()
If we are making a diary checklist, apply the not done filter; and if we have a valid 'done today' channel, apply the relevant filter to that one as well
Declaration
protected override void PreGetRows()
Overrides
RequestStandardFilter()
Apply the standard filter from the 'Filter' dialog to the inner provider(s)
Declaration
public void RequestStandardFilter()
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)