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
AssociateMDOProviderBase.Construct(String, String, Int32[], Boolean, String, Boolean)
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.GetHistoryCollection()
AssociateMDOProviderBase.AcceptHistoryRow(ListTableRow)
AssociateMDOProviderBase.GetSimpleListQuery()
AssociateMDOProviderBase.ReadSimpleList()
AssociateMDOProviderBase.GetItemsAndHeadingsQuery()
AssociateMDOProviderBase.GetAssociateFlatList()
AssociateMDOProviderBase.GetAssociateHeadingAndItems()
AssociateMDOProviderBase.GenerateCommonQuery(ListTableRows.CustomSearch, ListInfo)
AssociateMDOProviderBase.ExecuteQuery(Select, List<Int32>)
AssociateMDOProviderBase.ExecuteReader(SoCommand)
AssociateMDOProviderBase.ResortFlattenedList()
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.FillList()
MDOProviderBase.AddSimpleListOrderBy(ListTableRows.CustomSearch)
MDOProviderBase.GetItemsAndHeadingsQuery(Boolean, Int32[])
MDOProviderBase.AddGroupLinkJoin(Int32[], ListTableRows.CustomSearch)
MDOProviderBase.GetItemId(ListTableRow)
MDOProviderBase.GetItemRank(ListTableRow)
MDOProviderBase.GetItemDeleted(ListTableRow)
MDOProviderBase.GetItemColor(ListTableRow)
MDOProviderBase.GetItemExtraInfo(ListTableRow)
MDOProviderBase.GetGroupingAllowedForList()
MDOProviderBase.OnAddRootElementToCollection(SoListItem)
MDOProviderBase.GetListLowerLimit()
MDOProviderBase.GetPreferredSortOrder()
MDOProviderBase.BuildMdoCollections()
MDOProviderBase.IEnumerable<ISoListItem>.GetEnumerator()
MDOProviderBase.IEnumerable.GetEnumerator()
MDOProviderBase.IncludeDeletedItems
MDOProviderBase.InhibitResortOnFlattening
MDOProviderBase.IsFinalListFlat
MDOProviderBase.HistoryItems
MDOProviderBase.RootItems
MDOProviderBase.HeadingItems
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.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, IPlugin, IEnumerable<ISoListItem>, IEnumerable

Constructors

AssociateRestrictionsMDOProviderBase(AssociateMDOProviderType)

Initialize the class

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

Methods

GetConflicts(Int32[])

Adds conflict information for resources.

Declaration
protected void GetConflicts(int[] associateIdList)
Parameters
Type Name Description
Int32[] associateIdList

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)

ReadItemsAndHeadings()

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 void ReadItemsAndHeadings()
Overrides
AssociateMDOProviderBase.ReadItemsAndHeadings()

Implements

ISoListProvider
ISoList
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
IEnumerableExtensions.ForEach<T>(System.Collections.Generic.IEnumerable<T>, System.Action<T>)
IEnumerableExtensions.ContainsAny<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>)
IEnumerableExtensions.Batch<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, T, System.Int32)
IEnumerableExtensions.IndexOf<T>(System.Collections.Generic.IEnumerable<T>, System.Func<T, System.Boolean>, System.Int32)
IEnumerableExtensions.Permute<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>)
IEnumerableExtensions.PermissiveToDictionary<T, K, V>(System.Collections.Generic.IEnumerable<T>, System.Func<T, K>, System.Func<T, V>, System.Collections.Generic.IEqualityComparer<K>)
IEnumerableExtensions.GetDifferentCombinations<T>(System.Collections.Generic.IEnumerable<T>, System.Int32)
CollectionOps.AtLeastOne<T>(IEnumerable<T>)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top