Interface ICatalogPropertyLoader
Handles converting Commerce catalog data to properties
Namespace: EPiServer.Commerce.Catalog.Provider.Construction
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public interface ICatalogPropertyLoader
Methods
LoadAssetPropertyVersion(DataRow[], CatalogContentBase)
Loads Asset information for a specific draft content.
Declaration
void LoadAssetPropertyVersion(DataRow[] rowsCollection, CatalogContentBase content)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | rowsCollection | The row collection to read data from. |
CatalogContentBase | content | The catalog content to load data to. |
LoadCommonPropertyVersion(DataRow, CatalogContentBase)
Loads common property for a specific draft content.
Declaration
void LoadCommonPropertyVersion(DataRow row, CatalogContentBase content)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow | row | The datarow to read data from. |
CatalogContentBase | content | The catalog content to load data to. |
LoadContentPropertiesVersion(DataRow[], CatalogContentBase)
Populates the content property for a specific draft content
Declaration
void LoadContentPropertiesVersion(DataRow[] rowsCollection, CatalogContentBase content)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | rowsCollection | The row collection ro read data from |
CatalogContentBase | content | the catalog content to load properties to |
LoadEntryPropertyVersion(DataRow, CatalogContentBase)
Loads entry property for a specific draft content.
Declaration
void LoadEntryPropertyVersion(DataRow row, CatalogContentBase content)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow | row | The datarow to read data from. |
CatalogContentBase | content | The catalog content to load data to. |
LoadMetaDataContentProperties(MetaObjectAccessor, CatalogContentBase)
Populates the EntryContentBase instance with values from the MetaObjectAccessor. Uses the language of the content instance to populate properties corresponding to multi language attributes.
Declaration
void LoadMetaDataContentProperties(MetaObjectAccessor accessor, CatalogContentBase content)
Parameters
Type | Name | Description |
---|---|---|
MetaObjectAccessor | accessor | The meta object accessor. |
CatalogContentBase | content | The content to populate with properties. |
LoadProperties(CatalogDto.CatalogRow, CatalogDto.CatalogLanguageRow, CatalogContent)
Creates properties in the specified content
instance corresponding to the static
properties on the provided data row.
Declaration
void LoadProperties(CatalogDto.CatalogRow catalogRow, CatalogDto.CatalogLanguageRow languageRow, CatalogContent content)
Parameters
Type | Name | Description |
---|---|---|
CatalogDto.CatalogRow | catalogRow | The catalog row to read attributes from. |
CatalogDto.CatalogLanguageRow | languageRow | The catalog language row to read attributes from, if available (otherwise null). |
CatalogContent | content | The content to populate with properties. |
LoadProperties(CatalogEntryDto.CatalogEntryRow, CatalogEntryDto.CatalogItemSeoRow, CatalogEntryDto.VariationRow, EntryContentBase)
Creates properties in the content
instance corresponding to the static and metadata
attributes of the provided data rows and sets the property values.
Declaration
void LoadProperties(CatalogEntryDto.CatalogEntryRow entryRow, CatalogEntryDto.CatalogItemSeoRow seoRow, CatalogEntryDto.VariationRow variationRow, EntryContentBase content)
Parameters
Type | Name | Description |
---|---|---|
CatalogEntryDto.CatalogEntryRow | entryRow | The entry row to read attributes from. |
CatalogEntryDto.CatalogItemSeoRow | seoRow | The seo row to read attributes from. |
CatalogEntryDto.VariationRow | variationRow | The variation row to read attributes from, if applicable (otherwise null). |
EntryContentBase | content | The content to populate with properties. |
LoadProperties(CatalogEntryDto.CatalogEntryRow, CatalogEntryDto.CatalogItemSeoRow, CatalogEntryDto.VariationRow, EntryContentBase, MetaObjectAccessor)
Creates properties in the content
instance corresponding to the static and metadata
attributes of the provided data rows and sets the property values.
Declaration
void LoadProperties(CatalogEntryDto.CatalogEntryRow entryRow, CatalogEntryDto.CatalogItemSeoRow seoRow, CatalogEntryDto.VariationRow variationRow, EntryContentBase content, MetaObjectAccessor metaObjectAccessor)
Parameters
Type | Name | Description |
---|---|---|
CatalogEntryDto.CatalogEntryRow | entryRow | The entry row to read attributes from. |
CatalogEntryDto.CatalogItemSeoRow | seoRow | The seo row to read attributes from. |
CatalogEntryDto.VariationRow | variationRow | The variation row to read attributes from, if applicable (otherwise null). |
EntryContentBase | content | The content to populate with properties. |
MetaObjectAccessor | metaObjectAccessor | The meta object accessor. |
LoadProperties(CatalogNodeDto.CatalogNodeRow, CatalogNodeDto.CatalogItemSeoRow, NodeContent)
Creates properties in the specified content
instance corresponding to the static and metadata
attributes of the provided data rows and sets the property values.
Declaration
void LoadProperties(CatalogNodeDto.CatalogNodeRow nodeRow, CatalogNodeDto.CatalogItemSeoRow seoRow, NodeContent content)
Parameters
Type | Name | Description |
---|---|---|
CatalogNodeDto.CatalogNodeRow | nodeRow | The node to read attributes from. |
CatalogNodeDto.CatalogItemSeoRow | seoRow | The seo row to read attributes from. |
NodeContent | content | The content to populate with properties. |
LoadProperties(CatalogNodeDto.CatalogNodeRow, CatalogNodeDto.CatalogItemSeoRow, NodeContent, MetaObjectAccessor)
Creates properties in the specified content
instance corresponding to the static and metadata
attributes of the provided data rows and sets the property values.
Declaration
void LoadProperties(CatalogNodeDto.CatalogNodeRow nodeRow, CatalogNodeDto.CatalogItemSeoRow seoRow, NodeContent content, MetaObjectAccessor metaObjectAccessor)
Parameters
Type | Name | Description |
---|---|---|
CatalogNodeDto.CatalogNodeRow | nodeRow | The node to read attributes from. |
CatalogNodeDto.CatalogItemSeoRow | seoRow | The seo row to read attributes from. |
NodeContent | content | The content to populate with properties. |
MetaObjectAccessor | metaObjectAccessor | The meta object accessor. |
SetChangeTrackingProperties(MetaObjectAccessor, CatalogContentBase)
Sets change tracking properties for a content.
Declaration
void SetChangeTrackingProperties(MetaObjectAccessor accessor, CatalogContentBase content)
Parameters
Type | Name | Description |
---|---|---|
MetaObjectAccessor | accessor | The meta accessor to read meta data. |
CatalogContentBase | content | The content to populate with properties. |