| java.lang.Object org.jaffa.components.menu.MainMenu
MainMenu | public class MainMenu (Code) | | MainMenu Class - Reads the XML file containing the Menu Groups and Options
and builds a LinkedHashMap of Groups / Options that the User logged in has
security access to.
author: MegS version: 1.0 |
Constructor Summary | |
public | MainMenu() Default constructor. |
Method Summary | |
public void | determineComp(HttpServletRequest request, PageContext pageContext) Builds the HashMap of the Menu Groups / Options the User logged in has
security access to, if the HashMap hasnt already been built. | public Map | getComponents() Return Map containing list of Groups / Options User logged in has access. | public static void | main(String[] args) | public void | reset() |
MainMenu | public MainMenu()(Code) | | Default constructor.
|
determineComp | public void determineComp(HttpServletRequest request, PageContext pageContext)(Code) | | Builds the HashMap of the Menu Groups / Options the User logged in has
security access to, if the HashMap hasnt already been built.
Parameters: request - The web server request to use for context |
getComponents | public Map getComponents()(Code) | | Return Map containing list of Groups / Options User logged in has access.
Map - Groups and Options User has access to. |
main | public static void main(String[] args)(Code) | | Test that the menu can be read ok
|
reset | public void reset()(Code) | | Reset the HashMap to null
|
|
|