Package de.dlr.proseo.ui.gui
Class GUIConfigurationController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIConfigurationController
GUI controller that handles requests related to displaying and retrieving configurations, interacts with the service layer, and
populates the model with the necessary data for rendering the views
- Author:
- David Mazo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.context.request.async.DeferredResult<String> getConfigurations(Long id, String configurationVersion, String processorClass, String productQuality, String processingMode, Long recordFrom, Long recordTo, org.springframework.ui.Model model) Retrieve the configurations of a missionDisplay the configuration show pageMethods 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
-
GUIConfigurationController
public GUIConfigurationController()
-
-
Method Details
-
showConfiguration
Display the configuration show page- Returns:
- the view name for the configuration show page
-
getConfigurations
@GetMapping("/configurations/get") public org.springframework.web.context.request.async.DeferredResult<String> getConfigurations(@RequestParam(required=false,value="id") Long id, @RequestParam(required=false,value="configurationVersion") String configurationVersion, @RequestParam(required=false,value="processorClass") String processorClass, @RequestParam(required=false,value="productQuality") String productQuality, @RequestParam(required=false,value="processingMode") String processingMode, Long recordFrom, Long recordTo, org.springframework.ui.Model model) Retrieve the configurations of a mission- Parameters:
model- The model to hold the datasortby- The sort columnup- The sort direction (true for ascending)- Returns:
- a DeferredResult object representing the result of the asynchronous request
-