C# Class Rebel.Cms.Packages.DevDataset.DevDataset

USED ONLY FOR DEMO DATA!!!
Is most likely NOT thread safe
Show file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
DevDataset ( IPropertyEditorFactory propertyEditorFactory, IFrameworkContext frameworkContext, IAttributeTypeRegistry attributeTypeRegistry ) : System

Private Methods

Method Description
AllAttribTypes ( Revision mappedCollection ) : AttributeType[]
CreateNodeName ( DocumentTypeEditorModel docType ) : DocumentTypeProperty
CreateSelectedTemplateId ( DocumentTypeEditorModel docType ) : DocumentTypeProperty
GetNodeProperties ( int id, HiveId selectedTemplateId ) : HashSet
GetNodeProperty ( System.Xml.Linq.XElement node ) : System.Guid
InitCreators ( ) : void
InitDataTypes ( ) : void

Creates the test data types

InitDocTypes ( ) : void
InitRepository ( ) : void
InitTemplates ( ) : void
InstallDevDataset ( IHiveManager manager, IFrameworkContext framework ) : void

TEMPORARY method to install all data required for dev data set excluding all of the core data

Method Details

DevDataset() public method

public DevDataset ( IPropertyEditorFactory propertyEditorFactory, IFrameworkContext frameworkContext, IAttributeTypeRegistry attributeTypeRegistry ) : System
propertyEditorFactory IPropertyEditorFactory
frameworkContext IFrameworkContext
attributeTypeRegistry IAttributeTypeRegistry
return System