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 CatalogContentCommitterHandler

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

Commits changes to catalog content and content version to the ECF database.

Inheritance
System.Object
CatalogContentCommitterHandler
Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class CatalogContentCommitterHandler : Object

Constructors

CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter>, ReferenceConverter, ILanguageBranchRepository, CatalogContentVersionStore, CatalogContentVersionDB, IStatusTransitionEvaluator, IDraftVersionPostProcessor)

Initilizes a new instance of the CatalogContentCommitterHandler class.

Declaration
public CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter> committers, ReferenceConverter referenceConverter, ILanguageBranchRepository languageBranchRepository, CatalogContentVersionStore catalogContentVersionStore, CatalogContentVersionDB catalogContentVersionDB, IStatusTransitionEvaluator statusTransitionEvaluator, IDraftVersionPostProcessor draftVersionPostProcessor)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ICatalogContentCommitter> committers

The committers.

ReferenceConverter referenceConverter

The reference converter.

EPiServer.DataAbstraction.ILanguageBranchRepository languageBranchRepository

The language branch repository.

CatalogContentVersionStore catalogContentVersionStore

The catalog content version store.

CatalogContentVersionDB catalogContentVersionDB

The catalog content version database.

EPiServer.Core.IStatusTransitionEvaluator statusTransitionEvaluator

The status transition evaluator.

IDraftVersionPostProcessor draftVersionPostProcessor

The draft version post processor.

Methods

Delete(ContentReference)

Deletes the specified content

Declaration
public virtual void Delete(ContentReference contentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink

The content link to delete

Save(CatalogContentBase, SaveAction, String)

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

Declaration
public virtual ContentReference Save(CatalogContentBase content, SaveAction action, string currentUser)
Parameters
Type Name Description
CatalogContentBase content
EPiServer.DataAccess.SaveAction action
System.String currentUser
Returns
Type Description
EPiServer.Core.ContentReference