Table of Contents

Class SmartFolderInfo

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Data container class for SmartFolderInfo.

[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name|InfoCacheBy.Guid)]
public class SmartFolderInfo : AbstractInfo<SmartFolderInfo, IInfoProvider<SmartFolderInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithName, IInfoWithGuid
Inheritance
object
SmartFolderInfo
Implements
Inherited Members
Extension Methods

Constructors

SmartFolderInfo()

Creates an empty instance of the SmartFolderInfo class.

public SmartFolderInfo()

SmartFolderInfo(DataRow)

Creates a new instances of the SmartFolderInfo class from the given System.Data.DataRow.

public SmartFolderInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "cms.smartfolder"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

SmartFolderCreatedByUserID

Smart folder created by user ID.

[DatabaseField]
public virtual int SmartFolderCreatedByUserID { get; set; }

Property Value

int

SmartFolderCreatedWhen

Smart folder created when.

[DatabaseField]
public virtual DateTime SmartFolderCreatedWhen { get; set; }

Property Value

DateTime

SmartFolderDisplayName

Smart folder display name.

[DatabaseField]
public virtual string SmartFolderDisplayName { get; set; }

Property Value

string

SmartFolderFilter

Smart folder filter.

[DatabaseField]
public virtual string SmartFolderFilter { get; set; }

Property Value

string

SmartFolderGUID

Smart folder GUID.

[DatabaseField]
public virtual Guid SmartFolderGUID { get; set; }

Property Value

Guid

SmartFolderID

Smart folder ID.

[DatabaseField]
public virtual int SmartFolderID { get; set; }

Property Value

int

SmartFolderIsContentDeliveryEnabled

Smart folder is enabled for content delivery.

[DatabaseField]
public virtual bool SmartFolderIsContentDeliveryEnabled { get; set; }

Property Value

bool

SmartFolderModifiedByUserID

Smart folder modified by user ID.

[DatabaseField]
public virtual int SmartFolderModifiedByUserID { get; set; }

Property Value

int

SmartFolderModifiedWhen

Smart folder modified when.

[DatabaseField]
public virtual DateTime SmartFolderModifiedWhen { get; set; }

Property Value

DateTime

SmartFolderName

Smart folder name.

[DatabaseField]
public virtual string SmartFolderName { get; set; }

Property Value

string

SmartFolderWorkspaceID

Smart folder workspace ID.

[DatabaseField]
public virtual int SmartFolderWorkspaceID { get; set; }

Property Value

int

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

InsertAsCloneInternal(CloneSettings, CloneResult, BaseInfo)

This method is called on cloned object prepared in memory by InsertAsClone method. Override if you need to do further actions before inserting actual object to DB (insert special objects, modify foreign keys, copy files, etc.). Calls Insert() by default.

protected override void InsertAsCloneInternal(CloneSettings settings, CloneResult result, BaseInfo originalObject)

Parameters

settings CloneSettings

Cloning settings

result CloneResult

Result of the cloning - messages in this object will be altered by processing this method

originalObject BaseInfo

Original source BaseInfo (object being cloned)

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()