Package de.dlr.proseo.ui.gui
Class GUITriggerController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUITriggerController
A controller for retrieving and handling triggers
- Author:
- Ernst Melchinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.context.request.async.DeferredResult<String> getTriggers(String type, String name, String workflow, String inputProductClass, String outputProductClass, Long recordFrom, Long recordTo, Long currentPage, Long pageSize, String sortby, Boolean up, org.springframework.ui.Model model) Fetch and return triggers from the processor managerShow the trigger 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
-
GUITriggerController
public GUITriggerController()
-
-
Method Details
-
showTrigger
Show the trigger view- Returns:
- the name of the trigger view template
-
getTriggers
@GetMapping("/trigger/get") public org.springframework.web.context.request.async.DeferredResult<String> getTriggers(@RequestParam(required=false,value="type") String type, @RequestParam(required=false,value="name") String name, @RequestParam(required=false,value="workflow") String workflow, @RequestParam(required=false,value="inputProductClass") String inputProductClass, @RequestParam(required=false,value="outputProductClass") String outputProductClass, @RequestParam(required=false,value="recordFrom") Long recordFrom, @RequestParam(required=false,value="recordTo") Long recordTo, @RequestParam(required=false,value="currentPage") Long currentPage, @RequestParam(required=false,value="pageSize") Long pageSize, @RequestParam(required=false,value="sortby") String sortby, @RequestParam(required=false,value="up") Boolean up, org.springframework.ui.Model model) Fetch and return triggers from the processor manager- Parameters:
name- the workflow nameinputProductClass- the input product classrecordFrom- the first record to retrieverecordTo- the last record to retrievecurrentPage- the current page (needed for paging logic)pageSize- the page size (needed for paging logic)model- the attributes to returnid- the workflow idworkflowVersion- the workflow version- Returns:
- the result
-