Class ProjectGuideDocumentProvider
Specific provider for Project Guide Items of type Appointment
Inheritance
System.Object
ProjectGuideDocumentProvider
Implements
Inherited Members
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, Boolean, String, ArchiveColumnInfo[])
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ProjectGuideDocument", 1073741823)]
public class ProjectGuideDocumentProvider : ProjectGuideSubProviderBase<ProjectSuggestedDocumentExtender>, 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
InstanceEntityName
Declaration
public const string InstanceEntityName = "document"
Field Value
Type | Description |
---|---|
System.String |
ProviderName
Declaration
public const string ProviderName = "ProjectGuideDocument"
Field Value
Type | Description |
---|---|
System.String |
SuggestedEntityName
Declaration
public const string SuggestedEntityName = "suggestedDocument"
Field Value
Type | Description |
---|---|
System.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.ProjectSuggestedDocumentExtender>.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 |
---|---|
System.Boolean |
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedDocumentExtender>.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 |
---|---|---|
System.Int32 | ownerAssociate |
Returns
Type | Description |
---|---|
TableRight |
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedDocumentExtender>.GetInsertRight(System.Int32)
PostProcessQuery()
Override: Retrieve the appointment instance from the query
Declaration
public override void PostProcessQuery()
Overrides
SuperOffice.CRM.ArchiveLists.ProjectGuideSubProviderBase<SuperOffice.CRM.ArchiveLists.ProjectSuggestedDocumentExtender>.PostProcessQuery()
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)