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

Public Member Functions

 GraRoutesController ()
 
void setManager (IRouterManager manager)
 
void setAdaptorManager (IBltAdaptorManager adaptormanager)
 
void setPgfClientHelper (IPgfClientHelper pgfClientHelper)
 
String createRoute (Model model, @RequestParam(value="name", required=false) String name, @RequestParam(value="author", required=false) String author, @RequestParam(value="active", required=false) Boolean active, @RequestParam(value="description", required=false) String description, @RequestParam(value="recipients", required=false) List< String > recipients, @RequestParam(value="area", required=false) String area, @RequestParam(value="object_type", required=false) String object_type, @RequestParam(value="quantity", required=false) String quantity, @RequestParam(value="filesPerHour", required=false) Integer filesPerHour, @RequestParam(value="acceptableLoss", required=false) Integer acceptableLoss, @RequestParam(value="distanceField", required=false) String distanceField, @RequestParam(value="zrA", required=false) Double zrA, @RequestParam(value="zrB", required=false) Double zrB, @RequestParam(value="firstTermUTC", required=false) Integer firstTermUTC, @RequestParam(value="interval", required=false) Integer interval, @RequestParam(value="filterJson", required=false) String filterJson)
 
String showRoute (Model model, @RequestParam(value="name", required=false) String name, @RequestParam(value="author", required=false) String author, @RequestParam(value="active", required=false) Boolean active, @RequestParam(value="description", required=false) String description, @RequestParam(value="recipients", required=false) List< String > recipients, @RequestParam(value="area", required=false) String area, @RequestParam(value="object_type", required=false) String object_type, @RequestParam(value="quantity", required=false) String quantity, @RequestParam(value="filesPerHour", required=false) Integer filesPerHour, @RequestParam(value="acceptableLoss", required=false) Integer acceptableLoss, @RequestParam(value="distanceField", required=false) String distanceField, @RequestParam(value="zrA", required=false) Double zrA, @RequestParam(value="zrB", required=false) Double zrB, @RequestParam(value="firstTermUTC", required=false) Integer firstTermUTC, @RequestParam(value="interval", required=false) Integer interval, @RequestParam(value="filterJson", required=false) String filterJson, @RequestParam(value="submitButton", required=false) String operation)
 

Protected Member Functions

String modifyRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String area, String object_type, String quantity, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Integer firstTermUTC, Integer interval, String filterJson)
 
String viewCreateRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String area, String object_type, String quantity, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Integer firstTermUTC, Integer interval, String jsonFilter, String emessage)
 
String viewShowRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String area, String object_type, String quantity, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Integer firstTermUTC, Integer interval, String jsonFilter, String emessage)
 
String viewRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String area, String object_type, String quantity, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Integer firstTermUTC, Integer interval, String jsonFilter, String emessage, String jsppagename)
 
String viewShowRoutes (Model model, String emessage)
 
GraRule createRule (String area, String object_type, String quantity, int filesPerHour, int acceptableLoss, String distanceField, double zrA, double zrB, int firstTermUTC, int interval, String jsonFilter)
 

Detailed Description

Manages the gra routes and routing rules.

Author
Anders Henja

Constructor & Destructor Documentation

◆ GraRoutesController()

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

Default constructor

Member Function Documentation

◆ createRule()

GraRule eu.baltrad.beastui.web.controller.GraRoutesController.createRule ( String area,
String object_type,
String quantity,
int filesPerHour,
int acceptableLoss,
String distanceField,
double zrA,
double zrB,
int firstTermUTC,
int interval,
String jsonFilter )
inlineprotected

Creates an GRA rule

◆ modifyRoute()

String eu.baltrad.beastui.web.controller.GraRoutesController.modifyRoute ( Model model,
String name,
String author,
Boolean active,
String description,
List< String > recipients,
String area,
String object_type,
String quantity,
Integer filesPerHour,
Integer acceptableLoss,
String distanceField,
Double zrA,
Double zrB,
Integer firstTermUTC,
Integer interval,
String filterJson )
inlineprotected

Executes the actual update (modification) of the ACRR rule.

◆ setAdaptorManager()

void eu.baltrad.beastui.web.controller.GraRoutesController.setAdaptorManager ( IBltAdaptorManager adaptormanager)
inline
Parameters
adaptormanagerthe adaptor manager to set

◆ setManager()

void eu.baltrad.beastui.web.controller.GraRoutesController.setManager ( IRouterManager manager)
inline
Parameters
managerthe manager to set

◆ setPgfClientHelper()

void eu.baltrad.beastui.web.controller.GraRoutesController.setPgfClientHelper ( IPgfClientHelper pgfClientHelper)
inline
Parameters
pgfClientHelperthe pgf client helpler

◆ showRoute()

String eu.baltrad.beastui.web.controller.GraRoutesController.showRoute ( Model model,
@RequestParam(value="name", required=false) String name,
@RequestParam(value="author", required=false) String author,
@RequestParam(value="active", required=false) Boolean active,
@RequestParam(value="description", required=false) String description,
@RequestParam(value="recipients", required=false) List< String > recipients,
@RequestParam(value="area", required=false) String area,
@RequestParam(value="object_type", required=false) String object_type,
@RequestParam(value="quantity", required=false) String quantity,
@RequestParam(value="filesPerHour", required=false) Integer filesPerHour,
@RequestParam(value="acceptableLoss", required=false) Integer acceptableLoss,
@RequestParam(value="distanceField", required=false) String distanceField,
@RequestParam(value="zrA", required=false) Double zrA,
@RequestParam(value="zrB", required=false) Double zrB,
@RequestParam(value="firstTermUTC", required=false) Integer firstTermUTC,
@RequestParam(value="interval", required=false) Integer interval,
@RequestParam(value="filterJson", required=false) String filterJson,
@RequestParam(value="submitButton", required=false) String operation )
inline

Handles presentation, deletion and modification of an ACRR route

◆ viewCreateRoute()

String eu.baltrad.beastui.web.controller.GraRoutesController.viewCreateRoute ( Model model,
String name,
String author,
Boolean active,
String description,
List< String > recipients,
String area,
String object_type,
String quantity,
Integer filesPerHour,
Integer acceptableLoss,
String distanceField,
Double zrA,
Double zrB,
Integer firstTermUTC,
Integer interval,
String jsonFilter,
String emessage )
inlineprotected

Sets the model and returns the jsp-page to show for the create gra route page

◆ viewRoute()

String eu.baltrad.beastui.web.controller.GraRoutesController.viewRoute ( Model model,
String name,
String author,
Boolean active,
String description,
List< String > recipients,
String area,
String object_type,
String quantity,
Integer filesPerHour,
Integer acceptableLoss,
String distanceField,
Double zrA,
Double zrB,
Integer firstTermUTC,
Integer interval,
String jsonFilter,
String emessage,
String jsppagename )
inlineprotected

Sets the model with provided attributes

◆ viewShowRoute()

String eu.baltrad.beastui.web.controller.GraRoutesController.viewShowRoute ( Model model,
String name,
String author,
Boolean active,
String description,
List< String > recipients,
String area,
String object_type,
String quantity,
Integer filesPerHour,
Integer acceptableLoss,
String distanceField,
Double zrA,
Double zrB,
Integer firstTermUTC,
Integer interval,
String jsonFilter,
String emessage )
inlineprotected

Sets the model and returns the jsp-page to show for the show gra route page

◆ viewShowRoutes()

String eu.baltrad.beastui.web.controller.GraRoutesController.viewShowRoutes ( Model model,
String emessage )
inlineprotected

Shows the routes view

Parameters
modelthe model
emessagethe error message if any
Returns
"routes"

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