Class FreetextCountProvider
Archive provider for counts of freetext matches
Inheritance
FreetextCountProvider
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("FreetextCount", 1073741823)]
public class FreetextCountProvider : InMemoryProviderBase<ArchiveFreetextCountRow>, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
FreetextCountProvider()
Set up the provider and entity
Declaration
public FreetextCountProvider()
Fields
_colCount
Declaration
protected ArchiveColumnInfo _colCount
Field Value
_colEntityLocalizedName
Declaration
protected ArchiveColumnInfo _colEntityLocalizedName
Field Value
_colEntityName
Declaration
protected ArchiveColumnInfo _colEntityName
Field Value
_colWords
Declaration
protected ArchiveColumnInfo _colWords
Field Value
EntityName
Declaration
public const string EntityName = "freetextcount"
Field Value
ProviderName
Declaration
public const string ProviderName = "FreetextCount"
Field Value
Properties
BaseClassShouldFilterColumns
Declaration
protected override bool BaseClassShouldFilterColumns { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveFreetextCountRow>.BaseClassShouldFilterColumns
BaseClassShouldFilterEntities
Declaration
protected override bool BaseClassShouldFilterEntities { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveFreetextCountRow>.BaseClassShouldFilterEntities
BaseClassShouldPage
Declaration
protected override bool BaseClassShouldPage { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveFreetextCountRow>.BaseClassShouldPage
BaseClassShouldSort
Declaration
protected override bool BaseClassShouldSort { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveFreetextCountRow>.BaseClassShouldSort
Methods
GetResultData()
Call on the FreetextMatchCalculator to do a search, and consolidate the results into counts. Create
a set of archive rows to return to the base class containing those results.
Declaration
protected override List<ArchiveFreetextCountRow> GetResultData()
Returns
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveFreetextCountRow>.GetResultData()
SetRestriction(ArchiveRestrictionInfo[])
Extract freetext search word restrictions. The operator of the restriction is always taken to be in/begins, regardless
of what is actually specified
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveFreetextCountRow>.SetRestriction(SuperOffice.CRM.ArchiveLists.ArchiveRestrictionInfo[])
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)