Class TicketNotificationExtenderBase
Inheritance
TicketNotificationExtenderBase
Assembly: SoDataBase.dll
Syntax
public abstract class TicketNotificationExtenderBase : NotificationNotificationExtender<NotifyTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
TicketNotificationExtenderBase()
Declaration
public TicketNotificationExtenderBase()
Fields
TicketIdColumnName
Declaration
public const string TicketIdColumnName = "ticketId"
Field Value
_associateTable
Declaration
protected AssociateTableInfo _associateTable
Field Value
_colCategory
Declaration
protected ArchiveColumnInfo _colCategory
Field Value
_colCustomUrl
Declaration
protected ArchiveColumnInfo _colCustomUrl
Field Value
_colTicketId
Declaration
protected ArchiveColumnInfo _colTicketId
Field Value
_ejCategoryTable
Declaration
protected EjCategoryTableInfo _ejCategoryTable
Field Value
_ejuserTable
Declaration
protected EjuserTableInfo _ejuserTable
Field Value
_ticketTable
Declaration
protected TicketTableInfo _ticketTable
Field Value
Properties
MappedAssociateIdField
Declaration
protected virtual FieldInfo MappedAssociateIdField { get; }
Property Value
MappedOriginatorField
Declaration
protected virtual FieldInfo MappedOriginatorField { get; }
Property Value
MappedTitleField
Declaration
protected virtual FieldInfo MappedTitleField { get; }
Property Value
Methods
AddNotifyDateTimeColumn(SoDataReader, ArchiveRow)
NB: If the duration a notify-row exists changes, we need to update this.
We infer the creation-time of the notify-row by taking the duration a notify row is kept around and subtracting that from the value of the expires-field.
Declaration
protected void AddNotifyDateTimeColumn(SoDataReader reader, ArchiveRow row)
Parameters
AddOriginatorFullName(SoDataReader, ArchiveRow)
Base implementation for most subclasses. NewTicketUpdated is a special case, and handles it by overriding this method and MappedOriginatorField to point to a different field in a different table.
Declaration
protected virtual void AddOriginatorFullName(SoDataReader reader, ArchiveRow row)
Parameters
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
SetJoin()
Subclass contract: Implementations of this method should create the extenders' table information object, join it to the relevant parent, and return the table information instance
Declaration
protected override NotifyTableInfo SetJoin()
Returns
Overrides
Implements
Extension Methods