With Opticon around the corner, we'll be canceling this month's (Sept) Happy Hour.

Class CatalogContentDraft

Inheritance
System.Object
CatalogContentDraft
Implements
EPiServer.Data.Dynamic.IDynamicData
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.Commerce.Internal.Migration.dll
Version: 13.30.0
Syntax
public class CatalogContentDraft : IDynamicData

Constructors

CatalogContentDraft()

Declaration
public CatalogContentDraft()

CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, IRawContentRetriever, IContentRepository, IPermanentLinkMapper, ContentGuidAdmin, IDataImporter, IPropertyImporter, IDataExporter, IPropertyExporter)

Declaration
[Obsolete("Use constructor with Internal.ContentGuidAdmin instead. Will remain at least until Aug 2020.")]
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, IRawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, ContentGuidAdmin contentGuidAdmin, IDataImporter dataImporter, IPropertyImporter propertyImporter, IDataExporter dataExporter, IPropertyExporter propertyExporter)
Parameters
Type Name Description
ReferenceConverter referenceConverter
MetaClassContentFactory metaClassContentFactory
EPiServer.Core.Transfer.Internal.IRawContentRetriever rawContentRetriever
EPiServer.IContentRepository contentRepository
EPiServer.Web.IPermanentLinkMapper linkMapper
ContentGuidAdmin contentGuidAdmin
EPiServer.Enterprise.IDataImporter dataImporter
EPiServer.Core.Transfer.Internal.IPropertyImporter propertyImporter
EPiServer.Enterprise.IDataExporter dataExporter
EPiServer.Core.Transfer.Internal.IPropertyExporter propertyExporter

CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, IRawContentRetriever, IContentRepository, IPermanentLinkMapper, ContentGuidAdmin, IDataImporter, IPropertyImporter, IDataExporter, IPropertyExporter)

Declaration
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, IRawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, ContentGuidAdmin contentGuidAdmin, IDataImporter dataImporter, IPropertyImporter propertyImporter, IDataExporter dataExporter, IPropertyExporter propertyExporter)
Parameters
Type Name Description
ReferenceConverter referenceConverter
MetaClassContentFactory metaClassContentFactory
EPiServer.Core.Transfer.Internal.IRawContentRetriever rawContentRetriever
EPiServer.IContentRepository contentRepository
EPiServer.Web.IPermanentLinkMapper linkMapper
ContentGuidAdmin contentGuidAdmin
EPiServer.Enterprise.IDataImporter dataImporter
EPiServer.Core.Transfer.Internal.IPropertyImporter propertyImporter
EPiServer.Enterprise.IDataExporter dataExporter
EPiServer.Core.Transfer.Internal.IPropertyExporter propertyExporter

Fields

ExistingLanguagesSplitter

Declaration
public const string ExistingLanguagesSplitter = ";;"
Field Value
Type Description
System.String

Properties

CatalogId

Declaration
public int? CatalogId { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

ContentGuid

Declaration
public virtual Guid ContentGuid { get; }
Property Value
Type Description
System.Guid

ContentId

Declaration
public virtual int ContentId { get; }
Property Value
Type Description
System.Int32
Declaration
public virtual ContentReference ContentLink { get; }
Property Value
Type Description
EPiServer.Core.ContentReference

ContentReferenceToSoftlinkMapping

Declaration
public virtual Dictionary<string, Guid> ContentReferenceToSoftlinkMapping { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Guid>

ContentWorkId

Declaration
public virtual int ContentWorkId { get; }
Property Value
Type Description
System.Int32

CurrentLanguageRemoved

Declaration
public bool CurrentLanguageRemoved { get; set; }
Property Value
Type Description
System.Boolean

ExistingLanguages

Declaration
public string ExistingLanguages { get; set; }
Property Value
Type Description
System.String

Id

Declaration
public Identity Id { get; set; }
Property Value
Type Description
EPiServer.Data.Identity

IsCommonDraft

Declaration
public virtual bool IsCommonDraft { get; set; }
Property Value
Type Description
System.Boolean

IsDirty

Declaration
public bool IsDirty { get; }
Property Value
Type Description
System.Boolean

LanguageName

Declaration
public virtual string LanguageName { get; }
Property Value
Type Description
System.String

MasterLanguageName

Declaration
public virtual string MasterLanguageName { get; }
Property Value
Type Description
System.String

MasterVersionId

Declaration
public virtual int MasterVersionId { get; set; }
Property Value
Type Description
System.Int32

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

RouteSegment

Declaration
public virtual string RouteSegment { get; }
Property Value
Type Description
System.String

SerializedPropertyCollection

Declaration
protected byte[] SerializedPropertyCollection { get; set; }
Property Value
Type Description
System.Byte[]

StartPublish

Declaration
public DateTime? StartPublish { get; }
Property Value
Type Description
System.Nullable<System.DateTime>

Status

Declaration
public VersionStatus Status { get; }
Property Value
Type Description
EPiServer.Core.VersionStatus

Methods

Create()

Declaration
public static CatalogContentDraft Create()
Returns
Type Description
CatalogContentDraft

GetContent()

Declaration
public virtual CatalogContentBase GetContent()
Returns
Type Description
CatalogContentBase

GetContent(ContentReference)

Declaration
public virtual CatalogContentBase GetContent(ContentReference parentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference parentLink
Returns
Type Description
CatalogContentBase

LoadProperties(CatalogContentBase, RawContent, ContentReference)

Declaration
protected virtual void LoadProperties(CatalogContentBase draftContent, RawContent deserializedRawContent, ContentReference parentLink)
Parameters
Type Name Description
CatalogContentBase draftContent
EPiServer.Core.RawContent deserializedRawContent
EPiServer.Core.ContentReference parentLink

SetContent(CatalogContentBase)

Declaration
public virtual void SetContent(CatalogContentBase content)
Parameters
Type Name Description
CatalogContentBase content

SetProperties(CatalogContentBase)

Declaration
protected virtual void SetProperties(CatalogContentBase content)
Parameters
Type Name Description
CatalogContentBase content

Implements

EPiServer.Data.Dynamic.IDynamicData