C# 클래스 Machete.Web.Controllers.HirerWorkOrderController

상속: MacheteController
파일 보기 프로젝트 열기: SavageLearning/Machete

공개 메소드들

메소드 설명
HirerWorkOrderController ( IWorkOrderService woServ, IWorkAssignmentService waServ, IEmployerService eServ, IWorkerService wServ, IWorkerRequestService wrServ, ILookupCache lcache ) : System

Constructor

dtResponse ( WorkOrder wo, bool showWorkers ) : object

Returns Work Order object to AjaxHandler - presented on the WorkOrder Details tab

보호된 메소드들

메소드 설명
Initialize ( System.Web.Routing.RequestContext requestContext ) : void

Initialize controller

비공개 메소드들

메소드 설명
AjaxHandler ( jQueryDataTableParam param ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Create ( WorkOrder wo, string userName, string workerAssignments ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
HirerProfile ( ) : System.Web.Mvc.ActionResult
HirerProfile ( Employer e, string userName ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
List ( ) : System.Web.Mvc.ActionResult
PaymentCancel ( string token2 ) : System.Web.Mvc.ActionResult
PaymentCancel ( string token, string orderID ) : System.Web.Mvc.ActionResult
PaymentComplete ( string userName ) : System.Web.Mvc.ActionResult
PaymentPost ( string token, string payerId, string userName ) : System.Web.Mvc.ActionResult
PaymentPre ( int id ) : System.Web.Mvc.ActionResult
PaymentPre ( string orderId, string userName ) : System.Web.Mvc.ActionResult
_getDisplayState ( WorkOrder wo ) : string

Determines displayState value in WorkOrder/AjaxHandler. Display state is used to provide color highlighting to records based on state. The displayState is not presented to the user, so don't have to provide internationalization text.

메소드 상세

HirerWorkOrderController() 공개 메소드

Constructor
public HirerWorkOrderController ( IWorkOrderService woServ, IWorkAssignmentService waServ, IEmployerService eServ, IWorkerService wServ, IWorkerRequestService wrServ, ILookupCache lcache ) : System
woServ IWorkOrderService Work Order service
waServ IWorkAssignmentService Work Assignment service
eServ IEmployerService Employer service
wServ IWorkerService Worker service
wrServ IWorkerRequestService Worker request service
lcache ILookupCache Lookup cache
리턴 System

Initialize() 보호된 메소드

Initialize controller
protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void
requestContext System.Web.Routing.RequestContext Request Context
리턴 void

dtResponse() 공개 메소드

Returns Work Order object to AjaxHandler - presented on the WorkOrder Details tab
public dtResponse ( WorkOrder wo, bool showWorkers ) : object
wo Machete.Domain.WorkOrder WorkOrder
showWorkers bool bool flag determining whether the workers associated with the WorkOrder should be retrieved
리턴 object