C# Class Rebel.Cms.Web.Editors.TemplateEditorController

Inheritance: AbstractFileEditorController
ファイルを表示 Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
CreateNewEditorModel ( string fileName, HiveId parentId, HiveId stubFileId = default(HiveId) ) : FileEditorModel
TemplateEditorController ( IBackOfficeRequestContext requestContext ) : System

Protected Methods

Method Description
CreatePaths ( File file ) : EntityPathCollection
EnsureViewData ( FileEditorModel model, File file ) : void
OnBeforeCreate ( CreateFileModel createModel, FileEditorModel editorModel ) : void
PopulateFileContentFromStub ( FileEditorModel model, HiveId stubFileId, string>.IDictionary replacements ) : void

Method Details

CreateNewEditorModel() public method

public CreateNewEditorModel ( string fileName, HiveId parentId, HiveId stubFileId = default(HiveId) ) : FileEditorModel
fileName string
parentId HiveId
stubFileId HiveId
return Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel

CreatePaths() protected method

protected CreatePaths ( File file ) : EntityPathCollection
file Rebel.Framework.Persistence.Model.IO.File
return EntityPathCollection

EnsureViewData() protected method

protected EnsureViewData ( FileEditorModel model, File file ) : void
model Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
file Rebel.Framework.Persistence.Model.IO.File
return void

OnBeforeCreate() protected method

protected OnBeforeCreate ( CreateFileModel createModel, FileEditorModel editorModel ) : void
createModel Rebel.Cms.Web.Model.BackOffice.Editors.CreateFileModel
editorModel Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
return void

PopulateFileContentFromStub() protected method

protected PopulateFileContentFromStub ( FileEditorModel model, HiveId stubFileId, string>.IDictionary replacements ) : void
model Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
stubFileId HiveId
replacements string>.IDictionary
return void

TemplateEditorController() public method

public TemplateEditorController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
return System