Class ContentFolderInfo
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Data container class for ContentFolderInfo.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name|InfoCacheBy.Guid)]
public class ContentFolderInfo : AbstractInfo<ContentFolderInfo, IInfoProvider<ContentFolderInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid, IInfoWithName
- Inheritance
-
objectContentFolderInfo
- Implements
- Inherited Members
- Extension Methods
Remarks
Recommended to use IContentFolderManager instantiated by IContentFolderManagerFactory to perform operations with content folders.
Constructors
ContentFolderInfo()
Creates an empty instance of the ContentFolderInfo class.
public ContentFolderInfo()
ContentFolderInfo(DataRow)
Creates a new instances of the ContentFolderInfo class from the given System.Data.DataRow.
public ContentFolderInfo(DataRow dr)
Parameters
dr
DataRowDataRow with the object data.
Fields
OBJECT_TYPE
Object type.
public const string OBJECT_TYPE = "cms.contentfolder"
Field Value
- string
TYPEINFO
Type information.
public static readonly ObjectTypeInfo TYPEINFO
Field Value
Properties
ContentFolderCreatedByUserID
Content folder created by user ID.
[DatabaseField]
public virtual int ContentFolderCreatedByUserID { get; set; }
Property Value
- int
ContentFolderCreatedWhen
Content folder created when.
[DatabaseField]
public virtual DateTime ContentFolderCreatedWhen { get; set; }
Property Value
- DateTime
ContentFolderDisplayName
Content folder display name.
[DatabaseField]
public virtual string ContentFolderDisplayName { get; set; }
Property Value
- string
ContentFolderGUID
Content folder GUID.
[DatabaseField]
public virtual Guid ContentFolderGUID { get; set; }
Property Value
- Guid
ContentFolderID
Content folder ID.
[DatabaseField]
public virtual int ContentFolderID { get; set; }
Property Value
- int
ContentFolderModifiedByUserID
Content folder modified by user ID.
[DatabaseField]
public virtual int ContentFolderModifiedByUserID { get; set; }
Property Value
- int
ContentFolderModifiedWhen
Content folder modified when.
[DatabaseField]
public virtual DateTime ContentFolderModifiedWhen { get; set; }
Property Value
- DateTime
ContentFolderName
Content folder name.
[DatabaseField]
public virtual string ContentFolderName { get; set; }
Property Value
- string
ContentFolderParentFolderID
Content folder parent folder ID.
[DatabaseField]
public virtual int ContentFolderParentFolderID { get; set; }
Property Value
- int
ContentFolderTreePath
Content folder tree path.
[DatabaseField]
public virtual string ContentFolderTreePath { get; set; }
Property Value
- string
ContentFolderWorkspaceID
Content folder workspace ID.
[DatabaseField]
public virtual int ContentFolderWorkspaceID { get; set; }
Property Value
- int
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
IsRootFolder()
Determines whether the current folder is the root folder.
public bool IsRootFolder()
Returns
- bool
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()