Class TicketMessageExtenderBase
This is the base class for all extenders that add EjMessage fields to their base query. It handles all ej-message-related fields,
as well as having its own standard extenders for udef, email, phone and fax. Derived classes should simply implement
the method to join a EjMessageTableInfo to the .
Inheritance
System.Object
TicketMessageExtenderBase
Assembly: SoDataBase.dll
Syntax
public abstract class TicketMessageExtenderBase : TableExtenderBase<EjMessageTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IPlugin
Constructors
TicketMessageExtenderBase()
Construct the extender and all all standard extenders (all features)
Declaration
public TicketMessageExtenderBase()
Fields
_colAuthor
Declaration
protected ArchiveColumnInfo _colAuthor
Field Value
_colBody
Declaration
protected ArchiveColumnInfo _colBody
Field Value
_colCreatedAt
Declaration
protected ArchiveColumnInfo _colCreatedAt
Field Value
_colDebugInfo
Declaration
protected ArchiveColumnInfo _colDebugInfo
Field Value
Declaration
protected ArchiveColumnInfo _colHeader
Field Value
_colHtmlBody
Declaration
protected ArchiveColumnInfo _colHtmlBody
Field Value
_colImportant
Declaration
protected ArchiveColumnInfo _colImportant
Field Value
_colMessageId
Declaration
protected ArchiveColumnInfo _colMessageId
Field Value
_colSearchTitle
Declaration
protected ArchiveColumnInfo _colSearchTitle
Field Value
_colSLevel
Declaration
protected ArchiveColumnInfo _colSLevel
Field Value
_colTicketId
Declaration
protected ArchiveColumnInfo _colTicketId
Field Value
ColumnTicketId
Declaration
public const string ColumnTicketId = "ticketId"
Field Value
Type |
Description |
System.String |
|
Methods
InnerModifyQuery()
Add/map return fields to the query; call SetJoin to obtain the contact table info instance from
the derived class
Declaration
protected override void InnerModifyQuery()
Overrides
SuperOffice.CRM.ArchiveLists.ExtenderBase<SuperOffice.CRM.Data.EjMessageTableInfo>.InnerModifyQuery()
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
SuperOffice.CRM.ArchiveLists.TableExtenderBase<SuperOffice.CRM.Data.EjMessageTableInfo>.InnerPopulateRowFromReader(SuperOffice.Data.SoDataReader, SuperOffice.CRM.ArchiveLists.ArchiveRow)
SetRestriction(ArchiveRestrictionInfo[])
Set the restriction for the query. This method sets the restrictions for this provider,
as well as invoking the same call on all known extenders. Recursion will take it to the bottom.
This method actually only saves the restriction specification for use during query processing.
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)