Class CatalogContentMoveHandler
Handles move operations for nodes (NodeContent) and entries (EntryContentBase).
Inheritance
System.Object
CatalogContentMoveHandler
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.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public class CatalogContentMoveHandler
Constructors
CatalogContentMoveHandler(ReferenceConverter, ICatalogSystem)
Initializes a new instance of the CatalogContentMoveHandler class.
Declaration
public CatalogContentMoveHandler(ReferenceConverter referenceConverter, ICatalogSystem catalogContext)
Parameters
Type | Name | Description |
---|---|---|
ReferenceConverter | referenceConverter | The reference converter. |
ICatalogSystem | catalogContext | The catalog context. |
Methods
Move(ContentReference, ContentReference)
Changes the parent of a catalog node or entry to a different catalog node or a catalog.
Declaration
public virtual void Move(ContentReference contentLink, ContentReference newParentLink)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Core.ContentReference | contentLink | The link to the node or entry to change the parent of. |
EPiServer.Core.ContentReference | newParentLink | The link to the new parent. |
SetParentNodeForEntry(ContentReference, ContentReference)
Changes the parent of a catalog entry to a different catalog node or a catalog.
Declaration
protected void SetParentNodeForEntry(ContentReference contentLink, ContentReference newParentLink)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Core.ContentReference | contentLink | The link to the entry to change the parent of. |
EPiServer.Core.ContentReference | newParentLink | The link to the new parent. |
SetParentNodeForNode(ContentReference, ContentReference)
Changes the parent of a catalog node to a different catalog node or a catalog.
Declaration
protected void SetParentNodeForNode(ContentReference contentLink, ContentReference newParentLink)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Core.ContentReference | contentLink | The link to the node to change the parent of. |
EPiServer.Core.ContentReference | newParentLink | The link to the new parent. |