Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface ICatalogArchive

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.

Handles archiving for catalog.

Namespace: EPiServer.Commerce.Catalog
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public interface ICatalogArchive

Methods

ArchiveContent(ContentReference)

Declaration
void ArchiveContent(ContentReference contentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink

DeleteAll()

Declaration
void DeleteAll()

DeleteArchive(ContentReference)

Declaration
void DeleteArchive(ContentReference contentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink

GetArchivedItems()

Declaration
IEnumerable<ArchivedItem> GetArchivedItems()
Returns
Type Description
System.Collections.Generic.IEnumerable<ArchivedItem>

GetCatalogArchivedId()

Declaration
int GetCatalogArchivedId()
Returns
Type Description
System.Int32

RestoreArchive(ContentReference, ContentReference)

Declaration
void RestoreArchive(ContentReference contentLink, ContentReference parentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink
EPiServer.Core.ContentReference parentLink