Class TaskProvider
Task table MDO list. Optional include "None" as first value.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("Task")]
[MDOAdditionalInfo("includeNone", "Include a NO-SELECTION item first", true)]
public class TaskProvider : MDOProviderBase, ISoListProvider, ISoList, IEnumerable<ISoListItem>, IEnumerable
Constructors
TaskProvider()
Task table MDO list. Optional include "None" as first value.
Declaration
public TaskProvider()
Fields
ProviderName
Task table MDO list. Optional include "None" as first value.
Declaration
public const string ProviderName = "Task"
Field Value
Type | Description |
---|---|
string |
Properties
HistoryInfo
The HistoryInfo for the root provider is null; it's the HistoryInfo for our SupportedLists that is interesting
Declaration
public override HistoryInfo HistoryInfo { get; }
Property Value
Type | Description |
---|---|
HistoryInfo |
Overrides
Methods
Construct(string, string, int[], bool, string, bool)
Initializes all class members.
Declaration
public override void Construct(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | Name of the table holding the MDO list values, like Category, Business, etc. Note that this really has to be a valid table name. |
string | additionalInfo | |
int[] | historyIDs | List of history id's (primary keys of the table holding the MDO list values). |
bool | onlyReadHistory | Only read history nodes. |
string | searchValue | Search value (case insensetive string used like '%[searchValue]%'. The result when using this is allways a flat list without hisotry elements. |
bool | forceFlatList | State that a forced flat list should be returned. |
Overrides
GetItemColor(ListTableRow)
Task table MDO list. Optional include "None" as first value.
Declaration
protected override int GetItemColor(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row |
Returns
Type | Description |
---|---|
int |
Overrides
GetItemType(ListTableRow)
Get a value for the field Type in ISoList for an item element
Declaration
protected override string GetItemType(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row | The actual row for which the item is created |
Returns
Type | Description |
---|---|
string | The type of the list item |
Overrides
GetPreferredSortOrder()
Tell the provider that we want sorting by rank.
Declaration
protected override MDOSortOrder GetPreferredSortOrder()
Returns
Type | Description |
---|---|
MDOSortOrder |