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

Public Member Functions

void setManager (IRouterManager manager)
 
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="ageLimit", required=false) Integer ageLimit)
 
String showRoute (Model model, @RequestParam(value="name", required=true) 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="ageLimit", required=false) Integer ageLimit, @RequestParam(value="submitButton", required=false) String operation)
 

Protected Member Functions

String viewCreateRoute (Model model, String name, String author, Boolean active, String description, Integer ageLimit, String emessage)
 
String viewShowRoutes (Model model, String emessage)
 
String viewShowRoute (Model model, String name, String author, Boolean active, String description, Integer ageLimit, String emessage)
 
BdbTrimAgeRule createRule (Integer ageLimit)
 
String modifyRoute (Model model, String name, String author, Boolean active, String description, Integer ageLimit)
 

Detailed Description

Manages BdbTrimAgeRule instances

Member Function Documentation

◆ createRule()

BdbTrimAgeRule eu.baltrad.beastui.web.controller.BdbTrimAgeRoutesController.createRule ( Integer ageLimit)
inlineprotected

Creates a rule.

Parameters
ageLimitthe age limit on the rule
Returns
a BdbTrimAgeRule
Exceptions
RuleExceptionif the rule not could be created

◆ modifyRoute()

String eu.baltrad.beastui.web.controller.BdbTrimAgeRoutesController.modifyRoute ( Model model,
String name,
String author,
Boolean active,
String description,
Integer ageLimit )
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
scriptthe script
Returns
the redirection string

◆ setManager()

void eu.baltrad.beastui.web.controller.BdbTrimAgeRoutesController.setManager ( IRouterManager manager)
inline

Set the router manager instance


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