Klasse GUIProductController

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

@Controller public class GUIProductController extends GUIBaseController
A controller for retrieving and handling products
Autor:
David Mazo
  • Konstruktordetails

    • GUIProductController

      public GUIProductController()
  • Methodendetails

    • showProduct

      @RequestMapping("/product-show") public String showProduct()
      Show the product view
      Gibt zurück:
      the name of the product view template
    • showProductFile

      @RequestMapping("/productfile-show") public String 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 id
      productClass - the product class
      mode - the processing mode
      fileClass - the file class
      quality - the product quality
      startTimeFrom - the earliest permitted start time
      startTimeTo - the latest permitted start time
      genTimeFrom - the earliest permitted generation time
      genTimeTo - the latest permitted generation time
      recordFrom - the first record to retrieve
      recordTo - the last record to retrieve
      jobStepId - the job step id
      sortby - the sort column
      up - true if the sorting order is to be ascending
      model - 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 null
      sortby - The sort column
      up - The sort direction (true for up)
      model - The model to hold the data
      Gibt zurück:
      The result