Modifier and Type | Method and Description |
---|---|
protected MenuItem |
ContentAutoNav.addNode(MenuItem parent,
C node,
List<MenuItem> children) |
MenuItem |
ContentAutoNav.getGeneratedMenuItem(Object... params) |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
ContentAutoNav.addNode(MenuItem parent,
C node,
List<MenuItem> children) |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
ContentAutoNav.addNode(MenuItem parent,
C node,
List<MenuItem> children) |
Modifier and Type | Class and Description |
---|---|
class |
MenuItemToLinks<M extends MenuItem<M>,L extends FeedItem>
|
Modifier and Type | Class and Description |
---|---|
class |
MenuItemToSiteMapItems<M extends MenuItem<M>> |
Modifier and Type | Method and Description |
---|---|
CharSequence |
IClientScriptMenuAdapter.getUrl(MenuItem menuItem)
Get the URL String or null (Convert MenuItem to URL)
|
CharSequence |
IClientMenuAdapter.getUrl(MenuItem menuItem)
Get the URL String or null (Convert MenuItem to URL)
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
TigraDHTMLMenu.getUrl(MenuItem menuItem)
Get the URL String or null (Convert MenuItem to URL)
|
Modifier and Type | Class and Description |
---|---|
class |
MenuItem<M extends MenuItem>
Represents a Generic Menu Item.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthorizableMenuItem
A
MenuItem with Permissions |
class |
AuthorizedRollOverMenuItem
Deprecated.
as
RollOverMenuItem is also deprecated. Use AuthorizableMenuItem |
class |
AutoGenMenuItem
|
class |
RollOverMenuItem<M extends RollOverMenuItem>
Deprecated.
As this maintains STATE related info and for most img related stuff should be delegated into Content.
|
Modifier and Type | Method and Description |
---|---|
MenuItem |
AutoGenMenuItem.getContainer()
Name of the MenuItem which is the container of this.
|
MenuItem |
MenuItemState.getMenuItem() |
MenuItem |
MenuItem.getParent()
Deprecated.
see
children : Not sufficient use cases currently to support that this is required.
It adds overhead to maintain this field that may not be required. |
Modifier and Type | Method and Description |
---|---|
Map<String,MenuItem> |
AutoGenMenuItem.getRefMenuMapping() |
Modifier and Type | Method and Description |
---|---|
int |
MenuItem.compareTo(MenuItem mi) |
protected boolean |
AutoGenMenuItem.replaceable(MenuItem existingItem,
MenuItem replacingItem)
Checks on a criteria that one
MenuItem is replaceable by another. |
protected boolean |
AutoGenMenuItem.replaceable(MenuItem existingItem,
MenuItem replacingItem)
Checks on a criteria that one
MenuItem is replaceable by another. |
protected void |
AutoGenMenuItem.scanAndReplaceUpdate(MenuItem generatedMenu,
MenuItem existing)
Deprecated.
: Could only replace menu items if the hierarchical structure was not changed
|
protected void |
AutoGenMenuItem.scanAndReplaceUpdate(MenuItem generatedMenu,
MenuItem existing)
Deprecated.
: Could only replace menu items if the hierarchical structure was not changed
|
void |
AutoGenMenuItem.setContainer(MenuItem container)
Name of the MenuItem which is the container of this.
|
void |
MenuItemState.setMenuItem(MenuItem menuItem) |
Modifier and Type | Method and Description |
---|---|
void |
AutoGenMenuItem.setRefMenuMapping(Map<String,MenuItem> refMenuMapping)
pageMenuMap (reference to Menu) mapping needs to be also auto generated if the menu is auto-gen.
|
Constructor and Description |
---|
MenuItemState(MenuItem menuItem) |
Modifier and Type | Class and Description |
---|---|
class |
MergeMenus<M extends MenuItem<M>>
Given multiple
MenuItem s hierarchies; perform a Merge on them. |
Modifier and Type | Method and Description |
---|---|
<M extends MenuItem> |
IMenuStateLogic.getCurrentState(MenuItem<M> rootItem,
MenuItem<M> focussedItem)
Derive the State for a given
MenuItem |
Modifier and Type | Method and Description |
---|---|
MenuItem |
MenuHelper.getLogicalFocussedPage(String currentPageUrlPath,
Map<String,MenuItem> pageMenuMap,
String defaultPageName,
boolean cacheByRefIdIfNotFound)
Gets the logical path name from the page parameters;
if not its extracts it from the end of the path.
|
static MenuItem |
MenuHelper.getMenuByRef(String refId,
Map<String,MenuItem> pageMenuMap)
Search for a MenuItem by references from a map
|
static MenuItem |
MenuHelper.getMenuByRef(String refId,
MenuItem rootMenuItem)
Search for a MenuItem by references from the root
MenuItem |
Modifier and Type | Method and Description |
---|---|
static MenuItemState |
MenuHelper.cloneMenuItemToState(MenuItem item,
Integer levels)
generate State tree from an
MenuItem upto levels. |
<M extends MenuItem> |
IMenuStateLogic.getCurrentState(MenuItem<M> rootItem,
MenuItem<M> focussedItem)
Derive the State for a given
MenuItem |
<M extends MenuItem> |
IMenuStateLogic.getCurrentState(MenuItem<M> rootItem,
MenuItem<M> focussedItem)
Derive the State for a given
MenuItem |
MenuItemState |
ExpandCurrentSelectionMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem) |
MenuItemState |
ExpandCurrentSelectionMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem) |
MenuItemState |
AuthMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem)
Overrides
IMenuStateLogic method to supply null to the method that takes the User param. |
MenuItemState |
AuthMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem)
Overrides
IMenuStateLogic method to supply null to the method that takes the User param. |
MenuItemState |
StaticMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem,
User user) |
MenuItemState |
StaticMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem,
User user) |
abstract MenuItemState |
AuthMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem,
User user)
|
abstract MenuItemState |
AuthMenuLogic.getCurrentState(MenuItem rootItem,
MenuItem focussedItem,
User user)
|
static MenuItem |
MenuHelper.getMenuByRef(String refId,
MenuItem rootMenuItem)
Search for a MenuItem by references from the root
MenuItem |
protected boolean |
StaticMenuLogic.isMenuItemsEqual(MenuItem rootItem,
MenuItem focussedItem)
For logic that needs to identify if a menu Item should be focussed on or not.
|
protected boolean |
StaticMenuLogic.isMenuItemsEqual(MenuItem rootItem,
MenuItem focussedItem)
For logic that needs to identify if a menu Item should be focussed on or not.
|
Modifier and Type | Method and Description |
---|---|
MenuItem |
MenuHelper.getLogicalFocussedPage(String currentPageUrlPath,
Map<String,MenuItem> pageMenuMap,
String defaultPageName,
boolean cacheByRefIdIfNotFound)
Gets the logical path name from the page parameters;
if not its extracts it from the end of the path.
|
static MenuItem |
MenuHelper.getMenuByRef(String refId,
Map<String,MenuItem> pageMenuMap)
Search for a MenuItem by references from a map
|
Modifier and Type | Field and Description |
---|---|
protected MenuItem |
NavQueryService.menu |
Modifier and Type | Field and Description |
---|---|
protected Map<String,MenuItem> |
NavQueryService.menuMap
Reverse mapping of MenuItem names to the actual Object
|
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
NavQueryService.getLogicalFocussedItem(MenuItem root,
String itemName) |
MenuItem |
NavQueryService.getMenu() |
protected MenuItem |
NavQueryService.getMenuItemForName(MenuItem root,
String itemName) |
Modifier and Type | Method and Description |
---|---|
Map<String,MenuItem> |
NavQueryService.getMenuMap()
Reverse mapping of MenuItem names to the actual Object
|
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
NavQueryService.getLogicalFocussedItem(MenuItem root,
String itemName) |
protected MenuItem |
NavQueryService.getMenuItemForName(MenuItem root,
String itemName) |
void |
NavQueryService.setMenu(MenuItem menu) |
Modifier and Type | Method and Description |
---|---|
void |
NavQueryService.setMenuMap(Map<String,MenuItem> menuMap)
Reverse mapping of MenuItem names to the actual Object
|
Modifier and Type | Class and Description |
---|---|
static class |
CustomAutoNav.CustomMenuItem |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
HierarchyTypeAutoNav.addNode(MenuItem parent,
T node,
List<MenuItem> children)
Add Leaf nodes
|
protected MenuItem |
CustomAutoNav.addNode(MenuItem parent,
T node,
List<MenuItem> children) |
protected MenuItem |
ModuleUIAutoNav.createMenuItem(Module module)
Allow to overrride to create any custom type of
MenuItem if required. |
protected MenuItem |
ModuleUIAutoNav.createSubMenuForModule(Module module,
Map<Module,List<ModuleUI>> moduleUiMap)
|
protected MenuItem |
ModuleUIAutoNav.getAdminNavigation(Map<Module,List<ModuleUI>> moduleUiMap,
Map<Module,MenuItem> moduleMenuMap,
List<Module> topLevelModules) |
MenuItem |
ModuleUIAutoNav.getGeneratedMenuItem(Object... params) |
MenuItem |
IMenuGenerator.getGeneratedMenuItem(Object... params)
Generate a Menu based on context, logic and some optional/additional params
|
MenuItem |
HierarchyTypeAutoNav.getGeneratedMenuItem(Object... params) |
MenuItem |
CustomAutoNav.getGeneratedMenuItem(Object... params) |
Modifier and Type | Method and Description |
---|---|
protected Map<Module,MenuItem> |
ModuleUIAutoNav.constructModuleMenuMap(Map<Module,List<ModuleUI>> moduleUiMap) |
Map<String,MenuItem> |
ModuleUIAutoNav.getGeneratedPageMenuMap(Object... params)
TODO: This method is common with
HierarchyTypeAutoNav |
Map<String,MenuItem> |
IMenuPathMapper.getGeneratedPageMenuMap(Object... params)
Consume a Menu, (typically the same generated by
IMenuPathMapper.getReferenceToPathMapping(Object...) and generate the pageMenuMap.The pageMenuMap ensures when the Navigation is happening, then the in Focus component knows which MenuItem is in focus and can decide the MenuItemState
accordingly. |
Map<String,MenuItem> |
HierarchyTypeAutoNav.getGeneratedPageMenuMap(Object... params)
TODO: This method is common with
ModuleUIAutoNav |
Modifier and Type | Method and Description |
---|---|
protected void |
HierarchyTypeAutoNav.add(MenuItem parent,
List hierarchy)
Add hierarchy elements under the parent in recursive manner.
|
protected MenuItem |
HierarchyTypeAutoNav.addNode(MenuItem parent,
T node,
List<MenuItem> children)
Add Leaf nodes
|
protected MenuItem |
CustomAutoNav.addNode(MenuItem parent,
T node,
List<MenuItem> children) |
protected void |
HierarchyTypeAutoNav.assignRootLevel(MenuItem root)
Assign a root level ;so that other generated
MenuItem know whoch getLevel() they are. |
protected void |
ModuleUIAutoNav.sortMenuItems(MenuItem rootItem)
Will sort the entries in the
MenuItem . |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
HierarchyTypeAutoNav.addNode(MenuItem parent,
T node,
List<MenuItem> children)
Add Leaf nodes
|
protected MenuItem |
CustomAutoNav.addNode(MenuItem parent,
T node,
List<MenuItem> children) |
protected List<Module> |
ModuleUIAutoNav.constructMenuHierarchy(Map<Module,List<ModuleUI>> moduleUiMap,
Map<Module,MenuItem> moduleMenuMap)
|
protected MenuItem |
ModuleUIAutoNav.getAdminNavigation(Map<Module,List<ModuleUI>> moduleUiMap,
Map<Module,MenuItem> moduleMenuMap,
List<Module> topLevelModules) |
Modifier and Type | Class and Description |
---|---|
static class |
CatalogAutoNav.CatalogMenuItem |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
CatalogAutoNav.addNode(MenuItem parent,
ProductReference node,
List<MenuItem> children) |
MenuItem |
CatalogAutoNav.getGeneratedMenuItem(Object... params) |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
CatalogAutoNav.addNode(MenuItem parent,
ProductReference node,
List<MenuItem> children) |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
CatalogAutoNav.addNode(MenuItem parent,
ProductReference node,
List<MenuItem> children) |
Constructor and Description |
---|
MenuItemComponent(String id,
org.apache.wicket.model.IModel<MenuItem> urlModel)
Deprecated.
|
RollOverMenuItemComponent(String id,
org.apache.wicket.model.IModel<MenuItem> urlModel) |
Copyright © 2018. All rights reserved.