Class InvitationProvider
Invitation provider multichannel combiner, consisting of simple, cancelled, rejected, repeating and response invitations. You can also
call up appointments explicitly through the Explicit provider.
Inheritance
System.Object
InvitationProvider
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("Invitation", 1073741823)]
public class InvitationProvider : BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>, IArchiveInvitationProvider, IArchiveTypedProvider<ArchiveInvitationRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
InvitationProvider()
Declaration
public InvitationProvider()
Fields
_colInvitationStatusNotSeenByMe
Declaration
protected ArchiveColumnInfo _colInvitationStatusNotSeenByMe
Field Value
ProviderName
Declaration
public const string ProviderName = "Invitation"
Field Value
Type |
Description |
System.String |
|
Properties
AdditionalDesiredColumns
Declaration
protected override string[] AdditionalDesiredColumns { get; }
Property Value
Type |
Description |
System.String[] |
|
Overrides
SuperOffice.CRM.ArchiveLists.BufferedQueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveInvitationRow, SuperOffice.CRM.ArchiveLists.InvitationProviderCombiner>.AdditionalDesiredColumns
BaseClassShouldFilterColumns
Override: Let the inner provider (not the InMemoryProvider base class) filter columns
Declaration
protected override bool BaseClassShouldFilterColumns { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveInvitationRow>.BaseClassShouldFilterColumns
BaseClassShouldFilterEntities
Override: Let the base class filter entitities, we will mark them for filtering
Declaration
protected override bool BaseClassShouldFilterEntities { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveInvitationRow>.BaseClassShouldFilterEntities
BaseClassShouldPage
Override: Let the base class do paging (this stategy fails if there are a gazillion invitations!)
Declaration
protected override bool BaseClassShouldPage { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveInvitationRow>.BaseClassShouldPage
BaseClassShouldSort
Override: Let the base class do orderBy, since our filtering may mess up the orderby
Declaration
protected override bool BaseClassShouldSort { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveInvitationRow>.BaseClassShouldSort
Methods
GetResultData()
Declaration
protected override List<ArchiveInvitationRow> GetResultData()
Returns
Overrides
SuperOffice.CRM.ArchiveLists.InMemoryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveInvitationRow>.GetResultData()
SetAssociateId(Int32)
Set the id of the associate we wish to fetch invitations for. This is equivalent to setting the 'associateId' restriction
with a unique value.
Declaration
public void SetAssociateId(int associateId)
Parameters
Type |
Name |
Description |
System.Int32 |
associateId |
Associate id to fetch invitations for
|
SetRestriction(ArchiveRestrictionInfo[])
Override: Extract and drop any restriction relating to Status, since that is handled here in the final filtering step
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
SuperOffice.CRM.ArchiveLists.BufferedQueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveInvitationRow, SuperOffice.CRM.ArchiveLists.InvitationProviderCombiner>.SetRestriction(SuperOffice.CRM.ArchiveLists.ArchiveRestrictionInfo[])
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)