Class ExplicitInvitationExtender
Extender that fetches invitations by explicit appointment ID; these are generally those that have been processed by the Invitation Dialog and are thus no longer to be shown - but we want to show them for the duration of the dialog in spite of their non-invitation status. The 'invitationRestrictionIds' restriction can use the = or IN operators for this purpose, and give a list of appointment ID's.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class ExplicitInvitationExtender : InvitationExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IArchiveProviderExtenderAccept
Constructors
ExplicitInvitationExtender()
Extender that fetches invitations by explicit appointment ID; these are generally those that have been processed by the Invitation Dialog and are thus no longer to be shown - but we want to show them for the duration of the dialog in spite of their non-invitation status. The 'invitationRestrictionIds' restriction can use the = or IN operators for this purpose, and give a list of appointment ID's.
Declaration
public ExplicitInvitationExtender()
Fields
InvitationRestrictionIds
Extender that fetches invitations by explicit appointment ID; these are generally those that have been processed by the Invitation Dialog and are thus no longer to be shown - but we want to show them for the duration of the dialog in spite of their non-invitation status. The 'invitationRestrictionIds' restriction can use the = or IN operators for this purpose, and give a list of appointment ID's.
Declaration
public const string InvitationRestrictionIds = "invitationRestrictionIds"
Field Value
Type | Description |
---|---|
string |
_colInvitationRestrictionIds
Extender that fetches invitations by explicit appointment ID; these are generally those that have been processed by the Invitation Dialog and are thus no longer to be shown - but we want to show them for the duration of the dialog in spite of their non-invitation status. The 'invitationRestrictionIds' restriction can use the = or IN operators for this purpose, and give a list of appointment ID's.
Declaration
protected ArchiveColumnInfo _colInvitationRestrictionIds
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Methods
InnerModifyQuery()
Template method called from ModifyQuery() during query processing; subclasses should implement it to build their queries. It will ONLY be called if IsQueryNeeded returns true.
Declaration
protected override void InnerModifyQuery()
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Derived classes should implement the population of ColumnData items for columns that are NOT handled by this base class in this method. Whether a column is handled by this base class is part of its database binding information, set by the various MapXXX methods.
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Data reader with the query result (one row) |
ArchiveRow | row | archive row to be populated |
Overrides
SetRestriction(params ArchiveRestrictionInfo[])
Override: ONLY react to the InvitationRestrictionIds and nothing else, so we get cut off if that one is missing
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
bool |