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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor>
getDisplayableItems
(String key, WebInterfaceContext context) List<? 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, WebInterfaceContext context) 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.WebFragmentHelper
Iterable<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) boolean
hasSectionsForLocation
(String location) void
refresh()
void
setWebInterfaceManager
(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:
getDisplayableWebPanelDescriptors
in 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:
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
- Specified by:
hasSectionsForLocation
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getSections
public List<? extends com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor> getSections(String location) - Specified by:
getSections
in 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:
getDisplayableSections
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableSections
public List<? extends com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String key, WebInterfaceContext context) -
getItems
public List<? extends com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor> getItems(String section) - Specified by:
getItems
in 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:
getDisplayableItems
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableItems
public List<? extends com.atlassian.plugin.web.api.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
- Specified by:
getWebPanels
in interfacecom.atlassian.plugin.web.WebInterfaceManager
-
getDisplayableWebPanels
public List<com.atlassian.plugin.web.api.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
-
getDisplayableWebSections
public Iterable<com.atlassian.plugin.web.api.WebSection> getDisplayableWebSections(String location, Map<String, Object> context) - Specified by:
getDisplayableWebSections
in interfacecom.atlassian.plugin.web.api.DynamicWebInterfaceManager
-
WebInterfaceContext