Show / Hide Table of Contents

Class VisibleColumnsProvider

Inheritance
object
ArchiveConfigurationProviderBase
ArchiveColumnsProviderBase
VisibleColumnsProvider
Implements
IDynamicMDOProvider
ISoListProvider
ISoList
Inherited Members
ArchiveColumnsProviderBase.HeadingIdStart
ArchiveColumnsProviderBase.SubHeadingIdStart
ArchiveColumnsProviderBase._providerName
ArchiveColumnsProviderBase._context
ArchiveColumnsProviderBase._providerEntity
ArchiveColumnsProviderBase.BuildListAsync(string, string, string, bool, CancellationToken)
ArchiveColumnsProviderBase.BuildItem(int, ArchiveColumnInfo)
ArchiveConfigurationProviderBase._rootItems
ArchiveConfigurationProviderBase._headingItems
ArchiveConfigurationProviderBase._historyItems
ArchiveConfigurationProviderBase._additionalInfo
ArchiveConfigurationProviderBase.AcceptProvider(string)
ArchiveConfigurationProviderBase.MergeInCurrentConfigurationAsync(string, object)
ArchiveConfigurationProviderBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
ArchiveConfigurationProviderBase.GetAllItemsAsync(CancellationToken)
ArchiveConfigurationProviderBase.GetHistoryItemsAsync(CancellationToken)
ArchiveConfigurationProviderBase.ClearHistoryItems()
ArchiveConfigurationProviderBase.GetRootItemsAsync(CancellationToken)
ArchiveConfigurationProviderBase.GetHeadingItemsAsync(CancellationToken)
ArchiveConfigurationProviderBase.HistoryInfo
ArchiveConfigurationProviderBase.SupportedLists
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
[DynamicMDOProviderPlugin("Visible columns provider", 2147383647)]
public class VisibleColumnsProvider : ArchiveColumnsProviderBase, IDynamicMDOProvider, ISoListProvider, ISoList

Constructors

VisibleColumnsProvider()

Declaration
public VisibleColumnsProvider()

Properties

InternalNamePrefix

This property should return the name prefix used to build the SoList provider name from the archive data provider name

Declaration
protected override string InternalNamePrefix { get; }
Property Value
Type Description
string
Overrides
ArchiveColumnsProviderBase.InternalNamePrefix

NamePrefix

The prefix used to differentiate our lists from all other MDO lists. To avoid naming collisions, if an archive is called 'activity' then the list we generate here will be called NamePrefix+'activity'. SupportedLists returns a list of the names we support (including prefix).

Declaration
public static string NamePrefix { get; }
Property Value
Type Description
string

Methods

AcceptColumn(ArchiveColumnInfo)

This method provides a way to add archive-specific acceptance tests - for now simply by adding code here, NOT by inheritance or anything fancy (remember this provider handles ALL archives)

Declaration
protected override bool AcceptColumn(ArchiveColumnInfo column)
Parameters
Type Name Description
ArchiveColumnInfo column

Column to be tested

Returns
Type Description
bool

By default, true

Overrides
ArchiveColumnsProviderBase.AcceptColumn(ArchiveColumnInfo)

MergeInCurrentConfigurationAsync(string, object, string)

Given the current state of the root and heading items, merge in current configuration information

Declaration
protected override Task MergeInCurrentConfigurationAsync(string guiName, object extraInfo, string ownerKeys)
Parameters
Type Name Description
string guiName

Gui name of the archive control

object extraInfo
string ownerKeys
Returns
Type Description
Task
Overrides
ArchiveConfigurationProviderBase.MergeInCurrentConfigurationAsync(string, object, string)

Implements

IDynamicMDOProvider
ISoListProvider
ISoList

Extension Methods

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