Show / Hide Table of Contents

Class DashboardColumnsProvider

Inheritance
Object
ArchiveConfigurationProviderBase
ArchiveColumnsProviderBase
DashboardColumnsProvider
Implements
IDynamicMDOProvider
ISoListProvider
ISoList
Inherited Members
ArchiveColumnsProviderBase.HeadingIdStart
ArchiveColumnsProviderBase.SubHeadingIdStart
ArchiveColumnsProviderBase._providerName
ArchiveColumnsProviderBase._context
ArchiveColumnsProviderBase._providerEntity
ArchiveColumnsProviderBase.BuildList(String, String, String, Boolean)
ArchiveConfigurationProviderBase._rootItems
ArchiveConfigurationProviderBase._headingItems
ArchiveConfigurationProviderBase._historyItems
ArchiveConfigurationProviderBase._additionalInfo
ArchiveConfigurationProviderBase.AcceptProvider(String)
ArchiveConfigurationProviderBase.MergeInCurrentConfiguration(String, Object)
ArchiveConfigurationProviderBase.Construct(String, String, Int32[], Boolean, String, Boolean)
ArchiveConfigurationProviderBase.AllItems
ArchiveConfigurationProviderBase.HistoryInfo
ArchiveConfigurationProviderBase.SupportedLists
ArchiveConfigurationProviderBase.HistoryItems
ArchiveConfigurationProviderBase.RootItems
ArchiveConfigurationProviderBase.HeadingItems
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[DynamicMDOProviderPlugin("Dashboard columns provider", 2147383647)]
public class DashboardColumnsProvider : ArchiveColumnsProviderBase, IDynamicMDOProvider, ISoListProvider, ISoList, IPlugin

Constructors

DashboardColumnsProvider()

Declaration
public DashboardColumnsProvider()

Properties

InternalNamePrefix

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'. 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
Boolean

By default, true

Overrides
ArchiveColumnsProviderBase.AcceptColumn(ArchiveColumnInfo)

BuildItem(Int32, ArchiveColumnInfo)

Build an ISoListItem based on the column info

Declaration
protected override ISoListItem BuildItem(int id, ArchiveColumnInfo columnInfo)
Parameters
Type Name Description
Int32 id

Unique ID to assign

ArchiveColumnInfo columnInfo

Column information

Returns
Type Description
ISoListItem

List item, including can order by indicator

Overrides
ArchiveColumnsProviderBase.BuildItem(Int32, ArchiveColumnInfo)

MergeInCurrentConfiguration(String, Object, String)

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

Declaration
protected override void MergeInCurrentConfiguration(string guiName, object extraInfo, string ownerKeys)
Parameters
Type Name Description
String guiName

Gui name of the archive control

Object extraInfo
String ownerKeys
Overrides
ArchiveConfigurationProviderBase.MergeInCurrentConfiguration(String, Object, String)

Implements

IDynamicMDOProvider
ISoListProvider
ISoList

Extension Methods

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