Try our conversational search powered by Generative AI!

Class CatalogContent

Class to store information about Catalog object

Inheritance
System.Object
CatalogContent
Implements
EPiServer.Data.Entity.IReadOnly<CatalogContentBase>
EPiServer.Data.Entity.IReadOnly
EPiServer.Core.IContent
EPiServer.Core.IContentData
EPiServer.Core.ILocalizable
EPiServer.Core.ILocale
EPiServer.Core.IVersionable
EPiServer.Web.Routing.IRoutable
EPiServer.Security.IContentSecurable
EPiServer.Security.ISecurable
EPiServer.Core.IChangeTrackable
Namespace: EPiServer.Commerce.Catalog.ContentTypes
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
[CatalogContentType(GUID = "2301af28-e493-46e0-9476-c79461a3f436", DisplayName = "Catalog")]
[CLSCompliant(false)]
public class CatalogContent : NodeContentBase, IReadOnly<CatalogContentBase>, IReadOnly, IContent, IContentData, ILocalizable, ILocale, IVersionable, IRoutable, IContentSecurable, ISecurable, IChangeTrackable

Constructors

CatalogContent()

Declaration
public CatalogContent()

Properties

CatalogLanguages

Gets or sets the catalog languages.

Declaration
[IgnoreMetaDataPlusSynchronization]
public virtual ItemCollection<string> CatalogLanguages { get; set; }
Property Value
Type Description
ItemCollection<System.String>

Changed

Gets or sets the DateTime when has changed

Declaration
public virtual DateTime Changed { get; set; }
Property Value
Type Description
System.DateTime

ChangedBy

Gets or sets the ChangedBy when has changed

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

ContentType

Gets the type of the content.

Declaration
public override CatalogContentType ContentType { get; }
Property Value
Type Description
CatalogContentType

The type of the content.

Overrides

Created

Gets the date and time when this content instance was created

Declaration
public virtual DateTime Created { get; set; }
Property Value
Type Description
System.DateTime

CreatedBy

Gets the username of the user that created this content instance.

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

DefaultCurrency

Gets or sets the default currency.

Declaration
[IgnoreMetaDataPlusSynchronization]
public virtual string DefaultCurrency { get; set; }
Property Value
Type Description
System.String

DefaultLanguage

Gets or sets the default language.

Declaration
[IgnoreMetaDataPlusSynchronization]
public virtual string DefaultLanguage { get; set; }
Property Value
Type Description
System.String

Deleted

Gets or sets the deleted date.

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

DeletedBy

Gets or sets who deleted the content.

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

IsModified

Gets a value indicating whether this instance has been modified after loading.

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

true if this instance has been modified; otherwise, false.

Overrides

IsPrimary

Gets or sets a value indicating whether the catalog is primary.

Declaration
[IgnoreMetaDataPlusSynchronization]
public virtual bool IsPrimary { get; set; }
Property Value
Type Description
System.Boolean

LengthBase

Gets or sets the length base.

Declaration
[IgnoreMetaDataPlusSynchronization]
public virtual string LengthBase { get; set; }
Property Value
Type Description
System.String

Owner

Gets or sets the owner.

Declaration
[IgnoreMetaDataPlusSynchronization]
public virtual string Owner { get; set; }
Property Value
Type Description
System.String

Saved

Gets the date and time when this content instance was last saved.

Declaration
public virtual DateTime Saved { get; set; }
Property Value
Type Description
System.DateTime

SetChangedOnPublish

Gets or sets a value indicating whether the Changed should be updated on publish.

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

WeightBase

Gets or sets the weight base.

Declaration
[IgnoreMetaDataPlusSynchronization]
public virtual string WeightBase { get; set; }
Property Value
Type Description
System.String

Methods

CreateWriteableCloneImplementation()

Creates the writeable clone including writeable clones of the content link and the language collection.

Declaration
protected override object CreateWriteableCloneImplementation()
Returns
Type Description
System.Object
Overrides

MakeReadOnly()

Protects from modifying this object.

Declaration
public override void MakeReadOnly()
Overrides

ResetModified()

Resets the modified flag.

Declaration
protected override void ResetModified()
Overrides

Implements

EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly
EPiServer.Core.IContent
EPiServer.Core.IContentData
EPiServer.Core.ILocalizable
EPiServer.Core.ILocale
EPiServer.Core.IVersionable
EPiServer.Web.Routing.IRoutable
EPiServer.Security.IContentSecurable
EPiServer.Security.ISecurable
EPiServer.Core.IChangeTrackable