Class HeadlessChannelInfo
Data container class for HeadlessChannelInfo.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Guid, Priority = InfoCachePriority.NotRemovable)]
public class HeadlessChannelInfo : AbstractInfo<HeadlessChannelInfo, IInfoProvider<HeadlessChannelInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid
- Inheritance
-
objectHeadlessChannelInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
HeadlessChannelInfo()
Creates an empty instance of the HeadlessChannelInfo class.
public HeadlessChannelInfo()
HeadlessChannelInfo(DataRow)
Creates a new instances of the HeadlessChannelInfo class from the given System.Data.DataRow.
public HeadlessChannelInfo(DataRow dr)
Parameters
dr
DataRowDataRow with the object data.
Fields
OBJECT_TYPE
Object type.
public const string OBJECT_TYPE = "cms.headlesschannel"
Field Value
- string
TYPEINFO
Type information.
public static readonly ObjectTypeInfo TYPEINFO
Field Value
Properties
HeadlessChannelChannelID
Headless channel Channel ID.
[DatabaseField]
public virtual int HeadlessChannelChannelID { get; set; }
Property Value
- int
HeadlessChannelGUID
Headless channel GUID.
[DatabaseField]
public virtual Guid HeadlessChannelGUID { get; set; }
Property Value
- Guid
HeadlessChannelID
Headless channel ID.
[DatabaseField]
public virtual int HeadlessChannelID { get; set; }
Property Value
- int
HeadlessChannelPreviewUrl
Headless channel preview URL.
[DatabaseField]
public virtual string HeadlessChannelPreviewUrl { get; set; }
Property Value
- string
HeadlessChannelPrimaryContentLanguageID
Headless channel primary content language.
[DatabaseField]
public virtual int HeadlessChannelPrimaryContentLanguageID { get; set; }
Property Value
- int
ObjectDisplayName
Object display name.
protected override string ObjectDisplayName { get; set; }
Property Value
- string
Remarks
The returned value is evaluated from first known column in following column sequence: DisplayNameColumn, CodeNameColumn, GUIDColumn, IDColumn, ObjectType.
When evaluating on IDColumn, returned value consists of both ObjectType and IDColumn.
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
LoadDefaultData()
Loads the default data to the object.
protected override void LoadDefaultData()
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()