Class MailingFolderExtenderBase
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class MailingFolderExtenderBase : TableExtenderBase<SPictureFolderTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
MailingFolderExtenderBase()
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
protected MailingFolderExtenderBase()
Fields
ColFolderId
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
public const string ColFolderId = "folderId"
Field Value
| Type | Description |
|---|---|
| string |
ColFolderName
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
public const string ColFolderName = "folderName"
Field Value
| Type | Description |
|---|---|
| string |
ColParentFolderId
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
public const string ColParentFolderId = "parentFolderId"
Field Value
| Type | Description |
|---|---|
| string |
ShipmentFolderType
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
public const short ShipmentFolderType = 2
Field Value
| Type | Description |
|---|---|
| short |
_colFolderId
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
protected ArchiveColumnInfo _colFolderId
Field Value
| Type | Description |
|---|---|
| ArchiveColumnInfo |
_colFolderName
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
protected ArchiveColumnInfo _colFolderName
Field Value
| Type | Description |
|---|---|
| ArchiveColumnInfo |
_colParentFolderId
Maps s_picture_folder rows (folder_type = shipmentFolder) to archive columns using mailing-domain names so the unified MailingsAndFoldersProvider can return both row types with one consistent schema:
PrimaryKey — folder's own id (mailing's own id) folderId — folder's own id (named column, mirrors how HierarchyExtenderBase exposes hierarchyId) mailingFolderId — folder's parent id (mailing's container folder id) folderName — folder name; MailingsAndFoldersProvider overrides this to "name" (paired with an override on the mailings sub-provider, mailingDescription→name) so both row types share the unified "name" column.
Client filters mailingFolderId = N consistently means "rows whose
container is N" regardless of row type.
Declaration
protected ArchiveColumnInfo _colParentFolderId
Field Value
| Type | Description |
|---|---|
| ArchiveColumnInfo |
Methods
InnerModifyQuery()
Template method called from ModifyQuery() during query processing; subclasses should implement it to build their queries. It will ONLY be called if IsQueryNeeded returns true.
Declaration
protected override void InnerModifyQuery()