Class MenuFactory
Object
MenuFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBlogMenu
(String url) Creates the datamodel for the command explanation in the freemarker root.Creates the datamodel for the character sheet in the freemarker root.createWikiMenu
(String url, boolean isDeputy) Looks in all menus that have been created.findVisibleMenu
(String url) Returns the visible menu, based on the URL.Returns the top level menus (and the appropriate sub menus) for displaying purposes.static Menu
static Menu
void
-
Constructor Details
-
MenuFactory
public MenuFactory()
-
-
Method Details
-
getRootMenu
-
getNotFoundMenu
-
findVisibleMenu
-
createBlogMenu
-
createWikiMenu
-
createPersonMenu
Creates the datamodel for the character sheet in the freemarker root.- Returns:
- the appropriate menu
-
createCommandMenu
Creates the datamodel for the command explanation in the freemarker root.- Returns:
- the appropriate menu
-
findMenu
-