Class ActivityProviderBase<RootExtender>
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class ActivityProviderBase<RootExtender> : TypedQueryProviderBase<ArchiveRow, RootExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities where RootExtender : IArchiveExtender, new()
Type Parameters
Name | Description |
---|---|
RootExtender |
Constructors
ActivityProviderBase(ArchiveRowTypeInfo)
Declaration
protected ActivityProviderBase(ArchiveRowTypeInfo entity)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRowTypeInfo | entity |
Fields
_kind
Kind of activity archive - contact, project, checklist, or raw
Declaration
protected ActivityArchiveKind _kind
Field Value
Type | Description |
---|---|
ActivityArchiveKind |
_wantDoneNotDoneFilter
What kind of done today/not done filtering should be applied to this instance
Declaration
protected ActivityProviderBase<RootExtender>.DoneNotDoneFilter _wantDoneNotDoneFilter
Field Value
Type | Description |
---|---|
ActivityProviderBase<RootExtender>.DoneNotDoneFilter |
_wantStandardFilter
Should the filter for the 'standard Filter dialog' be applied
Declaration
protected bool _wantStandardFilter
Field Value
Type | Description |
---|---|
bool |
Methods
ProcessKindRestrictions(ActivityArchiveKind)
Process as many of the kind-based restrictions (see ActivityArchiveKind) as possible in SQL, and order up enough return fields to do the rest.
Declaration
protected virtual void ProcessKindRestrictions(ActivityArchiveKind kind)
Parameters
Type | Name | Description |
---|---|---|
ActivityArchiveKind | kind | Archive kind, passed in from caller |
RequestDoneNotDoneFilter(bool)
Apply a filter that will retrieve EITHER activities 'done today', OR activities 'not done'. This filtering is used by the diary checklist only, and is ordered by the DoneNotDoneSplitter class when setting up the archive.
Declaration
public void RequestDoneNotDoneFilter(bool doneToday)
Parameters
Type | Name | Description |
---|---|---|
bool | doneToday | If true, then apply the 'done today' filter; otherwise apply the 'not done' filter |
RequestStandardFilter()
For archive entities that have a 'standard filter' (corresponds to the Filter button and dialog, where you can set a date boundary and a set of users/groups): apply this filter. Entities that do not have such a filter should do nothing.
Declaration
public void RequestStandardFilter()