Class HeadlessTokenInfo
Data container class for HeadlessTokenInfo.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Guid, Priority = InfoCachePriority.NotRemovable)]
public class HeadlessTokenInfo : AbstractInfo<HeadlessTokenInfo, IInfoProvider<HeadlessTokenInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid
- Inheritance
-
objectHeadlessTokenInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
HeadlessTokenInfo()
Creates an empty instance of the HeadlessTokenInfo class.
public HeadlessTokenInfo()
HeadlessTokenInfo(DataRow)
Creates a new instances of the HeadlessTokenInfo class from the given System.Data.DataRow.
public HeadlessTokenInfo(DataRow dr)
Parameters
dr
DataRowDataRow with the object data.
Fields
OBJECT_TYPE
Object type.
public const string OBJECT_TYPE = "cms.headlesstoken"
Field Value
- string
TYPEINFO
Type information.
public static readonly ObjectTypeInfo TYPEINFO
Field Value
Properties
HeadlessTokenAccessType
Headless token access type.
[DatabaseField(ValueType = typeof(string))]
public virtual HeadlessTokenAccessType HeadlessTokenAccessType { get; set; }
Property Value
Remarks
Stored as a string in a database. When querying, use .ToString() or .ToStringRepresentation().
HeadlessTokenCreatedByUserID
Identifies the user who created the headless token.
[DatabaseField]
public virtual int HeadlessTokenCreatedByUserID { get; set; }
Property Value
- int
HeadlessTokenCreatedWhen
Headless token creation date.
[DatabaseField]
public virtual DateTime HeadlessTokenCreatedWhen { get; set; }
Property Value
- DateTime
HeadlessTokenDisplayName
Headless token display name.
[DatabaseField]
public virtual string HeadlessTokenDisplayName { get; set; }
Property Value
- string
HeadlessTokenEnabled
Is headless token enabled.
[DatabaseField]
public virtual bool HeadlessTokenEnabled { get; set; }
Property Value
- bool
HeadlessTokenGUID
Headless token GUID.
[DatabaseField]
public virtual Guid HeadlessTokenGUID { get; set; }
Property Value
- Guid
HeadlessTokenHash
Hashed value of the headless token.
[DatabaseField]
public virtual string HeadlessTokenHash { get; set; }
Property Value
- string
HeadlessTokenHeadlessChannelID
Headless token headless channel ID.
[DatabaseField]
public virtual int HeadlessTokenHeadlessChannelID { get; set; }
Property Value
- int
HeadlessTokenID
Headless token ID.
[DatabaseField]
public virtual int HeadlessTokenID { get; set; }
Property Value
- int
HeadlessTokenModifiedByUserID
Identifies the last user who modified the headless token.
[DatabaseField]
public virtual int HeadlessTokenModifiedByUserID { get; set; }
Property Value
- int
HeadlessTokenModifiedWhen
Headless token last modification date.
[DatabaseField]
public virtual DateTime HeadlessTokenModifiedWhen { get; set; }
Property Value
- DateTime
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()