Class GUIFacilityController

java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIFacilityController

@Controller public class GUIFacilityController extends GUIBaseController
A controller for retrieving and handling facility data
Author:
David Mazo
  • Constructor Details

    • GUIFacilityController

      public GUIFacilityController()
  • Method Details

    • showFacility

      @GetMapping("/facility-show") public String showFacility()
      Show the facility view
      Returns:
      the name of the facility view template
    • getFacilities

      @GetMapping("/facilities/get") public org.springframework.web.context.request.async.DeferredResult<String> getFacilities(@RequestParam(required=false,value="sortby") String sortby, @RequestParam(required=false,value="up") Boolean up, org.springframework.ui.Model model)
      Retrieve the defined processing facilities
      Parameters:
      sortby - The sort column
      up - The sort direction (true for up)
      model - The model to hold the data
      Returns:
      The deferred result containing the result