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: 13.30.0Syntax
public class CatalogContentCommitterHandler
Constructors
CatalogContentCommitterHandler(IEnumerable<ICatalogContentCommitter>, ReferenceConverter, ILanguageBranchRepository, CatalogContentVersionStore, CatalogContentVersionDB, IStatusTransitionEvaluator)
Declaration
[Obsolete("Use constructor with IDraftVersionPostProcessor instead. Will remain at least until August 2019.")]
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 | |
ReferenceConverter | referenceConverter | |
EPiServer.DataAbstraction.ILanguageBranchRepository | languageBranchRepository | |
CatalogContentVersionStore | catalogContentVersionStore | |
CatalogContentVersionDB | catalogContentVersionDB | |
EPiServer.Core.IStatusTransitionEvaluator | statusTransitionEvaluator |
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 |