Interface MenuDefinition
public interface MenuDefinition
This interface represents the full set of menus that will be rendered on the UI
for a particular User.
-
Method Summary
Modifier and Type Method Description MenuAction
getHomeAction()
Returns a MenuAction object for the Home page for the current user.java.util.List<MenuElement>
getMenuElements()
Returns the list of MenuElements to be shown.java.util.List<MenuAction>
getQuickLaunchActions()
Returns the list of quick launch actions to be rendered.void
setHomeAction(MenuAction homeAction)
Sets the home action.
-
Method Details
-
getQuickLaunchActions
java.util.List<MenuAction> getQuickLaunchActions()Returns the list of quick launch actions to be rendered. -
getMenuElements
java.util.List<MenuElement> getMenuElements()Returns the list of MenuElements to be shown. Objects in this list includeMenuAction
,MenuFolder
andMenuElement
. -
getHomeAction
MenuAction getHomeAction()Returns a MenuAction object for the Home page for the current user. Returns null if the home action does not exist. -
setHomeAction
Sets the home action.- Parameters:
homeAction
- - home action
-