Package de.dlr.proseo.ui.gui
Class GUIWorkflowController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
de.dlr.proseo.ui.gui.GUIWorkflowController
A controller for retrieving and handling workflows
- Author:
- Katharina Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.context.request.async.DeferredResult<String> getWorkflows(Long id, String name, String workflowVersion, String inputProductClass, Long recordFrom, Long recordTo, Long currentPage, Long pageSize, String sortby, Boolean up, org.springframework.ui.Model model) Fetch and return workflows from the processor managerShow the workflow 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
-
GUIWorkflowController
public GUIWorkflowController()
-
-
Method Details
-
showWorkflow
Show the workflow view- Returns:
- the name of the workflow view template
-
getWorkflows
@GetMapping("/workflow/get") public org.springframework.web.context.request.async.DeferredResult<String> getWorkflows(@RequestParam(required=false,value="id") Long id, @RequestParam(required=false,value="name") String name, @RequestParam(required=false,value="workflowVersion") String workflowVersion, @RequestParam(required=false,value="inputProductClass") String inputProductClass, @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 workflows from the processor manager- Parameters:
id- the workflow idname- the workflow nameworkflowVersion- the workflow versioninputProductClass- 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 return- Returns:
- the result
-