Package de.dlr.proseo.ui.gui
Klasse GUIProductController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIProductController
A controller for retrieving and handling products
- Autor:
- David Mazo
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.web.context.request.async.DeferredResult
<String> getProductFiles
(Long id, String sortby, Boolean up, org.springframework.ui.Model model) Retrieve the product file with id or all if id is nullorg.springframework.web.context.request.async.DeferredResult
<String> getProducts
(Long productId, String productClass, String mode, String fileClass, String quality, String startTimeFrom, String startTimeTo, String genTimeFrom, String genTimeTo, Long recordFrom, Long recordTo, Long jobStepId, String sortby, Boolean up, org.springframework.ui.Model model) Retrieve products matching the provided parametersShow the product viewShow the product file viewVon Klasse geerbte Methoden de.dlr.proseo.ui.gui.GUIBaseController
checkClearCache, configuredProcessors, facilities, fileClasses, handleHTTPError, handleHTTPWarning, hasroleconfigurationmgr, hasroleconfigurationreader, hasrolefacilitymgr, hasrolefacilitymonitor, hasrolefacilityreader, hasrolejobstepprocessor, hasrolemissionmgr, hasrolemissionreader, hasroleorderapprover, hasroleordermgr, hasroleordermonitor, hasroleorderplanner, hasroleorderreader, hasroleprocessorclassmgr, hasroleprocessorreader, hasroleproductclassmgr, hasroleproductclassreader, hasroleproductmgr, hasroleproductreader, hasroleproductreaderall, hasroleproductrestrictedreader, missioncode, parametertypes, processinglevels, processingModes, processorclassnames, productclasses, productiontypes, productqualities, proseoversion, slicingtypes, spaceCrafts, user, userroles, visibilities, workflows
-
Konstruktordetails
-
GUIProductController
public GUIProductController()
-
-
Methodendetails
-
showProduct
Show the product view- Gibt zurück:
- the name of the product view template
-
showProductFile
Show the product file view- Gibt zurück:
- the name of the product file view template
-
getProducts
@RequestMapping("/product/get") public org.springframework.web.context.request.async.DeferredResult<String> getProducts(@RequestParam(required=false,value="id") Long productId, @RequestParam(required=false,value="productClass") String productClass, @RequestParam(required=false,value="mode") String mode, @RequestParam(required=false,value="fileClass") String fileClass, @RequestParam(required=false,value="quality") String quality, @RequestParam(required=false,value="startTimeFrom") String startTimeFrom, @RequestParam(required=false,value="startTimeTo") String startTimeTo, @RequestParam(required=false,value="genTimeFrom") String genTimeFrom, @RequestParam(required=false,value="genTimeTo") String genTimeTo, @RequestParam(required=false,value="recordFrom") Long recordFrom, @RequestParam(required=false,value="recordTo") Long recordTo, @RequestParam(required=false,value="jobStepId") Long jobStepId, @RequestParam(required=false,value="sortby") String sortby, @RequestParam(required=false,value="up") Boolean up, org.springframework.ui.Model model) Retrieve products matching the provided parameters- Parameter:
productId
- the product idproductClass
- the product classmode
- the processing modefileClass
- the file classquality
- the product qualitystartTimeFrom
- the earliest permitted start timestartTimeTo
- the latest permitted start timegenTimeFrom
- the earliest permitted generation timegenTimeTo
- the latest permitted generation timerecordFrom
- the first record to retrieverecordTo
- the last record to retrievejobStepId
- the job step idsortby
- the sort columnup
- true if the sorting order is to be ascendingmodel
- the attributes to return- Gibt zurück:
- the result
-
getProductFiles
@RequestMapping("/productfile/get") public org.springframework.web.context.request.async.DeferredResult<String> getProductFiles(@RequestParam(required=false,value="id") Long id, @RequestParam(required=false,value="sortby") String sortby, @RequestParam(required=false,value="up") Boolean up, org.springframework.ui.Model model) Retrieve the product file with id or all if id is null- Parameter:
id
- The product file id or nullsortby
- The sort columnup
- The sort direction (true for up)model
- The model to hold the data- Gibt zurück:
- The result
-