Class ProjectGuideAppointmentProvider
Specific provider for Project Guide Items of type Appointment
Inheritance
ProjectGuideAppointmentProvider
Implements
Inherited Members
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, Boolean, String, ArchiveColumnInfo[])
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ProjectGuideAppointment", 1073741823)]
public class ProjectGuideAppointmentProvider : ProjectGuideSubProviderBase<ProjectSuggestedAppointmentExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
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
_colIsMilestone
Declaration
protected ArchiveColumnInfo _colIsMilestone
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
InstanceEntityName
Declaration
public const string InstanceEntityName = "appointment"
Field Value
Type | Description |
---|---|
String |
MilestoneEntityName
Declaration
public const string MilestoneEntityName = "milestone"
Field Value
Type | Description |
---|---|
String |
ProviderName
Declaration
public const string ProviderName = "ProjectGuideAppointment"
Field Value
Type | Description |
---|---|
String |
SuggestedEntityName
Declaration
public const string SuggestedEntityName = "suggestedAppointment"
Field Value
Type | Description |
---|---|
String |
Properties
InstanceTable
Implement: Get the instance table
Declaration
protected override TableInfo InstanceTable { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedAppointmentExtender>.InstanceTable
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 |
---|---|
Boolean |
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedAppointmentExtender>.AcceptRow(SuperOffice.Data.SoDataReader)
GetInsertRight(Int32)
Implement: Get insert rights for a new Appointment, with the given owner
Declaration
protected override TableRight GetInsertRight(int ownerAssociate)
Parameters
Type | Name | Description |
---|---|---|
Int32 | ownerAssociate |
Returns
Type | Description |
---|---|
TableRight |
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedAppointmentExtender>.GetInsertRight(System.Int32)
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
ArchiveRow | row |
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedAppointmentExtender>.InnerPopulateRowFromReader(SuperOffice.Data.SoDataReader, SuperOffice.CRM.ArchiveLists.ArchiveRow)
PostProcessQuery()
Override: Retrieve the appointment instance from the query
Declaration
public override void PostProcessQuery()
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedAppointmentExtender>.PostProcessQuery()
RequiredPhaseOneFields()
Override: Make sure we fetch the isMilestone field, needed for AcceptRow above
Declaration
protected override FieldInfo[] RequiredPhaseOneFields()
Returns
Type | Description |
---|---|
FieldInfo[] |
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedAppointmentExtender>.RequiredPhaseOneFields()
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)