public class MenuResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MenuResource.Link |
static class |
MenuResource.Menu |
static class |
MenuResource.Section |
Constructor and Description |
---|
MenuResource(SimpleLinkManager simpleLinkManager,
JiraAuthenticationContext authenticationContext,
UserProjectHistoryManager userProjectHistoryManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getMenuList(javax.servlet.http.HttpServletRequest request,
String location,
Boolean inAdminMode)
Gets a list of
MenuResource.Section and sub links MenuResource.Link for a menu. |
public MenuResource(SimpleLinkManager simpleLinkManager, JiraAuthenticationContext authenticationContext, UserProjectHistoryManager userProjectHistoryManager)
public javax.ws.rs.core.Response getMenuList(@Context javax.servlet.http.HttpServletRequest request, String location, Boolean inAdminMode)
MenuResource.Section
and sub links MenuResource.Link
for a menu. These are wrapped in a MenuResource.Menu
request
- The request for the resourcelocation
- The location that the menu is retreiving for.MenuResource.Section
and sub links MenuResource.Link
for a menu. These are wrapped in a MenuResource.Menu
Copyright © 2002-2015 Atlassian. All Rights Reserved.