Package de.dlr.proseo.ui.gui
Class GUIProductClassController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIProductClassController
A controller for retrieving and handling product classes
- Author:
- David Mazo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.context.request.async.DeferredResult<String> getProductClasses(String productClass, String processorClass, String level, String visibility, String sortby, Boolean up, Long recordFrom, Long recordTo, org.springframework.ui.Model model) Fetch and return product classes from the product class managerShow the product class viewMethods inherited from class de.dlr.proseo.ui.gui.GUIBaseController
calcShowPages, checkClearCache, configuredProcessors, enabledfacilities, facilities, fileClasses, grafana, handleHTTPError, handleHTTPWarning, hasroleconfigurationmgr, hasroleconfigurationreader, hasrolefacilitymgr, hasrolefacilitymonitor, hasrolefacilityreader, hasrolejobstepprocessor, hasrolemissionmgr, hasrolemissionreader, hasroleorderapprover, hasroleordermgr, hasroleordermonitor, hasroleorderplanner, hasroleorderreader, hasroleprocessorclassmgr, hasroleprocessorreader, hasroleproductarchivemgr, hasroleproductarchivereader, hasroleproductclassmgr, hasroleproductclassreader, hasroleproductmgr, hasroleproductreader, hasroleproductreaderall, hasroleproductrestrictedreader, missioncode, modelAddAttributes, parametertypes, processinglevels, processingModes, processorclassnames, productarchives, productclasses, productiontypes, productqualities, proseoversion, slicingtypes, spaceCrafts, user, userroles, visibilities, workflows
-
Constructor Details
-
GUIProductClassController
public GUIProductClassController()
-
-
Method Details
-
showProductClass
Show the product class view- Returns:
- the name of the product class view template
-
getProductClasses
@GetMapping("/productclass/get") public org.springframework.web.context.request.async.DeferredResult<String> getProductClasses(@RequestParam(required=false,value="productClass") String productClass, @RequestParam(required=false,value="processorClass") String processorClass, @RequestParam(required=false,value="level") String level, @RequestParam(required=false,value="visibility") String visibility, @RequestParam(required=false,value="sortby") String sortby, @RequestParam(required=false,value="up") Boolean up, @RequestParam(required=false,value="recordFrom") Long recordFrom, @RequestParam(required=false,value="recordTo") Long recordTo, org.springframework.ui.Model model) Fetch and return product classes from the product class manager- Parameters:
productClass- the product classprocessorClass- the processor classlevel- the product levelvisibility- the level of visibilitysortby- the sort columnup- true if the sorting is to happen in ascending orderrecordFrom- the first record to retrieverecordTo- the last record to retrievemodel- the attributes to return- Returns:
- the result
-