Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.menu.model.raw
Class MenuTreeManager

java.lang.Object
  extended by oracle.apps.fnd.applcore.menu.model.raw.MenuTreeManager
All Implemented Interfaces:
MenuFragmentChangeListener

public class MenuTreeManager
extends java.lang.Object
implements MenuFragmentChangeListener

Manager for the raw menu tree that is maintained on each pillar-specific utility application.


Method Summary
 org.apache.commons.collections.map.MultiKeyMap getHomePageELAttrVals()
          Gets the home page menu's EL attribute values keyed by node ID and attribute name.
 java.util.List<RawMenuNode> getHomePageNodes()
          Gets the list of nodes that make up the home page menu.
 java.util.List<RawMenuNode> getHomePageSecuredNodes()
          Gets the secured nodes belonging to the home page.
static MenuTreeManager getInstance()
          Gets the menu tree manager instance.
 org.apache.commons.collections.map.MultiKeyMap getNavigatorELAttrVals()
          Gets the navigator menu's EL attribute values keyed by node ID and attribute name.
 java.util.List<RawMenuNode> getNavigatorRootNodes()
          Gets the list of root nodes that make up the navigator menu.
 java.util.List<RawMenuNode> getNavigatorSecuredNodes()
          Gets the secured nodes belonging to the navigator.
 org.apache.commons.collections.map.MultiKeyMap getPreferencesELAttrVals()
          Gets the preferences menu's EL attribute values keyed by node ID and attribute name.
 java.util.Map<java.lang.String,RawMenuNode> getPreferencesMap()
          Gets the mapping between web apps and preferences itemNodes.
 java.util.List<RawMenuNode> getPreferencesRootNodes()
          Gets the list of root nodes that make up the preferences menu.
 java.util.List<RawMenuNode> getPreferencesSecuredNodes()
          Gets the secured nodes belonging to preferences.
 java.lang.String getTranslatedValue(java.lang.String bundleDocName, java.lang.String bundleKey, java.lang.String langCode)
          Gets the translated value for a bundle key within a bundle document.
 void menuFragmentChange()
          Listener for fragment manager changes.
 void printNavigatorMenu()
          Test API to print the menu tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

menuFragmentChange

public void menuFragmentChange()
Listener for fragment manager changes. Reparses menu trees for navigator and homepage menus.

Specified by:
menuFragmentChange in interface MenuFragmentChangeListener

getNavigatorRootNodes

public java.util.List<RawMenuNode> getNavigatorRootNodes()
Gets the list of root nodes that make up the navigator menu.

Returns:
the list of root nodes
See Also:
RawMenuNode

getHomePageNodes

public java.util.List<RawMenuNode> getHomePageNodes()
Gets the list of nodes that make up the home page menu.

Returns:
the list of home page nodes
See Also:
RawMenuNode

getPreferencesRootNodes

public java.util.List<RawMenuNode> getPreferencesRootNodes()
Gets the list of root nodes that make up the preferences menu.

Returns:
the list of root nodes
See Also:
RawMenuNode

getPreferencesMap

public java.util.Map<java.lang.String,RawMenuNode> getPreferencesMap()
Gets the mapping between web apps and preferences itemNodes.

Returns:
the map

getNavigatorELAttrVals

public org.apache.commons.collections.map.MultiKeyMap getNavigatorELAttrVals()
Gets the navigator menu's EL attribute values keyed by node ID and attribute name.

Returns:
the EL attribute values

getHomePageELAttrVals

public org.apache.commons.collections.map.MultiKeyMap getHomePageELAttrVals()
Gets the home page menu's EL attribute values keyed by node ID and attribute name.

Returns:
the EL attribute values

getPreferencesELAttrVals

public org.apache.commons.collections.map.MultiKeyMap getPreferencesELAttrVals()
Gets the preferences menu's EL attribute values keyed by node ID and attribute name.

Returns:
the EL attribute values

getNavigatorSecuredNodes

public java.util.List<RawMenuNode> getNavigatorSecuredNodes()
Gets the secured nodes belonging to the navigator.

Returns:
the secured nodes

getHomePageSecuredNodes

public java.util.List<RawMenuNode> getHomePageSecuredNodes()
Gets the secured nodes belonging to the home page.

Returns:
the secured nodes

getPreferencesSecuredNodes

public java.util.List<RawMenuNode> getPreferencesSecuredNodes()
Gets the secured nodes belonging to preferences.

Returns:
the secured nodes

getTranslatedValue

public java.lang.String getTranslatedValue(java.lang.String bundleDocName,
                                           java.lang.String bundleKey,
                                           java.lang.String langCode)
Gets the translated value for a bundle key within a bundle document.

Parameters:
bundleDocName - the name of the bundle doc
bundleKey - the name of the bundle key
langCode - the language code
Returns:
the translated value

printNavigatorMenu

public void printNavigatorMenu()
Test API to print the menu tree.


getInstance

public static MenuTreeManager getInstance()
Gets the menu tree manager instance.

Returns:
the menu tree manager

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.