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()
Assembly: EPiServer.Commerce.Internal.Migration.dll
Version: 10.8.0
Syntax
public class CatalogContentDraft : IDynamicData
Constructors
CatalogContentDraft()
Declaration
public CatalogContentDraft()
CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, IContentTransfer, IRawContentRetriever, IContentRepository, IPermanentLinkMapper, ContentGuidAdmin, IDataImporter)
Declaration
[Obsolete("This contructor is no longer used, instead use the contructor with IPropertyImporter. This constructor remain at least until January 2018.")]
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, IContentTransfer contentTransfer, IRawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, ContentGuidAdmin contentGuidAdmin, IDataImporter dataImporter)
Parameters
Type |
Name |
Description |
ReferenceConverter |
referenceConverter |
|
MetaClassContentFactory |
metaClassContentFactory |
|
EPiServer.Core.Transfer.IContentTransfer |
contentTransfer |
|
EPiServer.Core.Transfer.IRawContentRetriever |
rawContentRetriever |
|
EPiServer.IContentRepository |
contentRepository |
|
EPiServer.Web.IPermanentLinkMapper |
linkMapper |
|
ContentGuidAdmin |
contentGuidAdmin |
|
EPiServer.Enterprise.IDataImporter |
dataImporter |
|
CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, ContentTransfer, RawContentRetriever, IContentRepository, IPermanentLinkMapper, PropertyContentReferenceListTransform, PropertyJsonTransform, ContentGuidAdmin)
Declaration
[Obsolete("This contructor is no longer used, instead use the contructor with IPropertyImporter. This constructor remain at least until April 2017.")]
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, ContentTransfer contentTransfer, RawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, PropertyContentReferenceListTransform propertyContentReferenceListTransform, PropertyJsonTransform propertyJsonTransfrom, ContentGuidAdmin contentGuidAdmin)
Parameters
Type |
Name |
Description |
ReferenceConverter |
referenceConverter |
|
MetaClassContentFactory |
metaClassContentFactory |
|
EPiServer.Core.Transfer.Internal.ContentTransfer |
contentTransfer |
|
EPiServer.Core.Transfer.Internal.RawContentRetriever |
rawContentRetriever |
|
EPiServer.IContentRepository |
contentRepository |
|
EPiServer.Web.IPermanentLinkMapper |
linkMapper |
|
EPiServer.Core.Transfer.Internal.PropertyContentReferenceListTransform |
propertyContentReferenceListTransform |
|
EPiServer.Core.Transfer.Internal.PropertyJsonTransform |
propertyJsonTransfrom |
|
ContentGuidAdmin |
contentGuidAdmin |
|
CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, ContentTransfer, RawContentRetriever, IContentRepository, IPermanentLinkMapper, PropertyContentReferenceListTransform, PropertyJsonTransform, ContentGuidAdmin, IContentCacheRemover)
Declaration
[Obsolete("This contructor is no longer used, instead use the contructor with IPropertyImporter. This constructor remain at least until April 2017.")]
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, ContentTransfer contentTransfer, RawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, PropertyContentReferenceListTransform propertyContentReferenceListTransform, PropertyJsonTransform propertyJsonTransfrom, ContentGuidAdmin contentGuidAdmin, IContentCacheRemover contentCacheRemover)
Parameters
Type |
Name |
Description |
ReferenceConverter |
referenceConverter |
|
MetaClassContentFactory |
metaClassContentFactory |
|
EPiServer.Core.Transfer.Internal.ContentTransfer |
contentTransfer |
|
EPiServer.Core.Transfer.Internal.RawContentRetriever |
rawContentRetriever |
|
EPiServer.IContentRepository |
contentRepository |
|
EPiServer.Web.IPermanentLinkMapper |
linkMapper |
|
EPiServer.Core.Transfer.Internal.PropertyContentReferenceListTransform |
propertyContentReferenceListTransform |
|
EPiServer.Core.Transfer.Internal.PropertyJsonTransform |
propertyJsonTransfrom |
|
ContentGuidAdmin |
contentGuidAdmin |
|
EPiServer.IContentCacheRemover |
contentCacheRemover |
|
CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, ContentTransfer, RawContentRetriever, IContentRepository, IPermanentLinkMapper, PropertyContentReferenceListTransform, PropertyJsonTransform, ContentGuidAdmin, IContentCacheRemover, IPrincipalAccessor)
Declaration
[Obsolete("This contructor is no longer used, instead use the contructor with IPropertyImporter. This constructor remain at least until May 2017.")]
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, ContentTransfer contentTransfer, RawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, PropertyContentReferenceListTransform propertyContentReferenceListTransform, PropertyJsonTransform propertyJsonTransfrom, ContentGuidAdmin contentGuidAdmin, IContentCacheRemover contentCacheRemover, IPrincipalAccessor principalAccessor)
Parameters
Type |
Name |
Description |
ReferenceConverter |
referenceConverter |
|
MetaClassContentFactory |
metaClassContentFactory |
|
EPiServer.Core.Transfer.Internal.ContentTransfer |
contentTransfer |
|
EPiServer.Core.Transfer.Internal.RawContentRetriever |
rawContentRetriever |
|
EPiServer.IContentRepository |
contentRepository |
|
EPiServer.Web.IPermanentLinkMapper |
linkMapper |
|
EPiServer.Core.Transfer.Internal.PropertyContentReferenceListTransform |
propertyContentReferenceListTransform |
|
EPiServer.Core.Transfer.Internal.PropertyJsonTransform |
propertyJsonTransfrom |
|
ContentGuidAdmin |
contentGuidAdmin |
|
EPiServer.IContentCacheRemover |
contentCacheRemover |
|
EPiServer.Security.IPrincipalAccessor |
principalAccessor |
|
CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, ContentTransfer, RawContentRetriever, IContentRepository, IPermanentLinkMapper, ContentGuidAdmin, IDataImporter)
Declaration
[Obsolete("This contructor is no longer used, instead use the contructor with IPropertyImporter. This constructor remain at least until September 2017.")]
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, ContentTransfer contentTransfer, RawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, ContentGuidAdmin contentGuidAdmin, IDataImporter dataImporter)
Parameters
Type |
Name |
Description |
ReferenceConverter |
referenceConverter |
|
MetaClassContentFactory |
metaClassContentFactory |
|
EPiServer.Core.Transfer.Internal.ContentTransfer |
contentTransfer |
|
EPiServer.Core.Transfer.Internal.RawContentRetriever |
rawContentRetriever |
|
EPiServer.IContentRepository |
contentRepository |
|
EPiServer.Web.IPermanentLinkMapper |
linkMapper |
|
ContentGuidAdmin |
contentGuidAdmin |
|
EPiServer.Enterprise.IDataImporter |
dataImporter |
|
CatalogContentDraft(ReferenceConverter, MetaClassContentFactory, IRawContentRetriever, IContentRepository, IPermanentLinkMapper, ContentGuidAdmin, IDataImporter, IPropertyImporter)
Declaration
public CatalogContentDraft(ReferenceConverter referenceConverter, MetaClassContentFactory metaClassContentFactory, IRawContentRetriever rawContentRetriever, IContentRepository contentRepository, IPermanentLinkMapper linkMapper, ContentGuidAdmin contentGuidAdmin, IDataImporter dataImporter, IPropertyImporter propertyImporter)
Parameters
Type |
Name |
Description |
ReferenceConverter |
referenceConverter |
|
MetaClassContentFactory |
metaClassContentFactory |
|
EPiServer.Core.Transfer.IRawContentRetriever |
rawContentRetriever |
|
EPiServer.IContentRepository |
contentRepository |
|
EPiServer.Web.IPermanentLinkMapper |
linkMapper |
|
ContentGuidAdmin |
contentGuidAdmin |
|
EPiServer.Enterprise.IDataImporter |
dataImporter |
|
EPiServer.Core.Transfer.IPropertyImporter |
propertyImporter |
|
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> |
|
Content
Declaration
[Obsolete("This should no longer be used, use GetContent() and SetContent() instead. Will remain at least until April 2016.")]
public virtual CatalogContentBase Content { get; set; }
Property Value
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 |
|
ParentLink
Declaration
[Obsolete("This is no longer used. The ParentLink can be supplied in the call to GetContent. Will remain at least until April 2016.")]
public virtual ContentReference ParentLink { get; }
Property Value
Type |
Description |
EPiServer.Core.ContentReference |
|
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
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)
Declaration
[Obsolete("Use overload with parentLink parameter. Will remain at least until April 2016.")]
protected virtual void LoadProperties(CatalogContentBase draftContent, RawContent deserializedRawContent)
Parameters
Type |
Name |
Description |
CatalogContentBase |
draftContent |
|
EPiServer.Core.RawContent |
deserializedRawContent |
|
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