BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.beastui.web.controller.AnomalyDetectorController Class Reference

Public Member Functions

 AnomalyDetectorController ()
 
void setManager (IAnomalyDetectorManager manager)
 
void setPgfClientHelper (IPgfClientHelper pgfClient)
 
String showAnomalyDetectors (Model model, @RequestParam(value="emessage", required=false) String emessage)
 
String createAnomalyDetector (Model model, @RequestParam(value="name", required=false) String name, @RequestParam(value="description", required=false) String description, @RequestParam(value="submitButton", required=false) String op)
 
String showAnomalyDetector (Model model, @RequestParam("name") String name)
 
String modifyAnomalyDetector (Model model, @RequestParam("name") String name, @RequestParam("description") String description, @RequestParam(value="submitButton") String operation)
 
String importAnomalyDetectors (Model model, @RequestParam(value="imported", required=false) String[] imported)
 

Protected Member Functions

QualityControlInformation getQCI (List< QualityControlInformation > qcs, String name)
 
boolean hasDetector (List< AnomalyDetector > ads, String name)
 
AnomalyDetector createDetector (String name, String description)
 

Detailed Description

Controller for managing the anomaly detectors

Author
Anders Henja

Constructor & Destructor Documentation

◆ AnomalyDetectorController()

eu.baltrad.beastui.web.controller.AnomalyDetectorController.AnomalyDetectorController ( )
inline

Default constructor

Member Function Documentation

◆ createAnomalyDetector()

String eu.baltrad.beastui.web.controller.AnomalyDetectorController.createAnomalyDetector ( Model model,
@RequestParam(value="name", required=false) String name,
@RequestParam(value="description", required=false) String description,
@RequestParam(value="submitButton", required=false) String op )
inline

Shows the page for creating anomaly detectors

Parameters
modelthe model to fill
namethe name of the anomaly detector
descriptionthe description of the anomaly detector
opthe operation, Add is currently only supported
Returns
the jsp page that handles this model

◆ createDetector()

AnomalyDetector eu.baltrad.beastui.web.controller.AnomalyDetectorController.createDetector ( String name,
String description )
inlineprotected

Creates an anomaly detector

Parameters
namethe name of the detector
descriptionthe description
Returns
the anomaly detector

◆ modifyAnomalyDetector()

String eu.baltrad.beastui.web.controller.AnomalyDetectorController.modifyAnomalyDetector ( Model model,
@RequestParam("name") String name,
@RequestParam("description") String description,
@RequestParam(value="submitButton") String operation )
inline

Handles the modification request

Parameters
modelthe model for this page
namethe name of the anomaly detector to modify
descriptionthe description
operationthe operation, either Modify or Delete
Returns
the jsp page or a redirection url

◆ setManager()

void eu.baltrad.beastui.web.controller.AnomalyDetectorController.setManager ( IAnomalyDetectorManager manager)
inline
Parameters
managerthe anomaly detector manager

◆ showAnomalyDetector()

String eu.baltrad.beastui.web.controller.AnomalyDetectorController.showAnomalyDetector ( Model model,
@RequestParam("name") String name )
inline

Shows the page for displaying one anomaly detector

Parameters
modelthe model for this page
namethe name of the anomaly detector to show
Returns
the jsp page that handles this model

◆ showAnomalyDetectors()

String eu.baltrad.beastui.web.controller.AnomalyDetectorController.showAnomalyDetectors ( Model model,
@RequestParam(value="emessage", required=false) String emessage )
inline

Shows the list of anomaly detectors

Parameters
modelthe model to fill
emessagea error message if any
Returns
the jsp page that handles the model

The documentation for this class was generated from the following file: