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 String
CONTEXT_KEY_HELPER
Deprecated.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.WebFragmentHelper
getWebFragmentHelper()
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)
boolean
hasSectionsForLocation(String location)
void
refresh()
void
setWebInterfaceManager(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:
getDisplayableWebPanelDescriptors
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getWebPanelDescriptors
public List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getWebPanelDescriptors(String s)
- Specified by:
getWebPanelDescriptors
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getWebFragmentHelper
public com.atlassian.plugin.web.WebFragmentHelper getWebFragmentHelper()
- Specified by:
getWebFragmentHelper
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
hasSectionsForLocation
public boolean hasSectionsForLocation(String location)
- Specified by:
hasSectionsForLocation
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getSections
public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getSections(String location)
- Specified by:
getSections
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableSections
public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String key, Map<String,Object> params)
- Specified by:
getDisplayableSections
in 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:
getItems
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableItems
public List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getDisplayableItems(String key, Map<String,Object> params)
- Specified by:
getDisplayableItems
in 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:
refresh
in 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:
getWebPanels
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableWebPanels
public List<com.atlassian.plugin.web.model.WebPanel> getDisplayableWebPanels(String location, Map<String,Object> context)
- Specified by:
getDisplayableWebPanels
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getWebItems
public Iterable<com.atlassian.plugin.web.api.WebItem> getWebItems(String section, Map<String,Object> context)
- Specified by:
getWebItems
in interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
getDisplayableWebItems
public Iterable<com.atlassian.plugin.web.api.WebItem> getDisplayableWebItems(String section, Map<String,Object> context)
- Specified by:
getDisplayableWebItems
in interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
getWebSections
public Iterable<com.atlassian.plugin.web.api.WebSection> getWebSections(String location, Map<String,Object> context)
- Specified by:
getWebSections
in interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
-