public interface NavigationItemService
Modifier and Type | Method and Description |
---|---|
NavigationItem |
getNavigationItem(javax.jcr.Session userSession,
String pluginClass,
Locale locale)
Returns the navigation item for the given plugin class.
|
List<NavigationItem> |
getNavigationItems(javax.jcr.Session userSession,
Locale locale)
Returns the list of
NavigationItem s that the logged in user (identified by the userSession) is allowed to see. |
List<NavigationItem> getNavigationItems(javax.jcr.Session userSession, Locale locale)
NavigationItem
s that the logged in user (identified by the userSession) is allowed to see.userSession
- jcr session of the logged in userlocale
- the locale to use for localizing the displayName of a navigation item.NavigationItem getNavigationItem(javax.jcr.Session userSession, String pluginClass, Locale locale)
userSession
- jcr session of the logged in userpluginClass
- fully qualified name of the plugin class that belongs to the returned item.locale
- the locale to use for localizing the displayName of a navigation item.Copyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.