Class RestrictionColumnsProvider
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.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
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
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
MergeInCurrentConfiguration(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 void MergeInCurrentConfiguration(string guiName, object extraInfo, string ownerKeys)
Parameters
Type | Name | Description |
---|---|---|
string | guiName | Name of gui control |
object | extraInfo | |
string | ownerKeys |