Show / Hide Table of Contents

Class ProjectGuideAppointmentProvider

Specific provider for Project Guide Items of type Appointment

Inheritance
object
ExtensibleColumnsBase
QueryProviderBase<ArchiveRow>
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>
ProjectGuideAppointmentProvider
Implements
IArchiveProviderQueryMapping
IArchiveQueryProvider
IArchiveProviderExtensible
IArchiveTypedProvider<ArchiveRow>
IArchiveTypedProviderBase
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.OnlyInstanceEntityName
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>._colId
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.InnerMapFieldsAsync(CancellationToken)
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.HasInstance(SoDataReader)
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.GetInstanceAppointment()
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.TableToExtend
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.InhibitDistinctPrimaryKeys
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.HandleDynamicExtenders(IArchiveExtender)
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.GetRowsAsync(string, CancellationToken)
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.GetStandardColumnNames()
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.SetAdditionalColumns(params string[])
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.BaseExtender
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.ProviderNameFromAttribute
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.RootExtenders
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.PrimaryTable
TypedQueryProviderBase<ArchiveRow, ProjectSuggestedAppointmentExtender>.Query
QueryProviderBase<ArchiveRow>._colGetAllRows
QueryProviderBase<ArchiveRow>._colGetNoRows
QueryProviderBase<ArchiveRow>._pageSize
QueryProviderBase<ArchiveRow>._pageNumber
QueryProviderBase<ArchiveRow>.InnerSetRestriction(ArchiveRestrictionInfo[])
QueryProviderBase<ArchiveRow>.HandleDynamicExtenders(IArchiveExtender)
QueryProviderBase<ArchiveRow>.GetFinalRowCount()
QueryProviderBase<ArchiveRow>.SetDesiredColumns(params string[])
QueryProviderBase<ArchiveRow>.GetAllExtenders()
QueryProviderBase<ArchiveRow>.OverrideValueIfBlank(ArchiveRow, string, string)
QueryProviderBase<ArchiveRow>.AddInhibitedStyleHint(string)
QueryProviderBase<ArchiveRow>.PostProcessRow(SoDataReader, ArchiveRow)
QueryProviderBase<ArchiveRow>.CreateArchiveRow(string, int)
QueryProviderBase<ArchiveRow>.Close()
QueryProviderBase<ArchiveRow>.GetReaderAsync(string, CancellationToken)
QueryProviderBase<ArchiveRow>.GetRowsAsync(string, CancellationToken)
QueryProviderBase<ArchiveRow>.GetResultInformationAsync()
QueryProviderBase<ArchiveRow>.SetRestriction(params ArchiveRestrictionInfo[])
QueryProviderBase<ArchiveRow>.SetOrderBy(ArchiveOrderByInfo[])
QueryProviderBase<ArchiveRow>.GetEntityName(SoDataReader)
QueryProviderBase<ArchiveRow>.SetPagingInfo(int, int)
QueryProviderBase<ArchiveRow>.ConvertToTypedRowsAsync(IAsyncEnumerable<ArchiveRow>)
QueryProviderBase<ArchiveRow>.GetAvailableEntities()
QueryProviderBase<ArchiveRow>.SetDesiredEntities(params string[])
QueryProviderBase<ArchiveRow>.RegisterEntity(ArchiveRowTypeInfo)
QueryProviderBase<ArchiveRow>.PrimaryKey
QueryProviderBase<ArchiveRow>.InhibitTwoPhaseQuery
QueryProviderBase<ArchiveRow>.DropTablesFromPhaseTwo
QueryProviderBase<ArchiveRow>.RootQuery
QueryProviderBase<ArchiveRow>.OrderBySlots
QueryProviderBase<ArchiveRow>.PrimaryTable
QueryProviderBase<ArchiveRow>.Query
QueryProviderBase<ArchiveRow>.RootExtenders
QueryProviderBase<ArchiveRow>.HaveReadToEnd
QueryProviderBase<ArchiveRow>.ValueOverrides
ExtensibleColumnsBase._minuteFields
ExtensibleColumnsBase.Visible
ExtensibleColumnsBase.Invisible
ExtensibleColumnsBase.AllowOrderBy
ExtensibleColumnsBase.DenyOrderBy
ExtensibleColumnsBase.GetAllRestriction
ExtensibleColumnsBase.GetNoneRestriction
ExtensibleColumnsBase.GetNameOrOverrideName(string)
ExtensibleColumnsBase.SetParent(IArchiveProviderExtensible)
ExtensibleColumnsBase.AddAvailableColumn(params ArchiveColumnInfo[])
ExtensibleColumnsBase.GetAvailableColumns()
ExtensibleColumnsBase.SetOrderByMapping(string, params string[])
ExtensibleColumnsBase.SetOrderByMapping(ArchiveColumnInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.SetPrefixes(string, string)
ExtensibleColumnsBase.SetLocalAbsolutePrefixes(string, string)
ExtensibleColumnsBase.SetIconHint(string)
ExtensibleColumnsBase.AddLocalRestriction(params ArchiveRestrictionInfo[])
ExtensibleColumnsBase.AddExtensionProvider(IArchiveExtender)
ExtensibleColumnsBase.GetExtensionProviders()
ExtensibleColumnsBase.GetTableInfosFromExtensionProviders()
ExtensibleColumnsBase.PopulateRowFromReaderAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtensibleColumnsBase.SuppressTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.SuppressDeepTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.AddColumnNameOverride(string, string)
ExtensibleColumnsBase.ApplyColumnNameOverridesToRestrictions()
ExtensibleColumnsBase.ApplyColumnNameOverrides(ArchiveRow)
ExtensibleColumnsBase.AddSubExtenderMapping(string, params ExtensibleColumnsBase[])
ExtensibleColumnsBase.WantColumnForOutput(params string[])
ExtensibleColumnsBase.WantColumnForOutput(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOutput(List<ArchiveColumnInfo>)
ExtensibleColumnsBase.WantColumnForRestriction(params string[])
ExtensibleColumnsBase.WantColumnForRestriction(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOrderBy(params string[])
ExtensibleColumnsBase.GetColumnOrderBy(string)
ExtensibleColumnsBase.WantColumnForOrderBy(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForAnything(params string[])
ExtensibleColumnsBase.WantColumnForAnything(params ArchiveColumnInfo[])
ExtensibleColumnsBase.IsQueryNeeded()
ExtensibleColumnsBase.IsQueryRestriction()
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, bool, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapIdField(FieldInfo)
ExtensibleColumnsBase.MapAssociateField(FieldInfo, ArchiveColumnInfo, bool)
ExtensibleColumnsBase.MapEjUserField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.MapSimpleReturnField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleImageField(FieldInfo, ArchiveColumnInfo, int, int)
ExtensibleColumnsBase.MapPictureBlob(FieldInfo, ArchiveColumnInfo, BlobLinkType, int, int, int)
ExtensibleColumnsBase.MapSimpleCustomField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleListReturnField(FieldInfo, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapOrderByField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.ActivateAsLinkField(string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.HasAvailableColumn(string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType, string, string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType)
ExtensibleColumnsBase.HasRestriction(string)
ExtensibleColumnsBase.ExtractRestrictions(string)
ExtensibleColumnsBase.ExtractRestrictions(ArchiveColumnInfo)
ExtensibleColumnsBase.ExtractRestriction(string)
ExtensibleColumnsBase.ExtractRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.ProcessRestrictions()
ExtensibleColumnsBase.ProcessOrderBy()
ExtensibleColumnsBase.PopulateSimpleFieldsAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtensibleColumnsBase.CalculateOrderbyValue(string, SoDataReader, ArchiveColumnData)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, FieldInfo)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, int)
ExtensibleColumnsBase.ForceDisable()
ExtensibleColumnsBase.GetAssociateData(int)
ExtensibleColumnsBase.GetEjUserData(int)
ExtensibleColumnsBase.GetColumnIndex(ArchiveColumnInfo)
ExtensibleColumnsBase.GetColumnIndexFromReader(SoDataReader, FieldInfo, ref int)
ExtensibleColumnsBase.ConvertDbTypeToString(object, ExtensibleColumnsBase.DbColumnBinding)
ExtensibleColumnsBase.GetStandardTooltipHint(SoDataReader, FieldInfo)
ExtensibleColumnsBase.GetLinkHint(SoDataReader, string)
ExtensibleColumnsBase.SetNonZeroBoolRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.AddUpdatedByMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddRegisteredMapping(ArchiveColumnInfo, FieldInfo, ArchiveColumnInfo, FieldInfo)
ExtensibleColumnsBase.AddLastUpdatedMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedBy(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedDate(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo, bool)
ExtensibleColumnsBase.AddAssociateFullName(SoDataReader, ArchiveRow, ArchiveColumnInfo, params FieldInfo[])
ExtensibleColumnsBase.GetIdFieldTag(SoDataReader)
ExtensibleColumnsBase.GetArchiveColumnName(SoField)
ExtensibleColumnsBase.ExtensibleHelper
ExtensibleColumnsBase.ColumnHelper
ExtensibleColumnsBase.RestrictionHelper
ExtensibleColumnsBase.Parent
ExtensibleColumnsBase.DisableSubtreeIfNoRestriction
ExtensibleColumnsBase.RestrictionSetForSubtree
ExtensibleColumnsBase.ForceQueryNeeded
ExtensibleColumnsBase.ForceRestriction
ExtensibleColumnsBase.BlockOrderBy
ExtensibleColumnsBase.IdField
ExtensibleColumnsBase.LastSubExtenderWins
ExtensibleColumnsBase.ParentPrimaryKey
ExtensibleColumnsBase.QuoteAlternativeId
ExtensibleColumnsBase.SaleId
ExtensibleColumnsBase.NamePrefix
ExtensibleColumnsBase.DisplayNamePrefix
ExtensibleColumnsBase.PopulateDisplayValue
ExtensibleColumnsBase.PopulateTooltipHint
ExtensibleColumnsBase.DebugXML
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("ProjectGuideAppointment", 1073741823)]
public class ProjectGuideAppointmentProvider : ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

Fields

InstanceEntityName

Specific provider for Project Guide Items of type Appointment

Declaration
public const string InstanceEntityName = "appointment"
Field Value
Type Description
string
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

MilestoneEntityName

Specific provider for Project Guide Items of type Appointment

Declaration
public const string MilestoneEntityName = "milestone"
Field Value
Type Description
string
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

ProviderName

Specific provider for Project Guide Items of type Appointment

Declaration
public const string ProviderName = "ProjectGuideAppointment"
Field Value
Type Description
string
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

SuggestedEntityName

Specific provider for Project Guide Items of type Appointment

Declaration
public const string SuggestedEntityName = "suggestedAppointment"
Field Value
Type Description
string
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

_colIsMilestone

Specific provider for Project Guide Items of type Appointment

Declaration
protected ArchiveColumnInfo _colIsMilestone
Field Value
Type Description
ArchiveColumnInfo
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

Properties

InstanceTable

Implement: Get the instance table

Declaration
protected override TableInfo InstanceTable { get; }
Property Value
Type Description
TableInfo
Overrides
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.InstanceTable
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

Methods

AcceptRow(SoDataReader)

Override: Filter out instances that are not desired, as earlier filtering will fail to do so

Declaration
protected override bool AcceptRow(SoDataReader reader)
Parameters
Type Name Description
SoDataReader reader
Returns
Type Description
bool
Overrides
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.AcceptRow(SoDataReader)
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

GetInsertRight(int)

Implement: Get insert rights for a new Appointment, with the given owner

Declaration
protected override TableRight GetInsertRight(int ownerAssociate)
Parameters
Type Name Description
int ownerAssociate
Returns
Type Description
TableRight
Overrides
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.GetInsertRight(int)
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

InnerPopulateRowFromReader(SoDataReader, ArchiveRow)

Override: Use the instance table and insert rights from the subclass to calculate the correct table rights.

Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type Name Description
SoDataReader reader
ArchiveRow row
Overrides
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Remarks

The Insert part of the table right is based on the relationship between the current user and the project owner. The Read/Update/Delete part is based on the actual instance, if any. New-instance rights are cached per project owner to make it go faster.

PostProcessQuery()

Override: Retrieve the appointment instance from the query

Declaration
public override void PostProcessQuery()
Overrides
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.PostProcessQuery()
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

RequiredPhaseOneFields()

Override: Make sure we fetch the isMilestone field, needed for AcceptRow above

Declaration
protected override FieldInfo[] RequiredPhaseOneFields()
Returns
Type Description
FieldInfo[]
Overrides
ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>.RequiredPhaseOneFields()
Remarks

This class provides the needed overrides and concrete implementations needed by the base class to drive the sentry calculations, as well as the specialization with the correct root extender

Implements

IArchiveProviderQueryMapping
IArchiveQueryProvider
IArchiveProviderExtensible
IArchiveTypedProvider<StronglyTypedRow>
IArchiveTypedProviderBase
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

IArchiverProviderHasRowsExtensions.GetRowsAsync(IArchiveProviderHasRows, CancellationToken)
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