|
| | GoogleMapRoutesController () |
| |
| 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="areapath", required=false) Boolean useAreaInPath, @RequestParam(value="path", required=false) String path, @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="areapath", required=false) Boolean areapath, @RequestParam(value="path", required=false) String path, @RequestParam(value="filterJson", required=false) String filterJson, @RequestParam(value="submitButton", required=false) String operation) |
| |
|
| String | modifyRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String area, Boolean useAreaInPath, String path, String filterJson) |
| |
| GoogleMapRule | createRule (String area, boolean useAreaInPath, String path, String jsonFilter) |
| |
| String | viewShowRoutes (Model model, String emessage) |
| |
| String | viewCreateRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String area, Boolean useAreaInPath, String path, String jsonFilter, String emessage) |
| |
| String | viewShowRoute (Model model, String name, String author, Boolean active, String description, List< String > recipients, String area, Boolean useAreaInPath, String path, String jsonFilter, String emessage) |
| |
Manages the google maps routes and routing rules.
- Author
- Anders Henja
◆ GoogleMapRoutesController()
| eu.baltrad.beastui.web.controller.GoogleMapRoutesController.GoogleMapRoutesController |
( |
| ) |
|
|
inline |
◆ createRoute()
| String eu.baltrad.beastui.web.controller.GoogleMapRoutesController.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="areapath", required=false) Boolean | useAreaInPath, |
|
|
@RequestParam(value="path", required=false) String | path, |
|
|
@RequestParam(value="filterJson", required=false) String | filterJson ) |
|
inline |
Invoked when creating a route.
- Parameters
-
| model | the model |
| name | the name of the route to create |
| author | the author |
| active | if active or not |
| description | the description |
| recipients | at least one |
| area | the area identifier |
| path | the path |
- Returns
◆ createRule()
| GoogleMapRule eu.baltrad.beastui.web.controller.GoogleMapRoutesController.createRule |
( |
String | area, |
|
|
boolean | useAreaInPath, |
|
|
String | path, |
|
|
String | jsonFilter ) |
|
inlineprotected |
Creates a rule.
- Parameters
-
| area | the area id |
| path | the path |
- Returns
- a google map rule
- Exceptions
-
| RuleException | if the google map rule not could be created |
◆ modifyRoute()
| String eu.baltrad.beastui.web.controller.GoogleMapRoutesController.modifyRoute |
( |
Model | model, |
|
|
String | name, |
|
|
String | author, |
|
|
Boolean | active, |
|
|
String | description, |
|
|
List< String > | recipients, |
|
|
String | area, |
|
|
Boolean | useAreaInPath, |
|
|
String | path, |
|
|
String | filterJson ) |
|
inlineprotected |
Modifies the route if possible
- Parameters
-
| model | the model |
| name | the name of the route |
| author | the author |
| active | if active or not |
| description | the description |
| recipients | the recipients |
| area | the area |
| path | the path |
- Returns
- html page directive
◆ setAdaptorManager()
| void eu.baltrad.beastui.web.controller.GoogleMapRoutesController.setAdaptorManager |
( |
IBltAdaptorManager | adaptormanager | ) |
|
|
inline |
Sets the adaptor manager
- Parameters
-
◆ setManager()
| void eu.baltrad.beastui.web.controller.GoogleMapRoutesController.setManager |
( |
IRouterManager | manager | ) |
|
|
inline |
Sets the router manager instance
- Parameters
-
◆ setPgfClientHelper()
| void eu.baltrad.beastui.web.controller.GoogleMapRoutesController.setPgfClientHelper |
( |
IPgfClientHelper | pgfClientHelper | ) |
|
|
inline |
- Parameters
-
| pgfClientHelper | the pgf client helpler |
◆ showRoute()
| String eu.baltrad.beastui.web.controller.GoogleMapRoutesController.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="areapath", required=false) Boolean | areapath, |
|
|
@RequestParam(value="path", required=false) String | path, |
|
|
@RequestParam(value="filterJson", required=false) String | filterJson, |
|
|
@RequestParam(value="submitButton", required=false) String | operation ) |
|
inline |
Initiated when showing a route
- Parameters
-
| model | |
| name | |
| author | |
| active | |
| description | |
| recipients | |
| area | |
| path | |
| operation | |
- Returns
◆ viewCreateRoute()
| String eu.baltrad.beastui.web.controller.GoogleMapRoutesController.viewCreateRoute |
( |
Model | model, |
|
|
String | name, |
|
|
String | author, |
|
|
Boolean | active, |
|
|
String | description, |
|
|
List< String > | recipients, |
|
|
String | area, |
|
|
Boolean | useAreaInPath, |
|
|
String | path, |
|
|
String | jsonFilter, |
|
|
String | emessage ) |
|
inlineprotected |
Setups the google map create view
- Parameters
-
| model | the model |
| name | the name of the rule |
| author | the authoer |
| active | if active or not |
| description | description about the rule |
| recipients | the recipients |
| area | the area identifier |
| path | the path |
| emessage | |
- Returns
- googlemaproute_create
◆ viewShowRoute()
| String eu.baltrad.beastui.web.controller.GoogleMapRoutesController.viewShowRoute |
( |
Model | model, |
|
|
String | name, |
|
|
String | author, |
|
|
Boolean | active, |
|
|
String | description, |
|
|
List< String > | recipients, |
|
|
String | area, |
|
|
Boolean | useAreaInPath, |
|
|
String | path, |
|
|
String | jsonFilter, |
|
|
String | emessage ) |
|
inlineprotected |
The view for showing a gmap route rule
- Parameters
-
| model | the model |
| name | the name of the rule |
| author | the authoer |
| active | if active or not |
| description | description about the rule |
| recipients | the recipients |
| area | the area identifier |
| path | the path |
| emessage | |
- Returns
- googlemaproute_show
◆ viewShowRoutes()
| String eu.baltrad.beastui.web.controller.GoogleMapRoutesController.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/GoogleMapRoutesController.java