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: 10.8.0
Syntax
public class CatalogContentCommitterHandler

Constructors

CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter>)

Initilizes a new instance of the CatalogContentCommitterHandler class.

Declaration
[Obsolete("This constructor is no longer used, will remain at least until August 2016.")]
public CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter> committers)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ICatalogContentCommitter> committers

The committers.

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(CatalogContentBase)

Deletes the specified content

Declaration
[Obsolete("Use Delete(ContentReference contentLink) instead. Will remain at least until August 2016.")]
public virtual void Delete(CatalogContentBase content)
Parameters
Type Name Description
CatalogContentBase content

The content to delete

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)

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
[Obsolete("Use Save(CatalogContentBase content, SaveAction action, string currentUser) instead. Will remain at least until August 2016.")]
public virtual ContentReference Save(CatalogContentBase content)
Parameters
Type Name Description
CatalogContentBase content
Returns
Type Description
EPiServer.Core.ContentReference

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