public class

AdminDecoratorHelper

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.sitemesh.AdminDecoratorHelper

Class Overview

Class that holds all the logic for the projectconfig decorator.

Summary

Nested Classes
class AdminDecoratorHelper.Header  
Constants
String ACTIVE_SECTION_KEY
String ACTIVE_TAB_LINK_KEY
String SYSTEM_ADMIN_TOP
String SYSTEM_ADMIN_TOP_NAVIGATION_BAR
Public Constructors
AdminDecoratorHelper(WebInterfaceManager webInterfaceManager, ProjectService projectService, JiraAuthenticationContext authenticationContext, SimpleLinkManager linkManager, SoyTemplateRendererProvider soyTemplateRendererProvider)
Public Methods
List<SimpleLinkSection> getChildSectionsForSection(String location)
String getHeaderHtml()
List<AdminDecoratorHelper.Header> getHeaders()
HttpServletRequest getHttpRequest()
List<SimpleLink> getLinksForSection(String parentSection, String section)
List<SimpleLinkSection> getMainAdminSections()
LinkedList<AdminDecoratorHelper.PathSegment> getPathToLink(SimpleLink simpleLink)
boolean getSectionContainsAtleastOneLink(String parentSection, String section)
String getSelectedMenuSection()
String getSideMenuHtml(String sectionId)
boolean hasKey()
boolean isAdminMenusAllHidden()
boolean isHasHeader()
boolean isProjectAdministration()
AdminDecoratorHelper setCurrentSection(String currentSection)
AdminDecoratorHelper setCurrentTab(String currentTab)
AdminDecoratorHelper setProject(String projectKey)
Protected Methods
String encode(String string)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ACTIVE_SECTION_KEY

Constant Value: "admin.active.section"

public static final String ACTIVE_TAB_LINK_KEY

Constant Value: "admin.active.tab"

public static final String SYSTEM_ADMIN_TOP

Constant Value: "system.admin.top"

public static final String SYSTEM_ADMIN_TOP_NAVIGATION_BAR

Constant Value: "system.admin.top.navigation.bar"

Public Constructors

public AdminDecoratorHelper (WebInterfaceManager webInterfaceManager, ProjectService projectService, JiraAuthenticationContext authenticationContext, SimpleLinkManager linkManager, SoyTemplateRendererProvider soyTemplateRendererProvider)

Public Methods

public List<SimpleLinkSection> getChildSectionsForSection (String location)

public String getHeaderHtml ()

public List<AdminDecoratorHelper.Header> getHeaders ()

public HttpServletRequest getHttpRequest ()

public List<SimpleLink> getLinksForSection (String parentSection, String section)

public List<SimpleLinkSection> getMainAdminSections ()

public LinkedList<AdminDecoratorHelper.PathSegment> getPathToLink (SimpleLink simpleLink)

public boolean getSectionContainsAtleastOneLink (String parentSection, String section)

public String getSelectedMenuSection ()

public String getSideMenuHtml (String sectionId)

public boolean hasKey ()

public boolean isAdminMenusAllHidden ()

public boolean isHasHeader ()

public boolean isProjectAdministration ()

public AdminDecoratorHelper setCurrentSection (String currentSection)

public AdminDecoratorHelper setCurrentTab (String currentTab)

public AdminDecoratorHelper setProject (String projectKey)

Protected Methods

protected String encode (String string)