|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MenuModel | |
---|---|
org.apache.myfaces.trinidad.component | |
org.apache.myfaces.trinidad.model |
Uses of MenuModel in org.apache.myfaces.trinidad.component |
---|
Methods in org.apache.myfaces.trinidad.component that return MenuModel | |
---|---|
protected MenuModel |
UIXNavigationHierarchy.getMenuModel()
gets the MenuModel that this page is displaying. |
Uses of MenuModel in org.apache.myfaces.trinidad.model |
---|
Subclasses of MenuModel in org.apache.myfaces.trinidad.model | |
---|---|
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. |
Methods in org.apache.myfaces.trinidad.model that return MenuModel | |
---|---|
static MenuModel |
ModelUtils.toMenuModel(Object value)
Converts an instance into a MenuModel |
Methods in org.apache.myfaces.trinidad.model with parameters of type MenuModel | |
---|---|
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 |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |