Class AdminMenuImpl
java.lang.Object
ch.tocco.nice2.model.base.spi.base.AbstractModel<RootMenuReceiver>
ch.tocco.nice2.model.menu.impl.xml.AdminMenuImpl
- All Implemented Interfaces:
ReloadAction
,AdminMenu
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.base.spi.base.AbstractModel
log, modelProviders
-
Constructor Summary
ConstructorDescriptionAdminMenuImpl
(org.slf4j.Logger log, ReloadEventEmitter reloadEvent, ThreadHandlerManager threadHandlerManager, AdminMenuACLWriter adminMenuAclWriter, L10N l10n) -
Method Summary
Modifier and TypeMethodDescriptiongetRootMenu
(String name) Get a root menu item via a namevoid
void
onReload()
void
setIgnoredMenus
(List<String> ignoredMenus) Methods inherited from class ch.tocco.nice2.model.base.spi.base.AbstractModel
addListener, fireFinished, removeListener, setModelProviders
-
Constructor Details
-
Method Details
-
initializeService
@PostConstruct public void initializeService() -
getRootMenu
Description copied from interface:AdminMenu
Get a root menu item via a name- Specified by:
getRootMenu
in interfaceAdminMenu
- Parameters:
name
- the root menu item's name- Returns:
- the root menu item
-
getAvailableMenus
- Specified by:
getAvailableMenus
in interfaceAdminMenu
-
onReload
public void onReload()- Specified by:
onReload
in interfaceAdminMenu
- Specified by:
onReload
in interfaceReloadAction
- Specified by:
onReload
in classAbstractModel<RootMenuReceiver>
-
setIgnoredMenus
-