Show / Hide Table of Contents

Class DocumentExtenderWithoutDescriptionBase

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Inheritance
object
ExtensibleColumnsBase
ExtenderBase<AppointmentTableInfo>
ActivityExtenderBase<AppointmentTableInfo>
DocumentExtenderWithoutDescriptionBase
DocumentExtenderBase
LinksDocumentBySourceLeftExtender
LinksDocumentBySourceRightExtender
Implements
IArchiveProviderQueryMapping
IArchiveExtender
IArchiveProviderDoesExtend
IArchiveProviderHasColumns
IArchiveProviderExtensible
Inherited Members
ActivityExtenderBase<AppointmentTableInfo>._colCompleted
ActivityExtenderBase<AppointmentTableInfo>._colIcon
ActivityExtenderBase<AppointmentTableInfo>._colDate
ActivityExtenderBase<AppointmentTableInfo>._colTime
ActivityExtenderBase<AppointmentTableInfo>._colType
ActivityExtenderBase<AppointmentTableInfo>._colRecordType
ActivityExtenderBase<AppointmentTableInfo>._colText
ActivityExtenderBase<AppointmentTableInfo>._colAssociateId
ActivityExtenderBase<AppointmentTableInfo>._colContactId
ActivityExtenderBase<AppointmentTableInfo>._colPersonId
ActivityExtenderBase<AppointmentTableInfo>._colProjectId
ActivityExtenderBase<AppointmentTableInfo>._colSaleId
ActivityExtenderBase<AppointmentTableInfo>._colUserGroup
ActivityExtenderBase<AppointmentTableInfo>._colWho
ActivityExtenderBase<AppointmentTableInfo>._colUpdatedBy
ActivityExtenderBase<AppointmentTableInfo>._colUpdatedByFullName
ActivityExtenderBase<AppointmentTableInfo>._colUpdatedDate
ActivityExtenderBase<AppointmentTableInfo>._colRegisteredBy
ActivityExtenderBase<AppointmentTableInfo>._colRegisteredByFullName
ActivityExtenderBase<AppointmentTableInfo>._colRegisteredDate
ActivityExtenderBase<AppointmentTableInfo>.ColumnSuggestedDocumentId
ActivityExtenderBase<AppointmentTableInfo>.ColumnSuggestedAppointmentId
ActivityExtenderBase<AppointmentTableInfo>.ToggleCompletedLinkHint(string, int, FieldRight)
ActivityExtenderBase<AppointmentTableInfo>.CompletedTooltipHint(string, int)
ActivityExtenderBase<AppointmentTableInfo>.SetDesiredColumns(params string[])
ActivityExtenderBase<AppointmentTableInfo>.PopulateRowFromReaderAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtenderBase<AppointmentTableInfo>.ModifyQuery()
ExtenderBase<AppointmentTableInfo>.GetRankRestriction(FieldInfo)
ExtenderBase<AppointmentTableInfo>.StyleHintPrefix
ExtensibleColumnsBase._orderBy
ExtensibleColumnsBase._minuteFields
ExtensibleColumnsBase.Visible
ExtensibleColumnsBase.Invisible
ExtensibleColumnsBase.AllowOrderBy
ExtensibleColumnsBase.DenyOrderBy
ExtensibleColumnsBase.GetAllRestriction
ExtensibleColumnsBase.GetNoneRestriction
ExtensibleColumnsBase.GetNameOrOverrideName(string)
ExtensibleColumnsBase.SetParent(IArchiveProviderExtensible)
ExtensibleColumnsBase.AddAvailableColumn(params ArchiveColumnInfo[])
ExtensibleColumnsBase.GetAvailableColumns()
ExtensibleColumnsBase.SetOrderBy(ArchiveOrderByInfo[])
ExtensibleColumnsBase.SetOrderByMapping(string, params string[])
ExtensibleColumnsBase.SetOrderByMapping(ArchiveColumnInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.SetPrefixes(string, string)
ExtensibleColumnsBase.SetLocalAbsolutePrefixes(string, string)
ExtensibleColumnsBase.SetIconHint(string)
ExtensibleColumnsBase.SetRestriction(params ArchiveRestrictionInfo[])
ExtensibleColumnsBase.AddLocalRestriction(params ArchiveRestrictionInfo[])
ExtensibleColumnsBase.AddExtensionProvider(IArchiveExtender)
ExtensibleColumnsBase.GetExtensionProviders()
ExtensibleColumnsBase.GetTableInfosFromExtensionProviders()
ExtensibleColumnsBase.SuppressTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.SuppressDeepTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.AddColumnNameOverride(string, string)
ExtensibleColumnsBase.ApplyColumnNameOverridesToRestrictions()
ExtensibleColumnsBase.ApplyColumnNameOverrides(ArchiveRow)
ExtensibleColumnsBase.AddSubExtenderMapping(string, params ExtensibleColumnsBase[])
ExtensibleColumnsBase.WantColumnForOutput(params string[])
ExtensibleColumnsBase.WantColumnForOutput(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOutput(List<ArchiveColumnInfo>)
ExtensibleColumnsBase.WantColumnForRestriction(params string[])
ExtensibleColumnsBase.WantColumnForRestriction(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOrderBy(params string[])
ExtensibleColumnsBase.GetColumnOrderBy(string)
ExtensibleColumnsBase.WantColumnForOrderBy(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForAnything(params string[])
ExtensibleColumnsBase.WantColumnForAnything(params ArchiveColumnInfo[])
ExtensibleColumnsBase.IsQueryNeeded()
ExtensibleColumnsBase.IsQueryRestriction()
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, bool, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapIdField(FieldInfo)
ExtensibleColumnsBase.MapAssociateField(FieldInfo, ArchiveColumnInfo, bool)
ExtensibleColumnsBase.MapEjUserField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.MapSimpleReturnField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleImageField(FieldInfo, ArchiveColumnInfo, int, int)
ExtensibleColumnsBase.MapPictureBlob(FieldInfo, ArchiveColumnInfo, BlobLinkType, int, int, int)
ExtensibleColumnsBase.MapSimpleCustomField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleListReturnField(FieldInfo, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapOrderByField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.ActivateAsLinkField(string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.HasAvailableColumn(string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType, string, string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType)
ExtensibleColumnsBase.HasRestriction(string)
ExtensibleColumnsBase.ExtractRestrictions(string)
ExtensibleColumnsBase.ExtractRestrictions(ArchiveColumnInfo)
ExtensibleColumnsBase.ExtractRestriction(string)
ExtensibleColumnsBase.ExtractRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.ProcessOrderBy()
ExtensibleColumnsBase.PopulateSimpleFieldsAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtensibleColumnsBase.CalculateOrderbyValue(string, SoDataReader, ArchiveColumnData)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, FieldInfo)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, int)
ExtensibleColumnsBase.ForceDisable()
ExtensibleColumnsBase.GetAssociateData(int)
ExtensibleColumnsBase.GetEjUserData(int)
ExtensibleColumnsBase.GetColumnIndex(ArchiveColumnInfo)
ExtensibleColumnsBase.GetColumnIndexFromReader(SoDataReader, FieldInfo, ref int)
ExtensibleColumnsBase.ConvertDbTypeToString(object, ExtensibleColumnsBase.DbColumnBinding)
ExtensibleColumnsBase.GetLinkHint(SoDataReader, string)
ExtensibleColumnsBase.SetNonZeroBoolRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.AddUpdatedByMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddRegisteredMapping(ArchiveColumnInfo, FieldInfo, ArchiveColumnInfo, FieldInfo)
ExtensibleColumnsBase.AddLastUpdatedMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedBy(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedDate(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo, bool)
ExtensibleColumnsBase.AddAssociateFullName(SoDataReader, ArchiveRow, ArchiveColumnInfo, params FieldInfo[])
ExtensibleColumnsBase.GetIdFieldTag(SoDataReader)
ExtensibleColumnsBase.GetArchiveColumnName(SoField)
ExtensibleColumnsBase.ExtensibleHelper
ExtensibleColumnsBase.ColumnHelper
ExtensibleColumnsBase.RestrictionHelper
ExtensibleColumnsBase.Parent
ExtensibleColumnsBase.DisableSubtreeIfNoRestriction
ExtensibleColumnsBase.RestrictionSetForSubtree
ExtensibleColumnsBase.ForceQueryNeeded
ExtensibleColumnsBase.ForceRestriction
ExtensibleColumnsBase.BlockOrderBy
ExtensibleColumnsBase.IdField
ExtensibleColumnsBase.LastSubExtenderWins
ExtensibleColumnsBase.ParentPrimaryKey
ExtensibleColumnsBase.QuoteAlternativeId
ExtensibleColumnsBase.SaleId
ExtensibleColumnsBase.NamePrefix
ExtensibleColumnsBase.DisplayNamePrefix
ExtensibleColumnsBase.RootQuery
ExtensibleColumnsBase.OrderBySlots
ExtensibleColumnsBase.PopulateDisplayValue
ExtensibleColumnsBase.PopulateTooltipHint
ExtensibleColumnsBase.DebugXML
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
public abstract class DocumentExtenderWithoutDescriptionBase : ActivityExtenderBase<AppointmentTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible

Constructors

DocumentExtenderWithoutDescriptionBase()

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected DocumentExtenderWithoutDescriptionBase()

DocumentExtenderWithoutDescriptionBase(Features)

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected DocumentExtenderWithoutDescriptionBase(DocumentExtenderWithoutDescriptionBase.Features features)
Parameters
Type Name Description
DocumentExtenderWithoutDescriptionBase.Features features

Fields

ColumnDocumentId

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
public const string ColumnDocumentId = "documentId"
Field Value
Type Description
string

ColumnIsMail

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
public const string ColumnIsMail = "isMail"
Field Value
Type Description
string

ColumnIsReport

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
public const string ColumnIsReport = "isReport"
Field Value
Type Description
string

_colAttention

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colAttention
Field Value
Type Description
ArchiveColumnInfo

_colId

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colId
Field Value
Type Description
ArchiveColumnInfo

_colIsMail

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colIsMail
Field Value
Type Description
ArchiveColumnInfo

_colIsReport

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colIsReport
Field Value
Type Description
ArchiveColumnInfo

_colKeywords

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colKeywords
Field Value
Type Description
ArchiveColumnInfo

_colMailmergeDraft

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colMailmergeDraft
Field Value
Type Description
ArchiveColumnInfo

_colName

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colName
Field Value
Type Description
ArchiveColumnInfo

_colOurref

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colOurref
Field Value
Type Description
ArchiveColumnInfo

_colRecordTypeText

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colRecordTypeText
Field Value
Type Description
ArchiveColumnInfo

_colSNum

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colSNum
Field Value
Type Description
ArchiveColumnInfo

_colSubject

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colSubject
Field Value
Type Description
ArchiveColumnInfo

_colSuggestedDocument

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colSuggestedDocument
Field Value
Type Description
ArchiveColumnInfo

_colYourref

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected ArchiveColumnInfo _colYourref
Field Value
Type Description
ArchiveColumnInfo

_features

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected DocumentExtenderWithoutDescriptionBase.Features _features
Field Value
Type Description
DocumentExtenderWithoutDescriptionBase.Features

_ourAppointmentTable

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected AppointmentTableInfo _ourAppointmentTable
Field Value
Type Description
AppointmentTableInfo

_ourDocTmplTable

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected DocTmplTableInfo _ourDocTmplTable
Field Value
Type Description
DocTmplTableInfo

_ourDocumentTable

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected DocumentTableInfo _ourDocumentTable
Field Value
Type Description
DocumentTableInfo

_ourRecordTypeDocTmplTable

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected DocTmplTableInfo _ourRecordTypeDocTmplTable
Field Value
Type Description
DocTmplTableInfo

_siblingAppointment

If set, get appointmentTableInfo instance from this sibling and patch restrictions, to avoid join multiplications

Declaration
protected ExtensibleColumnsBase _siblingAppointment
Field Value
Type Description
ExtensibleColumnsBase

Properties

AppointmentTable

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
public AppointmentTableInfo AppointmentTable { get; }
Property Value
Type Description
AppointmentTableInfo

MainTableName

The name of the table that this node is the handler for

Declaration
public override string MainTableName { get; }
Property Value
Type Description
string
Overrides
ExtenderBase<AppointmentTableInfo>.MainTableName

TableToExtend

Return the table to extend, as defined by THIS extender class.

Declaration
public override TableInfo TableToExtend { get; }
Property Value
Type Description
TableInfo
Overrides
ExtensibleColumnsBase.TableToExtend

VisibleForTable

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
public VisibleForTableInfo VisibleForTable { get; }
Property Value
Type Description
VisibleForTableInfo

Methods

GetOrCreateAppointmentTableInfo()

Obtain the correct AppointmentTableInfo instance, either from our sibling or a new one

Declaration
protected AppointmentTableInfo GetOrCreateAppointmentTableInfo()
Returns
Type Description
AppointmentTableInfo

GetStandardTooltipHint(SoDataReader, FieldInfo)

Override: The standard tooltip hint is used for fields that come from the same table as the primary key field. Since we use appoint.document_id as the primary key for this two-table provider, that model doesn't fit. Instead, we simply return a hardcoded document tooltip that fits our simple needs.

Declaration
protected override string GetStandardTooltipHint(SoDataReader reader, FieldInfo actualDataField)
Parameters
Type Name Description
SoDataReader reader
FieldInfo actualDataField
Returns
Type Description
string
Overrides
ExtensibleColumnsBase.GetStandardTooltipHint(SoDataReader, FieldInfo)

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
ExtenderBase<AppointmentTableInfo>.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
ExtensibleColumnsBase.InnerPopulateRowFromReader(SoDataReader, ArchiveRow)

ProcessRestrictions()

Process restrictions during query processing. This is where the abstract syntax of the ArchiveRestrictionInfo objects is converted into Restriction clauses, and string-formatted parameters are converted into their proper form.

Declaration
protected override bool ProcessRestrictions()
Returns
Type Description
bool

true if at least one of the currently set restrictions matched an available and bound column and was processed

Overrides
ExtensibleColumnsBase.ProcessRestrictions()

SetDualJoin(out AppointmentTableInfo, out DocumentTableInfo)

Document extender base. This class is the same as the DocumentExtenderBase but without linking in the description in the text column

Declaration
protected abstract void SetDualJoin(out AppointmentTableInfo appointmentTable, out DocumentTableInfo documentTable)
Parameters
Type Name Description
AppointmentTableInfo appointmentTable
DocumentTableInfo documentTable

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 AppointmentTableInfo SetJoin()
Returns
Type Description
AppointmentTableInfo
Overrides
ExtenderBase<AppointmentTableInfo>.SetJoin()

Implements

IArchiveProviderQueryMapping
IArchiveExtender
IArchiveProviderDoesExtend
IArchiveProviderHasColumns
IArchiveProviderExtensible

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top