Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class MetaDataContentBuilder

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
MetaDataContentBuilder
Inherited Members
Namespace: EPiServer.Commerce.Catalog.Provider.Construction
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public abstract class MetaDataContentBuilder : CatalogContentBuilder, ICatalogContentBuilder

Constructors

MetaDataContentBuilder(ReducedCacheCatalogSystemAccessor, MetaClassContentFactory, ICatalogPropertyLoader, ReferenceConverter, CatalogContentVersionDB, CatalogMetaObjectRepository, CatalogOptions)

Initializes a new instance of the MetaDataContentBuilder class.

Declaration
protected MetaDataContentBuilder(ReducedCacheCatalogSystemAccessor catalogContextAccessor, MetaClassContentFactory metaClassContentFactory, ICatalogPropertyLoader catalogPropertyLoader, ReferenceConverter referenceConverter, CatalogContentVersionDB contentVersionDB, CatalogMetaObjectRepository metaObjectRepository, CatalogOptions catalogOptions)
Parameters
Type Name Description
ReducedCacheCatalogSystemAccessor catalogContextAccessor

The catalog context accessor.

MetaClassContentFactory metaClassContentFactory

The meta class content factory.

ICatalogPropertyLoader catalogPropertyLoader

The catalog property loader.

ReferenceConverter referenceConverter

The reference converter.

CatalogContentVersionDB contentVersionDB

The catalog content Database access.

CatalogMetaObjectRepository metaObjectRepository

The meta object repository.

CatalogOptions catalogOptions

The catalog options set in appSettings.json

Properties

CatalogOptions

Gets the catalog options set in appSettings.json

Declaration
protected CatalogOptions CatalogOptions { get; }
Property Value
Type Description
CatalogOptions

Methods

GetContentVersions(ContentReference, String)

Declaration
protected VersionCollection GetContentVersions(ContentReference contentLink, string language)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
System.String language
Returns
Type Description
VersionCollection

GetMetaObjects(IDictionary<Int32, IEnumerable<Int32>>, String)

Declaration
protected Dictionary<int, MetaObject> GetMetaObjects(IDictionary<int, IEnumerable<int>> metaObjectIdsByClassId, string language)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.Int32, System.Collections.Generic.IEnumerable<System.Int32>> metaObjectIdsByClassId
System.String language
Returns
Type Description
System.Collections.Generic.Dictionary<System.Int32, MetaObject>

GetMetaObjects(Int32, Int32, IEnumerable<String>)

Declaration
protected Dictionary<string, MetaObject> GetMetaObjects(int objectId, int metaClassId, IEnumerable<string> languages)
Parameters
Type Name Description
System.Int32 objectId
System.Int32 metaClassId
System.Collections.Generic.IEnumerable<System.String> languages
Returns
Type Description
System.Collections.Generic.Dictionary<System.String, MetaObject>

Implements