Package step.plugins.menu
Class MenuServices
- java.lang.Object
-
- step.framework.server.AbstractServices<step.core.access.User>
-
- step.core.deployment.AbstractStepServices
-
- step.plugins.menu.MenuServices
-
@Singleton @Path("menu") public class MenuServices extends step.core.deployment.AbstractStepServices
-
-
Field Summary
Fields Modifier and Type Field Description protected MenuManager
menuManager
-
Constructor Summary
Constructors Constructor Description MenuServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MenuElement>
getMenu()
void
init()
-
Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Field Detail
-
menuManager
protected MenuManager menuManager
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception
- Overrides:
init
in classstep.core.deployment.AbstractStepServices
- Throws:
java.lang.Exception
-
getMenu
@GET @Consumes("application/json") @Path("/") public java.util.List<MenuElement> getMenu()
-
-