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

Public Member Functions

 AcrrRoutesController ()
 
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="hours", required=false) Integer hours, @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="applygra", required=false) Boolean applygra, @RequestParam(value="productid", required=false) String productid, @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="hours", required=false) Integer hours, @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="applygra", required=false) Boolean applygra, @RequestParam(value="productid", required=false) String productid, @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 hours, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Boolean applygra, String productid, 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 hours, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Boolean applygra, String productid, 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 hours, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Boolean applygra, String productid, 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 hours, Integer filesPerHour, Integer acceptableLoss, String distanceField, Double zrA, Double zrB, Boolean applygra, String productid, String jsonFilter, String emessage, String jsppagename)
 
String viewShowRoutes (Model model, String emessage)
 
AcrrRule createRule (String area, String object_type, String quantity, int hours, int filesPerHour, int acceptableLoss, String distanceField, double zrA, double zrB, boolean applygra, String productid, String jsonFilter)
 

Detailed Description

Manages the acrr routes and routing rules.

Author
Anders Henja

Constructor & Destructor Documentation

◆ AcrrRoutesController()

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

Default constructor

Member Function Documentation

◆ createRule()

AcrrRule eu.baltrad.beastui.web.controller.AcrrRoutesController.createRule ( String area,
String object_type,
String quantity,
int hours,
int filesPerHour,
int acceptableLoss,
String distanceField,
double zrA,
double zrB,
boolean applygra,
String productid,
String jsonFilter )
inlineprotected

Creates an ACRR rule

◆ modifyRoute()

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

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

◆ setAdaptorManager()

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

◆ setManager()

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

◆ setPgfClientHelper()

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

◆ showRoute()

String eu.baltrad.beastui.web.controller.AcrrRoutesController.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="hours", required=false) Integer hours,
@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="applygra", required=false) Boolean applygra,
@RequestParam(value="productid", required=false) String productid,
@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.AcrrRoutesController.viewCreateRoute ( Model model,
String name,
String author,
Boolean active,
String description,
List< String > recipients,
String area,
String object_type,
String quantity,
Integer hours,
Integer filesPerHour,
Integer acceptableLoss,
String distanceField,
Double zrA,
Double zrB,
Boolean applygra,
String productid,
String jsonFilter,
String emessage )
inlineprotected

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

◆ viewRoute()

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

Sets the model with provided attributes

◆ viewShowRoute()

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

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

◆ viewShowRoutes()

String eu.baltrad.beastui.web.controller.AcrrRoutesController.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: