Show / Hide Table of Contents

Class AppointmentResource

Inheritance
Object
AnyTableListProviderBase
AppointmentResource
Implements
ISoListProvider
ISoList
Inherited Members
AnyTableListProviderBase.Construct(String, String, Int32[], Boolean, String, Boolean)
AnyTableListProviderBase.GetHistoryItems()
AnyTableListProviderBase.GetRootItems()
AnyTableListProviderBase.OnPreGetRootItems(List<ISoListItem>)
AnyTableListProviderBase.SetHistoryRestriction(Select)
AnyTableListProviderBase.ExecuteQuery(Select, List<ISoListItem>)
AnyTableListProviderBase.ExecuteReader(SoCommand)
AnyTableListProviderBase.ListName
AnyTableListProviderBase.AdditionalInfo
AnyTableListProviderBase.HistoryIDs
AnyTableListProviderBase.OnlyReadHistory
AnyTableListProviderBase.ExcludeHistory
AnyTableListProviderBase.SearchValue
AnyTableListProviderBase.ForceFlatList
AnyTableListProviderBase.HistoryItems
AnyTableListProviderBase.RootItems
AnyTableListProviderBase.HeadingItems
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("AppointmentResource")]
[MDOAdditionalInfo("remove_conflicts", "Removes resources with conflicts. Requires start and end times for conflict, either explicitly set or from appointment_id.", false)]
[MDOAdditionalInfo("conflict_start", "Conflict datetime start.")]
[MDOAdditionalInfo("conflict_end", "Conflict datetime end.")]
[MDOAdditionalInfo("conflict_utc", "Conflict datetimes are in UTC time.")]
[MDOAdditionalInfo("appointment_id", "Appointment id used for conflict resolution. Preferentially used to determine conflict start/end.")]
public class AppointmentResource : AnyTableListProviderBase, ISoListProvider, ISoList, IPlugin

Constructors

AppointmentResource()

Declaration
public AppointmentResource()

Fields

AppointmentId

Appointment id used for conflict resolution. Preferentially used to determine conflict start/end.

Declaration
public const string AppointmentId = "appointment_id"
Field Value
Type Description
String

ConflictEndDateTime

Conflict datetime end.

Declaration
public const string ConflictEndDateTime = "conflict_end"
Field Value
Type Description
String

ConflictIsUtc

Conflict is UTC

Declaration
public const string ConflictIsUtc = "conflict_utc"
Field Value
Type Description
String

ConflictStartDateTime

Conflict datetime start.

Declaration
public const string ConflictStartDateTime = "conflict_start"
Field Value
Type Description
String

ProviderName

Declaration
public const string ProviderName = "AppointmentResource"
Field Value
Type Description
String

RemoveConflicts

Removes resources with conflicts. Requires start and end times for conflict, either explicitly set or from appointment_id.

Declaration
public const string RemoveConflicts = "remove_conflicts"
Field Value
Type Description
String

Properties

HistoryInfo

Declaration
public override HistoryInfo HistoryInfo { get; }
Property Value
Type Description
HistoryInfo
Overrides
AnyTableListProviderBase.HistoryInfo

TableInfo

Declaration
protected override TableInfo TableInfo { get; }
Property Value
Type Description
TableInfo
Overrides
AnyTableListProviderBase.TableInfo

Methods

GetMainQuery()

Declaration
protected override Select GetMainQuery()
Returns
Type Description
Select
Overrides
AnyTableListProviderBase.GetMainQuery()

Init()

Declaration
protected override void Init()
Overrides
AnyTableListProviderBase.Init()

OnPostGetRootItems(List<ISoListItem>)

Declaration
protected override void OnPostGetRootItems(List<ISoListItem> items)
Parameters
Type Name Description
List<ISoListItem> items
Overrides
AnyTableListProviderBase.OnPostGetRootItems(List<ISoListItem>)

OnRead(SoDataReader, Int16)

Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type Name Description
SoDataReader reader
Int16 lastRank
Returns
Type Description
ISoListItem
Overrides
AnyTableListProviderBase.OnRead(SoDataReader, Int16)

SetSearchRestriction(Select, String)

Declaration
protected override void SetSearchRestriction(Select sql, string searchValue)
Parameters
Type Name Description
Select sql
String searchValue
Overrides
AnyTableListProviderBase.SetSearchRestriction(Select, String)

Implements

ISoListProvider
ISoList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(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