Package com.atlassian.jira.web.component
Class ModuleWebComponentFieldsImpl
java.lang.Object
com.atlassian.jira.web.component.ModuleWebComponentFieldsImpl
- All Implemented Interfaces:
ModuleWebComponentFields
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.web.component.ModuleWebComponentFields
ModuleWebComponentFields.SectionsAndLinks -
Field Summary
Fields inherited from interface com.atlassian.jira.web.component.ModuleWebComponentFields
RENDER_PARAM_CONTAINER_CLASS, RENDER_PARAM_HEADLESS, RENDER_PARAM_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionModuleWebComponentFieldsImpl(SimpleLinkManager simpleLinkManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) -
Method Summary
Modifier and TypeMethodDescriptiongetDropdownSections(String key, ApplicationUser user, JiraHelper helper) Returns dropdown sections and links for the given modulegetHeaderItems(String key, ApplicationUser user, JiraHelper helper) Returns header links for the given moduleList<? extends com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel>> Returns panel descriptors for given module
-
Constructor Details
-
ModuleWebComponentFieldsImpl
public ModuleWebComponentFieldsImpl(SimpleLinkManager simpleLinkManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
-
-
Method Details
-
getHeaderItems
Description copied from interface:ModuleWebComponentFieldsReturns header links for the given module- Specified by:
getHeaderItemsin interfaceModuleWebComponentFields- Parameters:
key- module descriptor keyuser- current userhelper- The context under which the list is being generated- Returns:
- header links for the given module
-
getPanels
public List<? extends com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel>> getPanels(String key, Map<String, Object> params) Description copied from interface:ModuleWebComponentFieldsReturns panel descriptors for given module- Specified by:
getPanelsin interfaceModuleWebComponentFields- Parameters:
key- module descriptor keyparams- The params to pass to the render- Returns:
- panel descriptors for given module
-
getDropdownSections
public List<ModuleWebComponentFields.SectionsAndLinks> getDropdownSections(String key, ApplicationUser user, JiraHelper helper) Description copied from interface:ModuleWebComponentFieldsReturns dropdown sections and links for the given module- Specified by:
getDropdownSectionsin interfaceModuleWebComponentFields- Parameters:
key- module descriptor keyuser- current userhelper- The context under which the list is being generated- Returns:
- dropdown sections for the given module
-