Interface SidebarPlugin
public interface SidebarPlugin
A class to allow managing Sidebar item types
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.meeds.portal.navigation.model.SidebarItem -
Method Summary
Modifier and TypeMethodDescriptiondefault List<io.meeds.portal.navigation.model.SidebarItem> default io.meeds.portal.navigation.constant.SidebarItemTypegetType()default booleanitemExists(io.meeds.portal.navigation.model.SidebarItem item, String username) default io.meeds.portal.navigation.model.SidebarItemresolveProperties(io.meeds.portal.navigation.model.SidebarItem item, String username, Locale locale) Resolves Item Name and Icon when storage is maintained
-
Field Details
-
SIDEBAR_SEPARATOR
static final io.meeds.portal.navigation.model.SidebarItem SIDEBAR_SEPARATOR
-
-
Method Details
-
getType
default io.meeds.portal.navigation.constant.SidebarItemType getType()- Returns:
SidebarItemTypemanaged by the implementing plugin
-
getDefaultItems
- Returns:
ListofSidebarItemto inject on startup
-