Class CatalogContentDraft
Inheritance
System.Object
CatalogContentDraft
Implements
EPiServer.Data.Dynamic.IDynamicData
Assembly: EPiServer.Commerce.Internal.Migration.dll
Version: 14.26.0
Syntax
public class CatalogContentDraft : Object, IDynamicData
Constructors
CatalogContentDraft()
Declaration
public CatalogContentDraft()
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 Nullable<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 |
|
ContentLink
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 Nullable<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
GetContent()
Declaration
public virtual CatalogContentBase GetContent()
Returns
GetContent(ContentReference)
Declaration
public virtual CatalogContentBase GetContent(ContentReference parentLink)
Parameters
| Type |
Name |
Description |
| EPiServer.Core.ContentReference |
parentLink |
|
Returns
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
SetProperties(CatalogContentBase)
Declaration
protected virtual void SetProperties(CatalogContentBase content)
Parameters
Implements
EPiServer.Data.Dynamic.IDynamicData