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

Inheritance: StandardEditorController
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
DataTypeEditorController ( IBackOfficeRequestContext requestContext ) : System
Edit ( HiveId id ) : System.Web.Mvc.ActionResult

Action to render the editor

Méthodes protégées

Méthode Description
ProcessSubmit ( DataTypeEditorModel model, AttributeType entity ) : System.Web.Mvc.ActionResult

Processes the submit for insert/update

Private Methods

Méthode Description
Create ( System.Guid propertyEditorId, string name ) : System.Web.Mvc.ActionResult
CreateForm ( ) : System.Web.Mvc.ActionResult
CreateNew ( ) : System.Web.Mvc.ActionResult
CreateNewForm ( CreateDataTypeModel createModel ) : System.Web.Mvc.ActionResult
Delete ( HiveId id ) : System.Web.Mvc.JsonResult
EditForm ( HiveId id ) : System.Web.Mvc.ActionResult
EnsurePropEditorListViewBagData ( ) : void

This adds some required elements to the ViewBag so that the Create view renders correctly

Method Details

DataTypeEditorController() public méthode

public DataTypeEditorController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
Résultat System

Edit() public méthode

Action to render the editor
public Edit ( HiveId id ) : System.Web.Mvc.ActionResult
id HiveId
Résultat System.Web.Mvc.ActionResult

ProcessSubmit() protected méthode

Processes the submit for insert/update
protected ProcessSubmit ( DataTypeEditorModel model, AttributeType entity ) : System.Web.Mvc.ActionResult
model Rebel.Cms.Web.Model.BackOffice.Editors.DataTypeEditorModel
entity AttributeType
Résultat System.Web.Mvc.ActionResult