Show / Hide Table of Contents

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
object
InMemoryProviderBase<ArchiveInvitationRow>
TypedInMemoryProviderBase<ArchiveInvitationRow>
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>
InvitationProvider
Implements
IArchiveInvitationProvider
IArchiveTypedProvider<ArchiveInvitationRow>
IArchiveTypedProviderBase
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.SetPagingInfo(int, int)
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.GetAvailableColumns()
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.SetDesiredColumns(params string[])
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.SetOrderBy(params ArchiveOrderByInfo[])
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.SetRestriction(params ArchiveRestrictionInfo[])
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.GetAvailableEntities()
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.SetDesiredEntities(params string[])
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.InnerProvider
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.InnerOrderBy
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.AdditionalDesiredColumns
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.ExternalDesiredColumns
TypedInMemoryProviderBase<ArchiveInvitationRow>.GetRowsAsync(string, CancellationToken)
TypedInMemoryProviderBase<ArchiveInvitationRow>.GetStandardColumnNames()
TypedInMemoryProviderBase<ArchiveInvitationRow>.SetAdditionalColumns(params string[])
InMemoryProviderBase<ArchiveInvitationRow>._entityHelper
InMemoryProviderBase<ArchiveInvitationRow>.Visible
InMemoryProviderBase<ArchiveInvitationRow>.Invisible
InMemoryProviderBase<ArchiveInvitationRow>.AllowOrderBy
InMemoryProviderBase<ArchiveInvitationRow>.DenyOrderBy
InMemoryProviderBase<ArchiveInvitationRow>.Options
InMemoryProviderBase<ArchiveInvitationRow>.RegisterEntity(ArchiveRowTypeInfo)
InMemoryProviderBase<ArchiveInvitationRow>.GetReaderAsync(string, CancellationToken)
InMemoryProviderBase<ArchiveInvitationRow>.GetResultInformationAsync()
InMemoryProviderBase<ArchiveInvitationRow>.SortData(List<ArchiveInvitationRow>)
InMemoryProviderBase<ArchiveInvitationRow>.Close()
InMemoryProviderBase<ArchiveInvitationRow>.SetPagingInfo(int, int)
InMemoryProviderBase<ArchiveInvitationRow>.GetAvailableColumns()
InMemoryProviderBase<ArchiveInvitationRow>.SetDesiredColumns(params string[])
InMemoryProviderBase<ArchiveInvitationRow>.SetOrderBy(params ArchiveOrderByInfo[])
InMemoryProviderBase<ArchiveInvitationRow>.GetAvailableEntities()
InMemoryProviderBase<ArchiveInvitationRow>.SetDesiredEntities(params string[])
InMemoryProviderBase<ArchiveInvitationRow>.EntityHelper
InMemoryProviderBase<ArchiveInvitationRow>.ColumnHelper
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("Invitation", 1073741823)]
public class InvitationProvider : BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>, IArchiveInvitationProvider, IArchiveTypedProvider<ArchiveInvitationRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

Constructors

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.

Declaration
public InvitationProvider()
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

Fields

ProviderName

Invitation provider multichannel combiner, consisting of simple, cancelled, rejected, repeating and response invitations. You can also call up appointments explicitly through the Explicit provider.

Declaration
public const string ProviderName = "Invitation"
Field Value
Type Description
string
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

_colInvitationStatusNotSeenByMe

Invitation provider multichannel combiner, consisting of simple, cancelled, rejected, repeating and response invitations. You can also call up appointments explicitly through the Explicit provider.

Declaration
protected ArchiveColumnInfo _colInvitationStatusNotSeenByMe
Field Value
Type Description
ArchiveColumnInfo
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

Properties

AdditionalDesiredColumns

Invitation provider multichannel combiner, consisting of simple, cancelled, rejected, repeating and response invitations. You can also call up appointments explicitly through the Explicit provider.

Declaration
protected override string[] AdditionalDesiredColumns { get; }
Property Value
Type Description
string[]
Overrides
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.AdditionalDesiredColumns
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

BaseClassShouldFilterColumns

Override: Let the inner provider (not the InMemoryProvider base class) filter columns

Declaration
protected override bool BaseClassShouldFilterColumns { get; }
Property Value
Type Description
bool
Overrides
InMemoryProviderBase<ArchiveInvitationRow>.BaseClassShouldFilterColumns
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

BaseClassShouldFilterEntities

Override: Let the base class filter entitities, we will mark them for filtering

Declaration
protected override bool BaseClassShouldFilterEntities { get; }
Property Value
Type Description
bool
Overrides
InMemoryProviderBase<ArchiveInvitationRow>.BaseClassShouldFilterEntities
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

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
bool
Overrides
InMemoryProviderBase<ArchiveInvitationRow>.BaseClassShouldPage
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

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
bool
Overrides
InMemoryProviderBase<ArchiveInvitationRow>.BaseClassShouldSort
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

Methods

GetResultDataAsync(CancellationToken)

Subclass contract: Return a list of ArchiveRow items that are the current result

Declaration
protected override IAsyncEnumerable<ArchiveInvitationRow> GetResultDataAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<ArchiveInvitationRow>

result list, which may be paged, sorted and column-filtered, or not, according to the abstract properties

Overrides
InMemoryProviderBase<ArchiveInvitationRow>.GetResultDataAsync(CancellationToken)
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

SetAssociateId(int)

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
int associateId

Associate id to fetch invitations for

Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

SetRestriction(params 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
Type Name Description
ArchiveRestrictionInfo[] restrictions
Returns
Type Description
bool
Overrides
BufferedQueryProviderBase<ArchiveInvitationRow, InvitationProviderCombiner>.SetRestriction(params ArchiveRestrictionInfo[])
Remarks

SimpleInvitationProviderResponseInvitationProviderCancelledInvitationProvider RepeatingInvitationProviderRejectedInvitationProviderExplicitInvitationProvider The final result set needs filtering to remove repeating records if we are running in "compressed" mode, and also reordering to make sure we get the right order. We also need to filter repeating bookings against explicit records to remove duplicates there, because someone may explicitly request an instance an a recurring booking, so that all other instances should be suppressed.

Implements

IArchiveInvitationProvider
IArchiveTypedProvider<StronglyTypedRow>
IArchiveTypedProviderBase
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

IArchiverProviderHasRowsExtensions.GetRowsAsync(IArchiveProviderHasRows, CancellationToken)
EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top