Class ProjectGuideAppointmentProvider
Specific provider for Project Guide Items of type Appointment
Inheritance
Implements
Inherited Members
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
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
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
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
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
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
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
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