SaaS CMS has officially launched! Learn more now.

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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 11.8.3
Syntax
public class CatalogContentCommitterHandler

Constructors

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

Declaration
[Obsolete("Use overload with IStatusTransitionEvaluator. Will remain at least until September 2017.")]
public CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter> committers, ReferenceConverter referenceConverter, ILanguageBranchRepository languageBranchRepository, CatalogContentVersionStore catalogContentVersionStore, CatalogContentVersionDB catalogContentVersionDB)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ICatalogContentCommitter> committers
ReferenceConverter referenceConverter
EPiServer.DataAbstraction.ILanguageBranchRepository languageBranchRepository
CatalogContentVersionStore catalogContentVersionStore
CatalogContentVersionDB catalogContentVersionDB

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

Initilizes a new instance of the CatalogContentCommitterHandler class.

Declaration
public CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter> committers, ReferenceConverter referenceConverter, ILanguageBranchRepository languageBranchRepository, CatalogContentVersionStore catalogContentVersionStore, CatalogContentVersionDB catalogContentVersionDB, IStatusTransitionEvaluator statusTransitionEvaluator)
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.

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