BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.beastui.web.controller.BdbTrimCountRoutesController 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="countLimit", required=false) Integer countLimit)
 
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="countLimit", required=false) Integer countLimit, @RequestParam(value="submitButton", required=false) String operation)
 

Protected Member Functions

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

Detailed Description

Manages BdbTrimCountRule instances

Member Function Documentation

◆ createRule()

BdbTrimCountRule eu.baltrad.beastui.web.controller.BdbTrimCountRoutesController.createRule ( Integer countLimit)
inlineprotected

Creates a rule.

Parameters
countLimitthe age limit on the rule
Returns
a BdbTrimCountRule
Exceptions
RuleExceptionif the rule not could be created

◆ modifyRoute()

String eu.baltrad.beastui.web.controller.BdbTrimCountRoutesController.modifyRoute ( Model model,
String name,
String author,
Boolean active,
String description,
Integer countLimit )
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.BdbTrimCountRoutesController.setManager ( IRouterManager manager)
inline

Set the router manager instance


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