Package de.dlr.proseo.ui.gui
Class GUIProcessorClassController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIProcessorClassController
A controller for retrieving and handling processor class data
- Author:
- David Mazo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.context.request.async.DeferredResult<String> getProcessorClassName(Long pId, String processorClassName, String productClass, Long recordFrom, Long recordTo, org.springframework.ui.Model model) Get a processor class by nameorg.springframework.http.ResponseEntity<String> handleWebClientResponseException(org.springframework.web.reactive.function.client.WebClientResponseException ex) Handler for web client exceptionsShow the processor 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
-
GUIProcessorClassController
public GUIProcessorClassController()
-
-
Method Details
-
showProcessorClass
Show the processor class view- Returns:
- the name of the processor class view template
-
getProcessorClassName
@GetMapping("/processor-class-show/get") public org.springframework.web.context.request.async.DeferredResult<String> getProcessorClassName(@RequestParam(required=false,value="pid") Long pId, @RequestParam(required=false,value="processorclassName") String processorClassName, @RequestParam(required=false,value="productClass") String productClass, Long recordFrom, Long recordTo, org.springframework.ui.Model model) Get a processor class by name- Parameters:
processorClassName- the processor class name to look formodel- the model to prepare for Thymeleaf- Returns:
- Thymeleaf fragment with result from the query
-
handleWebClientResponseException
@ExceptionHandler(org.springframework.web.reactive.function.client.WebClientResponseException.class) public org.springframework.http.ResponseEntity<String> handleWebClientResponseException(org.springframework.web.reactive.function.client.WebClientResponseException ex) Handler for web client exceptions- Parameters:
ex- the exception to handle- Returns:
- the exception converted into a response entity
-