Show / Hide Table of Contents

Class RestrictionColumnsProvider

Inheritance
object
ArchiveConfigurationProviderBase
ArchiveColumnsProviderBase
RestrictionColumnsProvider
Implements
IDynamicMDOProvider
ISoListProvider
ISoList
Inherited Members
ArchiveColumnsProviderBase.HeadingIdStart
ArchiveColumnsProviderBase.SubHeadingIdStart
ArchiveColumnsProviderBase._providerName
ArchiveColumnsProviderBase._context
ArchiveColumnsProviderBase._providerEntity
ArchiveColumnsProviderBase.BuildListAsync(string, string, string, bool, CancellationToken)
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("Restriction columns provider", 2147383647)]
public class RestrictionColumnsProvider : ArchiveColumnsProviderBase, IDynamicMDOProvider, ISoListProvider, ISoList

Constructors

RestrictionColumnsProvider()

Declaration
public RestrictionColumnsProvider()

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)

BuildItem(int, ArchiveColumnInfo)

Build an ISoListItem based on the column info

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

Unique ID to assign

ArchiveColumnInfo columnInfo

Column information

Returns
Type Description
ISoListItem

List item, including can order by indicator

Overrides
ArchiveColumnsProviderBase.BuildItem(int, ArchiveColumnInfo)

MergeInCurrentConfigurationAsync(string, object, string)

Given the name of a gui control and the current state of the MDO list and the owner keys, fetch and merge in the current state of that gui control (i.e., the currently selected controls, and current orderby constraints)

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

Name of gui 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