Package | Description |
---|---|
org.apache.myfaces.trinidad.component | |
org.apache.myfaces.trinidad.model |
Modifier and Type | Method and Description |
---|---|
protected MenuModel |
UIXNavigationHierarchy.getMenuModel()
gets the MenuModel that this page is displaying.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseMenuModel
A base class which takes a TreeModel.
|
class |
ChildPropertyMenuModel
Creates a MenuModel from a List of beans.
|
class |
ProcessMenuModel
There are two common scenarios for processes,
"Plus One" and "Max Visited" which are explained below.
|
class |
ViewIdPropertyMenuModel
Creates a MenuModel from a TreeModel where nodes in the treeModel contain
viewId information.
|
class |
XMLMenuModel
Creates a Menu Model from a TreeModel where nodes in the treeModel
contain viewId information.
|
Modifier and Type | Method and Description |
---|---|
static MenuModel |
ModelUtils.toMenuModel(Object value)
Converts an instance into a MenuModel
|
Modifier and Type | Method and Description |
---|---|
static Object |
ProcessUtils.getMaxVisitedRowKey(MenuModel model,
String maxPathKey)
Get the rowKey of the max visited node in the respective process.
|
static boolean |
ProcessUtils.isImmediate(MenuModel model,
boolean defaultReturnValue)
Determines immediate for a "plus one" process.
|
static boolean |
ProcessUtils.isImmediate(MenuModel model,
Object maxVisitedRowKey,
boolean defaultReturnValue)
Determines immediate for a "max visited" process.
|
static boolean |
ProcessUtils.isReadOnly(MenuModel model,
boolean defaultReturnValue)
Determines readOnly for a "plus one" process.
|
static boolean |
ProcessUtils.isReadOnly(MenuModel model,
Object maxVisitedRowKey,
boolean defaultReturnValue)
Determines readOnly for a "max visited" process.
|
static boolean |
ProcessUtils.isVisited(MenuModel model,
boolean defaultReturnValue)
For the Plus One case, a stop is considered visited if,
- it's before the current or,
- is the current stop itself
|
static boolean |
ProcessUtils.isVisited(MenuModel model,
Object maxVisitedRowKey,
boolean defaultReturnValue)
For the Max Visited case, a stop is considered visited if
- a stop is before the active stop
- or is the active stop
|
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.