Class NavigationDisplayService
java.lang.Object
io.meeds.layout.service.NavigationDisplayService
Updates what the topbar and the sidebar show the way the navigation
settings page does: the stored configuration is loaded unresolved, the
given options are merged into it, and the whole is submitted with both
parts, since the navigation configuration service stores whatever it is
given and reads the sidebar after the write. The sidebar's items and the
users' own modes are never touched. A topbar application's stored name
is the key the settings page translates: the label shown in the user's
language is what the tool returns and matches a given name against.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionupdateNavigationDisplay(TopbarDisplayOptions topbar, SidebarDisplayOptions sidebar, String username, Locale locale)
-
Field Details
-
ADMINISTRATORS_ONLY
- See Also:
-
CONFIGURATION_NOT_FOUND
- See Also:
-
APPLICATION_NOT_FOUND
- See Also:
-
DISPLAY_OPTIONS_NOT_ACCEPTED
- See Also:
-
APPLICATIONS_NOT_ACCEPTED
- See Also:
-
ALLOWED_MODES_NOT_ACCEPTED
- See Also:
-
DEFAULT_MODE_NOT_ACCEPTED
- See Also:
-
DISPLAY_NOT_SAVED
- See Also:
-
-
Constructor Details
-
NavigationDisplayService
public NavigationDisplayService()
-
-
Method Details