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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor> getDisplayableItems(String key, Map<String, Object> params) List<? extends com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String key, Map<String, Object> params) Iterable<com.atlassian.plugin.web.api.WebItem> getDisplayableWebItems(String section, Map<String, Object> context) List<? extends com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel>> getDisplayableWebPanelDescriptors(String s, Map<String, Object> stringObjectMap) List<com.atlassian.plugin.web.api.model.WebPanel> getDisplayableWebPanels(String location, Map<String, Object> context) Iterable<com.atlassian.plugin.web.api.WebSection> getDisplayableWebSections(String location, Map<String, Object> context) List<? extends com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor> List<? extends com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor> getSections(String location) com.atlassian.plugin.web.WebFragmentHelperIterable<com.atlassian.plugin.web.api.WebItem> getWebItems(String section, Map<String, Object> context) List<? extends com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel>> List<? extends com.atlassian.plugin.web.api.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 Details
-
CONTEXT_KEY_HELPER
Deprecated.since 2.8 seeWebInterfaceContext- See Also:
-
-
Constructor Details
-
ConfluenceWebInterfaceManager
public ConfluenceWebInterfaceManager()
-
-
Method Details
-
getDisplayableWebPanelDescriptors
public List<? extends com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel>> getDisplayableWebPanelDescriptors(String s, Map<String, Object> stringObjectMap) - Specified by:
getDisplayableWebPanelDescriptorsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getWebPanelDescriptors
public List<? extends com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel>> 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
- Specified by:
hasSectionsForLocationin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getSections
public List<? extends com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor> getSections(String location) - Specified by:
getSectionsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableSections
public List<? extends com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String key, Map<String, Object> params) - Specified by:
getDisplayableSectionsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getItems
public List<? extends com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor> getItems(String section) - Specified by:
getItemsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableItems
public List<? extends com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor> getDisplayableItems(String key, Map<String, Object> params) - Specified by:
getDisplayableItemsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
refresh
public void refresh()- Specified by:
refreshin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
setWebInterfaceManager
public void setWebInterfaceManager(com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager) -
getWebPanels
- Specified by:
getWebPanelsin interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableWebPanels
public List<com.atlassian.plugin.web.api.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
-
getDisplayableWebSections
public Iterable<com.atlassian.plugin.web.api.WebSection> getDisplayableWebSections(String location, Map<String, Object> context) - Specified by:
getDisplayableWebSectionsin interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
WebInterfaceContext