public class AdminDecoratorHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdminDecoratorHelper.Header |
static class |
AdminDecoratorHelper.Sidebar |
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE_SECTION_KEY |
static String |
ACTIVE_TAB_LINK_KEY |
static String |
SYSTEM_ADMIN_TOP |
static String |
SYSTEM_ADMIN_TOP_NAVIGATION_BAR |
static String |
WEB_ITEM_SOURCE_QUERY_PARAM |
Constructor and Description |
---|
AdminDecoratorHelper(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
ProjectService projectService,
JiraAuthenticationContext authenticationContext,
SimpleLinkManager linkManager,
SoyTemplateRendererProvider soyTemplateRendererProvider,
com.atlassian.event.api.EventPublisher eventPublisher,
TabLoadedDataProvider tabLoadedDataProvider) |
public static final String SYSTEM_ADMIN_TOP_NAVIGATION_BAR
public static final String SYSTEM_ADMIN_TOP
public static final String ACTIVE_SECTION_KEY
public static final String ACTIVE_TAB_LINK_KEY
public static final String WEB_ITEM_SOURCE_QUERY_PARAM
public AdminDecoratorHelper(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ProjectService projectService, JiraAuthenticationContext authenticationContext, SimpleLinkManager linkManager, SoyTemplateRendererProvider soyTemplateRendererProvider, com.atlassian.event.api.EventPublisher eventPublisher, TabLoadedDataProvider tabLoadedDataProvider)
public boolean isProjectAdministration()
public boolean isAdminMenusAllHidden()
public AdminDecoratorHelper setProject(String projectKey)
public AdminDecoratorHelper setCurrentTab(String currentTab)
public AdminDecoratorHelper setCurrentSection(String currentSection)
public void triggerTabLoaded()
public String getSelectedMenuSection()
public boolean hasKey()
public List<AdminDecoratorHelper.Header> getHeaders()
public String getHeaderHtml()
public String getSidebarHtml()
public boolean isHasSidebar()
public boolean isHasHeader()
public javax.servlet.http.HttpServletRequest getHttpRequest()
public List<SimpleLinkSection> getChildSectionsForSection(String location)
public List<SimpleLink> getLinksForSection(String parentSection, String section)
public boolean getSectionContainsAtleastOneLink(String parentSection, String section)
public LinkedList<com.atlassian.jira.web.sitemesh.AdminDecoratorHelper.PathSegment> getPathToLink(SimpleLink simpleLink)
Copyright © 2002-2022 Atlassian. All Rights Reserved.