C# Class Gramps.Controllers.EditorController

Inheritance: ApplicationController
Exibir arquivo Open project: ucdavis/Gramps

Public Methods

Method Description
AddEditor ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult

#2 Get: /Editor/AddEditor/?templateId=5

CreateReviewer ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult

#4 GET: /Editor/CreateReviewer

EditReviewer ( int id, int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult

#6 GET: /Editor/Edit/5

EditorController ( IRepository editorRepository, IAccessService accessService, IEmailService emailService, IMembershipService membershipService ) : System
Index ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult

#1 GET: /Editor/

SendCall ( int id ) : System.Web.Mvc.ActionResult

#9 GET: /Editor/SendCall/5

Private Methods

Method Description
AddEditor ( int templateId, int callForProposalId, int userId ) : System.Web.Mvc.ActionResult
CreateReviewer ( int templateId, int callForProposalId, Editor editor ) : System.Web.Mvc.ActionResult
Delete ( int id, int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult
EditReviewer ( int id, int templateId, int callForProposalId, Editor editor ) : System.Web.Mvc.ActionResult
SendCall ( int id, bool immediate ) : System.Web.Mvc.ActionResult
TransferValues ( Editor source, Editor destination, bool skipEmail = false ) : void

Transfer editable values from source to destination When editing, changing the email could result in screwed up membership info.

Method Details

AddEditor() public method

#2 Get: /Editor/AddEditor/?templateId=5
public AddEditor ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult
templateId int
callForProposalId int
return System.Web.Mvc.ActionResult

CreateReviewer() public method

#4 GET: /Editor/CreateReviewer
public CreateReviewer ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult
templateId int
callForProposalId int
return System.Web.Mvc.ActionResult

EditReviewer() public method

#6 GET: /Editor/Edit/5
public EditReviewer ( int id, int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult
id int
templateId int
callForProposalId int
return System.Web.Mvc.ActionResult

EditorController() public method

public EditorController ( IRepository editorRepository, IAccessService accessService, IEmailService emailService, IMembershipService membershipService ) : System
editorRepository IRepository
accessService IAccessService
emailService IEmailService
membershipService IMembershipService
return System

Index() public method

#1 GET: /Editor/
public Index ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult
templateId int
callForProposalId int
return System.Web.Mvc.ActionResult

SendCall() public method

#9 GET: /Editor/SendCall/5
public SendCall ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult