Class ConfluenceWebInterfaceManager
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager
-
- All Implemented Interfaces:
com.atlassian.plugin.web.api.DynamicWebInterfaceManager,com.atlassian.plugin.web.WebInterfaceManager
public class ConfluenceWebInterfaceManager extends Object implements com.atlassian.plugin.web.api.DynamicWebInterfaceManager
Stores and manages flexible web interface sections available in the system.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_KEY_HELPERDeprecated.since 2.8 seeWebInterfaceContext
-
Constructor Summary
Constructors Constructor Description ConfluenceWebInterfaceManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor>getDisplayableItems(String key, WebInterfaceContext context)List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor>getDisplayableItems(String key, Map<String,Object> params)List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor>getDisplayableSections(String key, WebInterfaceContext context)List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor>getDisplayableSections(String key, Map<String,Object> params)Iterable<com.atlassian.plugin.web.api.WebItem>getDisplayableWebItems(String section, Map<String,Object> context)List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor>getDisplayableWebPanelDescriptors(String s, Map<String,Object> stringObjectMap)List<com.atlassian.plugin.web.model.WebPanel>getDisplayableWebPanels(String location, Map<String,Object> context)Iterable<com.atlassian.plugin.web.api.WebSection>getDisplayableWebSections(String location, Map<String,Object> context)List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor>getItems(String section)List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor>getSections(String location)com.atlassian.plugin.web.WebFragmentHelpergetWebFragmentHelper()Iterable<com.atlassian.plugin.web.api.WebItem>getWebItems(String section, Map<String,Object> context)List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor>getWebPanelDescriptors(String s)List<com.atlassian.plugin.web.model.WebPanel>getWebPanels(String location)Iterable<com.atlassian.plugin.web.api.WebSection>getWebSections(String location, Map<String,Object> context)booleanhasSectionsForLocation(String location)voidrefresh()voidsetWebInterfaceManager(com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager)
-
-
-
Field Detail
-
CONTEXT_KEY_HELPER
@Deprecated public static final String CONTEXT_KEY_HELPER
Deprecated.since 2.8 seeWebInterfaceContext- See Also:
- Constant Field Values
-
-
Method Detail
-
getDisplayableWebPanelDescriptors
public List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors(String s, Map<String,Object> stringObjectMap)
- Specified by:
getDisplayableWebPanelDescriptorsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getWebPanelDescriptors
public List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getWebPanelDescriptors(String s)
- Specified by:
getWebPanelDescriptorsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getWebFragmentHelper
public com.atlassian.plugin.web.WebFragmentHelper getWebFragmentHelper()
- Specified by:
getWebFragmentHelperin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
hasSectionsForLocation
public boolean hasSectionsForLocation(String location)
- Specified by:
hasSectionsForLocationin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getSections
public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getSections(String location)
- Specified by:
getSectionsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableSections
public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String key, Map<String,Object> params)
- Specified by:
getDisplayableSectionsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableSections
public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String key, WebInterfaceContext context)
-
getItems
public List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getItems(String section)
- Specified by:
getItemsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableItems
public List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getDisplayableItems(String key, Map<String,Object> params)
- Specified by:
getDisplayableItemsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableItems
public List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getDisplayableItems(String key, WebInterfaceContext context)
-
refresh
public void refresh()
- Specified by:
refreshin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
setWebInterfaceManager
public void setWebInterfaceManager(com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager)
-
getWebPanels
public List<com.atlassian.plugin.web.model.WebPanel> getWebPanels(String location)
- Specified by:
getWebPanelsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableWebPanels
public List<com.atlassian.plugin.web.model.WebPanel> getDisplayableWebPanels(String location, Map<String,Object> context)
- Specified by:
getDisplayableWebPanelsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getWebItems
public Iterable<com.atlassian.plugin.web.api.WebItem> getWebItems(String section, Map<String,Object> context)
- Specified by:
getWebItemsin interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
getDisplayableWebItems
public Iterable<com.atlassian.plugin.web.api.WebItem> getDisplayableWebItems(String section, Map<String,Object> context)
- Specified by:
getDisplayableWebItemsin interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
getWebSections
public Iterable<com.atlassian.plugin.web.api.WebSection> getWebSections(String location, Map<String,Object> context)
- Specified by:
getWebSectionsin interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
-