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
Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public class CatalogContentCommitterHandler : Object
Constructors
CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter>, ReferenceConverter, ILanguageBranchRepository, CatalogContentVersionStore, CatalogContentVersionDB, IStatusTransitionEvaluator, IDraftVersionPostProcessor)
Initilizes a new instance of the Catalog
Declaration
public CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter> committers, ReferenceConverter referenceConverter, ILanguageBranchRepository languageBranchRepository, CatalogContentVersionStore catalogContentVersionStore, CatalogContentVersionDB catalogContentVersionDB, IStatusTransitionEvaluator statusTransitionEvaluator, IDraftVersionPostProcessor draftVersionPostProcessor)
Parameters
Type | Name | Description |
---|---|---|
System. |
committers | The committers. |
Reference |
referenceConverter | The reference converter. |
EPi |
languageBranchRepository | The language branch repository. |
Catalog |
catalogContentVersionStore | The catalog content version store. |
Catalog |
catalogContentVersionDB | The catalog content version database. |
EPi |
statusTransitionEvaluator | The status transition evaluator. |
IDraft |
draftVersionPostProcessor | The draft version post processor. |
Methods
Delete(ContentReference)
Deletes the specified content
Declaration
public virtual void Delete(ContentReference contentLink)
Parameters
Type | Name | Description |
---|---|---|
EPi |
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 EPi
Declaration
public virtual ContentReference Save(CatalogContentBase content, SaveAction action, string currentUser)
Parameters
Type | Name | Description |
---|---|---|
Catalog |
content | |
EPi |
action | |
System. |
currentUser |
Returns
Type | Description |
---|---|
EPi |