Class ContentTypeInfo
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Describes the content type configuration.
public sealed class ContentTypeInfo : DataClassInfo, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject
- Inheritance
-
objectContentTypeInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
ContentTypeInfo()
Initializes a new instance of the ContentTypeInfo class.
public ContentTypeInfo()
Fields
OBJECT_TYPE_CONTENTTYPE
Object type for document type
public const string OBJECT_TYPE_CONTENTTYPE = "cms.contenttype"
Field Value
- string
TYPEINFOCONTENTTYPE
Type information for document type.
public static ObjectTypeInfo TYPEINFOCONTENTTYPE
Field Value
Properties
ClassDefaultObjectType
Class default object type
public override string ClassDefaultObjectType { get; set; }
Property Value
- string
TypeInfo
Type information.
public override ObjectTypeInfo TypeInfo { get; }
Property Value
Methods
RemoveObjectDependencies(bool, bool)
Removes object dependencies. First tries to execute removedependencies query, if not found, automatic process is executed.
protected override void RemoveObjectDependencies(bool deleteAll = false, bool clearHashtables = true)
Parameters
deleteAllboolIf false, only required dependencies are deleted, dependencies with default value are replaced with default value and nullable values are replaced with null
clearHashtablesboolIf true, hashtables of all objecttypes which were potentially modified are cleared
SetObject()
Updates the object using appropriate provider.
protected override void SetObject()