|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.model.DataModel org.apache.myfaces.trinidad.model.CollectionModel org.apache.myfaces.trinidad.model.TreeModel org.apache.myfaces.trinidad.model.MenuModel org.apache.myfaces.trinidad.model.BaseMenuModel oracle.apps.fnd.applcore.patterns.uishell.model.DistributedMenuModel
public class DistributedMenuModel
Distributed Menu Model that's used for rendering Navigator Menu, and/or Home Page Tabs, and/or Preferences Menu.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.myfaces.trinidad.model.LocalRowKeyIndex |
---|
org.apache.myfaces.trinidad.model.LocalRowKeyIndex.Confidence, org.apache.myfaces.trinidad.model.LocalRowKeyIndex.LocalCachingStrategy |
Constructor Summary | |
---|---|
DistributedMenuModel(java.util.List<SimpleMenuNode> simpleNodes)
Constructs a DistributedMenuModel. |
|
DistributedMenuModel(java.util.List<SimpleMenuNode> simpleNodes,
boolean secured)
Constructs a DistributedMenuModel. |
Method Summary | |
---|---|
java.lang.Object |
getCustomProperty(java.lang.Object node,
java.lang.String propName)
Gets the list of custom properties from the node and returns the value of propName. |
java.lang.Object |
getFocusRowKey()
Returns the rowKey to the current viewId, or in the case of where the model has nodes with duplicate viewId's and one is encountered, we return the rowKey of the currently selected node. |
java.lang.Object |
getNode(java.lang.String id)
Get a the MenuNode corresponding to the key "id" from the node id hashmap. |
java.util.Map<java.lang.String,java.util.List<java.lang.Object>> |
getViewIdFocusPathMap()
Get the Model's viewIdFocusPathMap |
void |
setWrappedData(java.lang.Object data)
Makes the TreeModel part of the menu model. |
Methods inherited from class org.apache.myfaces.trinidad.model.BaseMenuModel |
---|
enterContainer, exitContainer, getContainerRowKey, getRowCount, getRowData, getRowIndex, getRowKey, getWrappedData, isContainer, isRowAvailable, setRowIndex, setRowKey |
Methods inherited from class org.apache.myfaces.trinidad.model.TreeModel |
---|
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, getAllAncestorContainerRowKeys, getContainerRowKey, getDepth, getDepth, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isContainerEmpty |
Methods inherited from class org.apache.myfaces.trinidad.model.CollectionModel |
---|
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowData, getSortCriteria, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, setSortCriteria |
Methods inherited from class javax.faces.model.DataModel |
---|
addDataModelListener, getDataModelListeners, removeDataModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistributedMenuModel(java.util.List<SimpleMenuNode> simpleNodes)
simpleNodes
- The client side will need to call MenuModelService.getSimpleNodeList()
to get the List of SimpleMenuNode. Then, use the list for creating
an instance of DistributedMenuModel.public DistributedMenuModel(java.util.List<SimpleMenuNode> simpleNodes, boolean secured)
simpleNodes
- The client side will need to call MenuModelService.getSimpleNodeList()
to get the List of SimpleMenuNode. Then, use the list for creating
an instance of DistributedMenuModel.secured
- a boolean to indicate if this is called by constructing a secured
DistributedMenuModel, or non-secured. When it's non-secured,
we do not remove nodes that do not have matching webApp entries
in FND_DEPLOYMENTS.Method Detail |
---|
public void setWrappedData(java.lang.Object data)
setWrappedData
in class org.apache.myfaces.trinidad.model.BaseMenuModel
data
- The Tree Model instancepublic java.lang.Object getFocusRowKey()
The getFocusRowKey method
getFocusRowKey
in class org.apache.myfaces.trinidad.model.MenuModel
public java.lang.Object getNode(java.lang.String id)
id
- - String node id key for the hashmap entry.
public java.lang.Object getCustomProperty(java.lang.Object node, java.lang.String propName)
node
- Object used to get its list of custom propertiespropName
- String name of the property whose value is desired
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getViewIdFocusPathMap()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |