|
| GroovyRoutesController () |
|
void | setManager (IRouterManager manager) |
|
void | setAdaptorManager (IBltAdaptorManager adaptormanager) |
|
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="typdef", required=false) String typdef) |
|
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="recipients", required=false) List< String > recipients, @RequestParam(value="typdef", required=false) String typdef, @RequestParam(value="submitButton", required=false) String operation) |
|
|
String | viewCreateRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String definition, String emessage) |
|
String | viewShowRoutes (Model model, String emessage) |
|
String | viewShowRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String definition, String emessage) |
|
GroovyRule | createRule (String script) |
|
String | modifyRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String script) |
|
Manages the groovy routes and routing rules.
- Author
- Anders Henja
◆ GroovyRoutesController()
eu.baltrad.beastui.web.controller.GroovyRoutesController.GroovyRoutesController |
( |
| ) |
|
|
inline |
◆ createRule()
GroovyRule eu.baltrad.beastui.web.controller.GroovyRoutesController.createRule |
( |
String | script | ) |
|
|
inlineprotected |
Creates a rule.
- Parameters
-
- Returns
- a groovy rule
- Exceptions
-
RuleException | if groovy rule not could be created from script |
◆ modifyRoute()
String eu.baltrad.beastui.web.controller.GroovyRoutesController.modifyRoute |
( |
Model | model, |
|
|
String | name, |
|
|
String | author, |
|
|
Boolean | active, |
|
|
String | description, |
|
|
List< String > | recipients, |
|
|
String | script ) |
|
inlineprotected |
Modifies an existing route
- Parameters
-
model | the model |
name | the name of the route definition |
author | the author |
active | if route is active or not |
description | the description of the route |
recipients | the recipients |
script | the script |
- Returns
- the redirection string
◆ setAdaptorManager()
void eu.baltrad.beastui.web.controller.GroovyRoutesController.setAdaptorManager |
( |
IBltAdaptorManager | adaptormanager | ) |
|
|
inline |
Sets the adaptor manager
- Parameters
-
◆ setManager()
void eu.baltrad.beastui.web.controller.GroovyRoutesController.setManager |
( |
IRouterManager | manager | ) |
|
|
inline |
Sets the router manager instance
- Parameters
-
◆ viewCreateRoute()
String eu.baltrad.beastui.web.controller.GroovyRoutesController.viewCreateRoute |
( |
Model | model, |
|
|
String | name, |
|
|
String | author, |
|
|
Boolean | active, |
|
|
String | description, |
|
|
List< String > | recipients, |
|
|
String | definition, |
|
|
String | emessage ) |
|
inlineprotected |
Shows the createroute view.
- Parameters
-
model | the model |
name | the name |
author | the author |
active | if active or not |
description | the description |
recipients | the recipients |
definition | the definition |
emessage | an error message |
- Returns
- "showroute"
◆ viewShowRoute()
String eu.baltrad.beastui.web.controller.GroovyRoutesController.viewShowRoute |
( |
Model | model, |
|
|
String | name, |
|
|
String | author, |
|
|
Boolean | active, |
|
|
String | description, |
|
|
List< String > | recipients, |
|
|
String | definition, |
|
|
String | emessage ) |
|
inlineprotected |
Shows the showroute view.
- Parameters
-
model | the model |
name | the name |
author | the author |
active | if active or not |
description | the description |
recipients | the recipients |
definition | the definition |
emessage | an error message |
- Returns
- "showroute"
◆ viewShowRoutes()
String eu.baltrad.beastui.web.controller.GroovyRoutesController.viewShowRoutes |
( |
Model | model, |
|
|
String | emessage ) |
|
inlineprotected |
Shows the routes view
- Parameters
-
model | the model |
emessage | the error message if any |
- Returns
- "routes"
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/beastui/web/controller/GroovyRoutesController.java