Package org.hippoecm.hst.core.sitemenu
Interface EditableMenu
-
- All Superinterfaces:
CommonMenu,PageModelEntity
public interface EditableMenu extends CommonMenu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EditableMenuItemgetDeepestExpandedItem()HstSiteMenusgetHstSiteMenus()List<EditableMenuItem>getMenuItems()EditableMenuItemgetSelectMenuItem()Note: the method should have been called getSelectedMenuItem because of a historical typo it is called getSelectMenuItemvoidsetSelectedMenuItem(EditableMenuItem selectedMenuItem)Sets theselectedMenuItemas selected-
Methods inherited from interface org.hippoecm.hst.core.sitemenu.CommonMenu
getName, isExpanded
-
-
-
-
Method Detail
-
getSelectMenuItem
EditableMenuItem getSelectMenuItem()
Note: the method should have been called getSelectedMenuItem because of a historical typo it is called getSelectMenuItem- Returns:
- the selected
EditableMenuItemandnullif none selected
-
setSelectedMenuItem
void setSelectedMenuItem(EditableMenuItem selectedMenuItem)
Sets theselectedMenuItemas selected- Parameters:
selectedMenuItem- theEditableMenuItemthat is selected
-
getMenuItems
List<EditableMenuItem> getMenuItems()
- Returns:
- The
Listof rootEditableMenuItems for thisEditableMenu
-
getHstSiteMenus
HstSiteMenus getHstSiteMenus()
- Returns:
- The backing
HstSiteMenusfor thisEditableMenu
-
getDeepestExpandedItem
EditableMenuItem getDeepestExpandedItem()
- Returns:
- The deepest expanded
EditableMenuItemandnullif none of the items are expanded
-
-