Show / Hide Table of Contents

Class UserGroupWithHistoryAllProvider

List provider for the UserGroup table. While this table looks like an MDO table, it lacks the standardized grouplink and headinglink companion tables (for good reason, since it is the group table itself).

This provider includes the 'History' and 'All' choices, with id's -1 and -2. The ParticipantsProvider (actually, the ExplicitParticipantsAssociateProvider subchannel), used in the Assign To dialog, has a groupRestrictionId restriction that correctly decodes these special values.
Inheritance
object
ListWithLiteralItemsBase
UserGroupWithHistoryAllProvider
Implements
ISoListProvider
ISoList
Inherited Members
ListWithLiteralItemsBase.GetTrailingRootItems(List<ISoListItem>)
ListWithLiteralItemsBase.ProcessItem(ISoListItem)
ListWithLiteralItemsBase.ProcessHistoryItemAsync(ISoListItem, CancellationToken)
ListWithLiteralItemsBase.GetInnerListAdditionalInfo(string)
ListWithLiteralItemsBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
ListWithLiteralItemsBase.FilterBySearchValue(IEnumerable<ISoListItem>)
ListWithLiteralItemsBase.GetAllItemsAsync(CancellationToken)
ListWithLiteralItemsBase.GetHistoryItemsAsync(CancellationToken)
ListWithLiteralItemsBase.ClearHistoryItems()
ListWithLiteralItemsBase.GetRootItemsAsync(CancellationToken)
ListWithLiteralItemsBase.GetHeadingItemsAsync(CancellationToken)
ListWithLiteralItemsBase.InnerList
ListWithLiteralItemsBase.HistoryInfo
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
[MDOProviderPlugin("UserGroupWithHistoryAll")]
public class UserGroupWithHistoryAllProvider : ListWithLiteralItemsBase, ISoListProvider, ISoList

Constructors

UserGroupWithHistoryAllProvider()

List provider for the UserGroup table. While this table looks like an MDO table, it lacks the standardized grouplink and headinglink companion tables (for good reason, since it is the group table itself).

This provider includes the 'History' and 'All' choices, with id's -1 and -2. The ParticipantsProvider (actually, the ExplicitParticipantsAssociateProvider subchannel), used in the Assign To dialog, has a groupRestrictionId restriction that correctly decodes these special values.
Declaration
public UserGroupWithHistoryAllProvider()

Fields

AllItemId

List provider for the UserGroup table. While this table looks like an MDO table, it lacks the standardized grouplink and headinglink companion tables (for good reason, since it is the group table itself).

This provider includes the 'History' and 'All' choices, with id's -1 and -2. The ParticipantsProvider (actually, the ExplicitParticipantsAssociateProvider subchannel), used in the Assign To dialog, has a groupRestrictionId restriction that correctly decodes these special values.
Declaration
public const int AllItemId = -2
Field Value
Type Description
int

HistoryItemId

List provider for the UserGroup table. While this table looks like an MDO table, it lacks the standardized grouplink and headinglink companion tables (for good reason, since it is the group table itself).

This provider includes the 'History' and 'All' choices, with id's -1 and -2. The ParticipantsProvider (actually, the ExplicitParticipantsAssociateProvider subchannel), used in the Assign To dialog, has a groupRestrictionId restriction that correctly decodes these special values.
Declaration
public const int HistoryItemId = -1
Field Value
Type Description
int

Methods

GetInnerListProviderName(string)

Subclass contract: Return the name of the desired inner provider; this will be passed to the SoListProviderFactory.

Declaration
protected override string GetInnerListProviderName(string outerListname)
Parameters
Type Name Description
string outerListname

List name from the client code, useful if one class is to extend more than one list

Returns
Type Description
string
Overrides
ListWithLiteralItemsBase.GetInnerListProviderName(string)

GetLeadingRootItemsAsync(List<ISoListItem>, CancellationToken)

Subclass contract: Override this method to provide leading root items. Add your items to the list that is passed in. If you do not need to add leading items, do not override this method.

Declaration
protected override Task GetLeadingRootItemsAsync(List<ISoListItem> leadingItems, CancellationToken cancellationToken = default)
Parameters
Type Name Description
List<ISoListItem> leadingItems

List to add leading items to

CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
ListWithLiteralItemsBase.GetLeadingRootItemsAsync(List<ISoListItem>, CancellationToken)

Implements

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