Show / Hide Table of Contents

Class IgnoreGroupingAndHeadingsForAdminMdoProviderBase

Abstract class that can be used for overriding the hiding of listitems. Good for use in admin where you need all listitems to administrate them. Restricted to user that have admin-all, admin-udef or admin-lists functional rights. Use IgnoreGroupingAndHeadingsForAdmin in additionalInfo for providers that inherit this class

Inheritance
object
MDOProviderBase
IgnoreGroupingAndHeadingsForAdminMdoProviderBase
ProjectTypeProvider
SaleTypeProvider
Implements
ISoListProvider
ISoList
IEnumerable<ISoListItem>
IEnumerable
Inherited Members
MDOProviderBase._historyIds
MDOProviderBase._searchValue
MDOProviderBase._forceFlatList
MDOProviderBase._rootCollection
MDOProviderBase._historyCollection
MDOProviderBase._headingCollection
MDOProviderBase._declaredListName
MDOProviderBase._tableRows
MDOProviderBase._nodeType
MDOProviderBase._listName
MDOProviderBase._tableName
MDOProviderBase._tableListInfo
MDOProviderBase._listInfo
MDOProviderBase.FillListAsync(CancellationToken)
MDOProviderBase.GetHistoryCollectionAsync(CancellationToken)
MDOProviderBase.ReadSimpleListAsync(CancellationToken)
MDOProviderBase.ReadItemsAndHeadingsAsync(CancellationToken)
MDOProviderBase.GetSimpleListQueryAsync(CancellationToken)
MDOProviderBase.AddSimpleListOrderByAsync(ListTableRows.CustomSearch, CancellationToken)
MDOProviderBase.GetItemsAndHeadingsQueryAsync(CancellationToken)
MDOProviderBase.GetItemsAndHeadingsQueryAsync(bool, CancellationToken, params int[])
MDOProviderBase.AddGroupLinkJoin(int[], ListTableRows.CustomSearch)
MDOProviderBase.GetItemType(ListTableRow)
MDOProviderBase.GetHeadingType(ListTableRow)
MDOProviderBase.GetItemIconHint(ListTableRow)
MDOProviderBase.GetHeadingIconHint(ListTableRow)
MDOProviderBase.GetItemId(ListTableRow)
MDOProviderBase.GetItemName(ListTableRow)
MDOProviderBase.AcceptHistoryRow(ListTableRow)
MDOProviderBase.GetHistoryIconHint(ListTableRow)
MDOProviderBase.GetItemTooltip(ListTableRow)
MDOProviderBase.GetItemRank(ListTableRow)
MDOProviderBase.GetItemDeleted(ListTableRow)
MDOProviderBase.GetItemColor(ListTableRow)
MDOProviderBase.GetItemStyleHint(ListTableRow)
MDOProviderBase.GetItemExtraInfo(ListTableRow)
MDOProviderBase.OnAddRootElementToCollection(SoListItem)
MDOProviderBase.OnAddSubItemToCollection(SoListItem, List<ISoListItem>)
MDOProviderBase.OnAddHeadingElementToCollection(SoListHeading)
MDOProviderBase.OnAddHistoryElementToCollection(SoListItem)
MDOProviderBase.GetListLowerLimitAsync(CancellationToken)
MDOProviderBase.GetPreferredSortOrderAsync(CancellationToken)
MDOProviderBase.BuildMdoCollectionsAsync(CancellationToken)
MDOProviderBase.ResortFlattenedListAsync(CancellationToken)
MDOProviderBase.GetHistoryItemsAsync(CancellationToken)
MDOProviderBase.ClearHistoryItems()
MDOProviderBase.GetRootItemsAsync(CancellationToken)
MDOProviderBase.GetHeadingItemsAsync(CancellationToken)
MDOProviderBase.HistoryInfo
MDOProviderBase.IncludeDeletedItems
MDOProviderBase.InhibitResortOnFlattening
MDOProviderBase.IsFinalListFlat
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class IgnoreGroupingAndHeadingsForAdminMdoProviderBase : MDOProviderBase, ISoListProvider, ISoList, IEnumerable<ISoListItem>, IEnumerable

Constructors

IgnoreGroupingAndHeadingsForAdminMdoProviderBase()

Abstract class that can be used for overriding the hiding of listitems. Good for use in admin where you need all listitems to administrate them. Restricted to user that have admin-all, admin-udef or admin-lists functional rights. Use IgnoreGroupingAndHeadingsForAdmin in additionalInfo for providers that inherit this class

Declaration
protected IgnoreGroupingAndHeadingsForAdminMdoProviderBase()

Methods

ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)

Initializes all class members.

Declaration
public override Task ConstructAsync(string tableName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList, CancellationToken cancellationToken = default)
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.

CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
MDOProviderBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)

GetGroupingAllowedForListAsync(CancellationToken)

Abstract class that can be used for overriding the hiding of listitems. Good for use in admin where you need all listitems to administrate them. Restricted to user that have admin-all, admin-udef or admin-lists functional rights. Use IgnoreGroupingAndHeadingsForAdmin in additionalInfo for providers that inherit this class

Declaration
protected override Task<bool> GetGroupingAllowedForListAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<bool>
Overrides
MDOProviderBase.GetGroupingAllowedForListAsync(CancellationToken)

Implements

ISoListProvider
ISoList
IEnumerable<T>
IEnumerable

Extension Methods

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