Class WebSectionHelperImpl
java.lang.Object
com.atlassian.greenhopper.web.navigation.WebSectionHelperImpl
- All Implemented Interfaces:
WebSectionHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWebItemSections
(com.atlassian.jira.user.ApplicationUser user, String webSectionLocation, Map<String, Object> contextParams) Returns the list of web-sections and their corresponding web-items for the given location and user.
-
Constructor Details
-
WebSectionHelperImpl
public WebSectionHelperImpl()
-
-
Method Details
-
getWebItemSections
public List<WebItemSection> getWebItemSections(com.atlassian.jira.user.ApplicationUser user, @Nonnull String webSectionLocation, @Nonnull Map<String, Object> contextParams) Description copied from interface:WebSectionHelper
Returns the list of web-sections and their corresponding web-items for the given location and user. Uses the supplied map to provide context to sections and items to evaluate their conditions. Note: any sections with noWebItemAction
s will be removed from the result.- Specified by:
getWebItemSections
in interfaceWebSectionHelper
- Parameters:
user
- the userwebSectionLocation
- the location string e.g. gh.plan.sprint.actionscontextParams
- the map of parameters to evaluate conditions- Returns:
- the list of sections
-