Show / Hide Table of Contents

Class AssociateRestrictionsMDOProviderBase

List provider that returns associates, i.e., our own employees. This extended provider uses Participant restrictions to find diary conflicts. Uses the following restrictions from the participants provider:

AppointmentRestrictionId startTimeInformation endTimeInformation

Inheritance
object
MDOProviderBase
AssociateMDOProviderBase
AssociateRestrictionsMDOProviderBase
AssociateRestrictionsMDOProvider
ResourceRestrictionsMDOProvider
Implements
ISoListProvider
ISoList
IEnumerable<ISoListItem>
IEnumerable
Inherited Members
AssociateMDOProviderBase._additionalInfo_GetDeleted
AssociateMDOProviderBase._additionalInfo_AddBinaryIconHints
AssociateMDOProviderBase._AdditionalInfo
AssociateMDOProviderBase.GetItemExtraInfo(ListTableRow)
AssociateMDOProviderBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
AssociateMDOProviderBase.GetItemIconHint(ListTableRow)
AssociateMDOProviderBase.GetHeadingIconHint(ListTableRow)
AssociateMDOProviderBase.GetItemType(ListTableRow)
AssociateMDOProviderBase.GetHeadingType(ListTableRow)
AssociateMDOProviderBase.GetItemName(ListTableRow)
AssociateMDOProviderBase.GetHistoryIconHint(ListTableRow)
AssociateMDOProviderBase.OnAddHeadingElementToCollection(SoListHeading)
AssociateMDOProviderBase.OnAddHistoryElementToCollection(SoListItem)
AssociateMDOProviderBase.OnAddSubItemToCollection(SoListItem, List<ISoListItem>)
AssociateMDOProviderBase.GetHistoryCollectionAsync(CancellationToken)
AssociateMDOProviderBase.AcceptHistoryRow(ListTableRow)
AssociateMDOProviderBase.GetSimpleListQueryAsync(CancellationToken)
AssociateMDOProviderBase.ReadSimpleListAsync(CancellationToken)
AssociateMDOProviderBase.GetItemsAndHeadingsQueryAsync(CancellationToken)
AssociateMDOProviderBase.GetAssociateFlatListAsync(CancellationToken)
AssociateMDOProviderBase.GetAssociateHeadingAndItemsAsync(CancellationToken)
AssociateMDOProviderBase.GenerateCommonQueryAsync(ListTableRows.CustomSearch, ListInfo, CancellationToken)
AssociateMDOProviderBase.ExecuteQuery(Select, List<int>)
AssociateMDOProviderBase.ExecuteReader(SoCommand)
AssociateMDOProviderBase.ResortFlattenedListAsync(CancellationToken)
AssociateMDOProviderBase.HistoryInfo
AssociateMDOProviderBase.PersonTableInfo
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.AddSimpleListOrderByAsync(ListTableRows.CustomSearch, CancellationToken)
MDOProviderBase.GetItemsAndHeadingsQueryAsync(bool, CancellationToken, params int[])
MDOProviderBase.AddGroupLinkJoin(int[], ListTableRows.CustomSearch)
MDOProviderBase.GetItemId(ListTableRow)
MDOProviderBase.GetItemRank(ListTableRow)
MDOProviderBase.GetItemDeleted(ListTableRow)
MDOProviderBase.GetItemColor(ListTableRow)
MDOProviderBase.GetGroupingAllowedForListAsync(CancellationToken)
MDOProviderBase.OnAddRootElementToCollection(SoListItem)
MDOProviderBase.GetListLowerLimitAsync(CancellationToken)
MDOProviderBase.GetPreferredSortOrderAsync(CancellationToken)
MDOProviderBase.BuildMdoCollectionsAsync(CancellationToken)
MDOProviderBase.GetHistoryItemsAsync(CancellationToken)
MDOProviderBase.ClearHistoryItems()
MDOProviderBase.GetRootItemsAsync(CancellationToken)
MDOProviderBase.GetHeadingItemsAsync(CancellationToken)
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
[MDOAdditionalInfo("appointmentId", "Get conflicts for this appointment", 2)]
[MDOAdditionalInfo("startTimeInformation", "Invariant encoded start-time for conflict detection.", "2014-9-13 13:45:22")]
[MDOAdditionalInfo("endTimeInformation", "Invariant encoded end-time for conflict detection", "2014-9-14 17:45:22")]
public class AssociateRestrictionsMDOProviderBase : AssociateMDOProviderBase, ISoListProvider, ISoList, IEnumerable<ISoListItem>, IEnumerable

Constructors

AssociateRestrictionsMDOProviderBase(AssociateMDOProviderType)

Initialize the class

Declaration
public AssociateRestrictionsMDOProviderBase(AssociateMDOProviderType type)
Parameters
Type Name Description
AssociateMDOProviderType type

Methods

GetConflictsAsync(int[], CancellationToken)

Adds conflict information for resources.

Declaration
protected Task GetConflictsAsync(int[] associateIdList, CancellationToken cancellationToken)
Parameters
Type Name Description
int[] associateIdList
CancellationToken cancellationToken
Returns
Type Description
Task

GetItemStyleHint(ListTableRow)

Builds stylehints

Declaration
protected override string GetItemStyleHint(ListTableRow row)
Parameters
Type Name Description
ListTableRow row
Returns
Type Description
string
Overrides
MDOProviderBase.GetItemStyleHint(ListTableRow)

GetItemTooltip(ListTableRow)

Use dynamic tooltips for associates, since that gives more information; use static tooltip text for other types

Declaration
protected override string GetItemTooltip(ListTableRow row)
Parameters
Type Name Description
ListTableRow row
Returns
Type Description
string
Overrides
AssociateMDOProviderBase.GetItemTooltip(ListTableRow)

ReadItemsAndHeadingsAsync(CancellationToken)

Read heading and items. Special for associate is the combination of associates and resources in the same list. This means there will have to be two queries to get the items for the list.

Declaration
protected override Task ReadItemsAndHeadingsAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
AssociateMDOProviderBase.ReadItemsAndHeadingsAsync(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