public class

JiraWebInterfaceManager

extends Object
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.JiraWebInterfaceManager

This class is deprecated.
since v6.3 - use com.atlassian.plugin.web.api.DynamicWebInterfaceManager directly if possible.

Class Overview

Jira wrapper for the WebInterfaceManager. If generating simple links for menus, use SimpleLinkManager as then consumers can insert SimpleLinkFactory into the link generation process.

Summary

Constants
String CONTEXT_KEY_HELPER
String CONTEXT_KEY_I18N
String CONTEXT_KEY_LOCATION
String CONTEXT_KEY_USER
String CONTEXT_KEY_USERNAME
Public Constructors
JiraWebInterfaceManager(WebInterfaceManager webInterfaceManager)
Public Methods
List<WebItemModuleDescriptor> getDisplayableItems(String section, User remoteUser, JiraHelper jiraHelper)
List<WebSectionModuleDescriptor> getDisplayableSections(String location, User remoteUser, JiraHelper jiraHelper)
List<WebItemModuleDescriptor> getItems(String section)
List<WebSectionModuleDescriptor> getSections(String location)
WebFragmentHelper getWebFragmentHelper()
boolean hasSectionsForLocation(String location)
void refresh()
Protected Methods
Map<StringObject> makeContext(User remoteUser, JiraHelper jiraHelper)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTEXT_KEY_HELPER

Constant Value: "helper"

public static final String CONTEXT_KEY_I18N

Constant Value: "i18n"

public static final String CONTEXT_KEY_LOCATION

Constant Value: "location"

public static final String CONTEXT_KEY_USER

Constant Value: "user"

public static final String CONTEXT_KEY_USERNAME

Constant Value: "username"

Public Constructors

public JiraWebInterfaceManager (WebInterfaceManager webInterfaceManager)

Public Methods

public List<WebItemModuleDescriptor> getDisplayableItems (String section, User remoteUser, JiraHelper jiraHelper)

public List<WebSectionModuleDescriptor> getDisplayableSections (String location, User remoteUser, JiraHelper jiraHelper)

public List<WebItemModuleDescriptor> getItems (String section)

public List<WebSectionModuleDescriptor> getSections (String location)

public WebFragmentHelper getWebFragmentHelper ()

public boolean hasSectionsForLocation (String location)

public void refresh ()

Protected Methods

protected Map<StringObject> makeContext (User remoteUser, JiraHelper jiraHelper)