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

Public Member Functions

 ScansunRoutesController ()
 
void setManager (IRouterManager manager)
 
void setAdaptorManager (IBltAdaptorManager adaptormanager)
 
void setRuleUtilities (IRuleUtilities utils)
 
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="sources", required=false) List< String > sources)
 
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="sources", required=false) List< String > sources, @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, List< String > sources)
 
String viewShowRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, List< String > sources, String emessage)
 
String viewShowRoutes (Model model, String emessage)
 
String viewCreateRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, List< String > sources, String emessage)
 

Detailed Description

Author
Anders Henja

Constructor & Destructor Documentation

◆ ScansunRoutesController()

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

Default constructor

Member Function Documentation

◆ modifyRoute()

String eu.baltrad.beastui.web.controller.ScansunRoutesController.modifyRoute ( Model model,
String name,
String author,
Boolean active,
String description,
List< String > recipients,
List< String > sources )
inlineprotected

Modifies an existing route

Parameters
modelthe model
namethe name of the route definition
authorthe author
activeif route is active or not
descriptionthe description of the route
recipientsthe recipients
scriptthe script
Returns
the redirection string

◆ setAdaptorManager()

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

◆ setManager()

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

◆ setRuleUtilities()

void eu.baltrad.beastui.web.controller.ScansunRoutesController.setRuleUtilities ( IRuleUtilities utils)
inline
Parameters
templatethe jdbc operations to set

◆ viewShowRoutes()

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