C# Class Machete.Web.Controllers.WorkOrderController

Inheritance: MacheteController
Afficher le fichier Open project: SavageLearning/Machete Class Usage Examples

Méthodes publiques

Méthode Description
WorkOrderController ( IWorkOrderService woServ, IWorkAssignmentService waServ, IEmployerService eServ, IWorkerService wServ, IWorkerRequestService wrServ, ILookupCache lcache ) : System

Constructor

dtResponse ( WorkOrder wo, bool showWorkers ) : object

Returns Work Order object - presented on the WorkOrder Details tab

Méthodes protégées

Méthode Description
Initialize ( System.Web.Routing.RequestContext requestContext ) : void

Initialize controller

Private Methods

Méthode Description
Activate ( int id, string userName ) : System.Web.Mvc.ActionResult
AjaxHandler ( jQueryDataTableParam param ) : System.Web.Mvc.ActionResult
AjaxSummary ( jQueryDataTableParam param ) : System.Web.Mvc.ActionResult
CompleteOrders ( System.DateTime date, string userName ) : System.Web.Mvc.ActionResult
Create ( WorkOrder wo, string userName, List workerRequestList ) : System.Web.Mvc.ActionResult
Create ( int EmployerID ) : System.Web.Mvc.ActionResult
Delete ( int id, string user ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id, System.Web.Mvc.FormCollection collection, string userName, List workerRequestList ) : System.Web.Mvc.ActionResult
GroupView ( System.DateTime date, bool assignedOnly ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
View ( int id ) : System.Web.Mvc.ActionResult
ViewForEmail ( int id ) : System.Web.Mvc.ActionResult
_getDisplayState ( WorkOrder wo ) : string

determines displayState value in WorkOrder/AjaxHandler

Method Details

Initialize() protected méthode

Initialize controller
protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void
requestContext System.Web.Routing.RequestContext Request Context
Résultat void

WorkOrderController() public méthode

Constructor
public WorkOrderController ( 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
Résultat System

dtResponse() public méthode

Returns Work Order object - 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
Résultat object