Class VisibleForAssociateMDOProvider
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("visibleforassociate")]
[MDOAdditionalInfo("ContactName", "Add the company name in parenthesis.", false)]
[MDOAdditionalInfo("includeHasEmail", "Include has_email in extrainfo", false)]
public class VisibleForAssociateMDOProvider : AssociateMDOProviderBase, ISoListProvider, ISoList, IPlugin, IEnumerable<ISoListItem>, IEnumerable
Fields
_contactTableInfo
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected ContactTableInfo _contactTableInfo
Field Value
Type | Description |
---|---|
ContactTableInfo |
_emailTableInfo
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected EmailTableInfo _emailTableInfo
Field Value
Type | Description |
---|---|
EmailTableInfo |
ContactNameAdditionalInfo
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
public const string ContactNameAdditionalInfo = "ContactName"
Field Value
Type | Description |
---|---|
String |
IncludeHasEmail
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
public const string IncludeHasEmail = "includeHasEmail"
Field Value
Type | Description |
---|---|
String |
ProviderName
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
public const string ProviderName = "visibleforassociate"
Field Value
Type | Description |
---|---|
String |
Methods
Construct(String, String, Int32[], Boolean, String, Boolean)
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
public override void Construct(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Type | Name | Description |
---|---|---|
String | tableName | |
String | additionalInfo | |
Int32[] | historyIDs | |
Boolean | onlyReadHistory | |
String | searchValue | |
Boolean | forceFlatList |
Overrides
FillList()
Fill the list with items Filtering out duplicate person id's if the additional info specifies that we should include an email join
Declaration
protected override void FillList()
Overrides
GenerateCommonQuery(ListTableRows.CustomSearch, ListInfo)
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected override void GenerateCommonQuery(ListTableRows.CustomSearch query, ListInfo li)
Parameters
Type | Name | Description |
---|---|---|
ListTableRows.CustomSearch | query | |
ListInfo | li |
Overrides
GetGroupingAllowedForList()
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected override bool GetGroupingAllowedForList()
Returns
Type | Description |
---|---|
Boolean |
Overrides
GetItemExtraInfo(ListTableRow)
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected override string GetItemExtraInfo(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row |
Returns
Type | Description |
---|---|
String |
Overrides
GetItemName(ListTableRow)
List provider that returns a list suitable for VisibleFor and PinTo (with groups and possibly some other special items like All).
Declaration
protected override string GetItemName(ListTableRow row)
Parameters
Type | Name | Description |
---|---|---|
ListTableRow | row |
Returns
Type | Description |
---|---|
String |