public class

DefaultWebInterfaceManager

extends Object
implements WebInterfaceManager
java.lang.Object
   ↳ com.atlassian.plugin.web.DefaultWebInterfaceManager

Class Overview

Stores and manages flexible web interface sections available in the system.

Summary

Fields
public static final WeightedDescriptorComparator WEIGHTED_DESCRIPTOR_COMPARATOR
Public Constructors
DefaultWebInterfaceManager()
DefaultWebInterfaceManager(PluginAccessor pluginAccessor, WebFragmentHelper webFragmentHelper)
Public Methods
List<WebItemModuleDescriptor> getDisplayableItems(String section, Map<StringObject> context)
List<WebSectionModuleDescriptor> getDisplayableSections(String location, Map<StringObject> context)
List<WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors(String location, Map<StringObject> context)
List<WebPanel> getDisplayableWebPanels(String location, Map<StringObject> context)
List<WebItemModuleDescriptor> getItems(String section)
List<WebSectionModuleDescriptor> getSections(String location)
WebFragmentHelper getWebFragmentHelper()
List<WebPanelModuleDescriptor> getWebPanelDescriptors(String location)
List<WebPanel> getWebPanels(String location)
boolean hasSectionsForLocation(String location)
void refresh()
Refresh the contents of the web interface manager.
void setPluginAccessor(PluginAccessor pluginAccessor)
@Deprecated void setPluginManager(PluginManager pluginManager)
This method is deprecated. since 2.2.0, use setPluginAccessor(PluginAccessor) instead
void setWebFragmentHelper(WebFragmentHelper webFragmentHelper)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.WebInterfaceManager

Fields

public static final WeightedDescriptorComparator WEIGHTED_DESCRIPTOR_COMPARATOR

Public Constructors

public DefaultWebInterfaceManager ()

public DefaultWebInterfaceManager (PluginAccessor pluginAccessor, WebFragmentHelper webFragmentHelper)

Public Methods

public List<WebItemModuleDescriptor> getDisplayableItems (String section, Map<StringObject> context)

public List<WebSectionModuleDescriptor> getDisplayableSections (String location, Map<StringObject> context)

public List<WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors (String location, Map<StringObject> context)

public List<WebPanel> getDisplayableWebPanels (String location, Map<StringObject> context)

public List<WebItemModuleDescriptor> getItems (String section)

public List<WebSectionModuleDescriptor> getSections (String location)

public WebFragmentHelper getWebFragmentHelper ()

public List<WebPanelModuleDescriptor> getWebPanelDescriptors (String location)

public List<WebPanel> getWebPanels (String location)

public boolean hasSectionsForLocation (String location)

public void refresh ()

Refresh the contents of the web interface manager.

public void setPluginAccessor (PluginAccessor pluginAccessor)

Parameters
pluginAccessor The plugin accessor to set

@Deprecated public void setPluginManager (PluginManager pluginManager)

This method is deprecated.
since 2.2.0, use setPluginAccessor(PluginAccessor) instead

public void setWebFragmentHelper (WebFragmentHelper webFragmentHelper)