C# Class Cats.Areas.Settings.Controllers.ProcessTemplateController

Inheritance: Controller
显示文件 Open project: edgecomputing/cats

Public Methods

Method Description
AddFlow ( FlowTemplate item ) : System.Web.Mvc.ActionResult
AddState ( StateTemplate item ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteFlow ( int id ) : System.Web.Mvc.ActionResult
DeleteState ( int id ) : System.Web.Mvc.ActionResult
Design ( int id ) : System.Web.Mvc.ActionResult
Detail ( int id ) : System.Web.Mvc.ActionResult
DetailJson ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
EditFlowJSON ( FlowTemplate item ) : System.Web.Mvc.ActionResult
EditStateJSON ( StateTemplate item ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
ProcessTemplateController ( IStateTemplateService StateTemplateServiceParam, IProcessTemplateService ProcessTemplateServiceParam, IFlowTemplateService FlowTemplateServiceParam ) : System
ReadKendo ( [ request ) : System.Web.Mvc.ActionResult
loadLookups ( ) : void
saveGraphics ( int processId, string graphicsData ) : System.Web.Mvc.ActionResult
toFlowTemplatePOCOList ( IEnumerable list ) : IEnumerable
toProcessTemplatePOCOList ( IEnumerable list ) : IEnumerable
toStateTemplatePOCOList ( ICollection list ) : IEnumerable

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Create ( ProcessTemplate item ) : System.Web.Mvc.ActionResult
CreateKendo ( [ request, ProcessTemplate item ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
DeleteKendo ( [ request, ProcessTemplate item ) : System.Web.Mvc.ActionResult
Edit ( ProcessTemplate item ) : System.Web.Mvc.ActionResult
EditKendo ( [ request, ProcessTemplate item ) : System.Web.Mvc.ActionResult
toFlowTemplatePOCO ( FlowTemplate item ) : FlowTemplatePOCO
toProcessTemplatePOCO ( ProcessTemplate item ) : ProcessTemplatePOCO
toStateTemplatePOCO ( StateTemplate item ) : StateTemplatePOCO

Method Details

AddFlow() public method

public AddFlow ( FlowTemplate item ) : System.Web.Mvc.ActionResult
item Cats.Models.FlowTemplate
return System.Web.Mvc.ActionResult

AddState() public method

public AddState ( StateTemplate item ) : System.Web.Mvc.ActionResult
item Cats.Models.StateTemplate
return System.Web.Mvc.ActionResult

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

DeleteFlow() public method

public DeleteFlow ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

DeleteState() public method

public DeleteState ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Design() public method

public Design ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Detail() public method

public Detail ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

DetailJson() public method

public DetailJson ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

EditFlowJSON() public method

public EditFlowJSON ( FlowTemplate item ) : System.Web.Mvc.ActionResult
item Cats.Models.FlowTemplate
return System.Web.Mvc.ActionResult

EditStateJSON() public method

public EditStateJSON ( StateTemplate item ) : System.Web.Mvc.ActionResult
item Cats.Models.StateTemplate
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ProcessTemplateController() public method

public ProcessTemplateController ( IStateTemplateService StateTemplateServiceParam, IProcessTemplateService ProcessTemplateServiceParam, IFlowTemplateService FlowTemplateServiceParam ) : System
StateTemplateServiceParam IStateTemplateService
ProcessTemplateServiceParam IProcessTemplateService
FlowTemplateServiceParam IFlowTemplateService
return System

ReadKendo() public method

public ReadKendo ( [ request ) : System.Web.Mvc.ActionResult
request [
return System.Web.Mvc.ActionResult

loadLookups() public method

public loadLookups ( ) : void
return void

saveGraphics() public method

public saveGraphics ( int processId, string graphicsData ) : System.Web.Mvc.ActionResult
processId int
graphicsData string
return System.Web.Mvc.ActionResult

toFlowTemplatePOCOList() public method

public toFlowTemplatePOCOList ( IEnumerable list ) : IEnumerable
list IEnumerable
return IEnumerable

toProcessTemplatePOCOList() public method

public toProcessTemplatePOCOList ( IEnumerable list ) : IEnumerable
list IEnumerable
return IEnumerable

toStateTemplatePOCOList() public method

public toStateTemplatePOCOList ( ICollection list ) : IEnumerable
list ICollection
return IEnumerable