com.atlassian.jira.web.sitemesh
Class AdminDecoratorHelper
java.lang.Object
com.atlassian.jira.web.sitemesh.AdminDecoratorHelper
public class AdminDecoratorHelper
- extends Object
Class that holds all the logic for the projectconfig decorator.
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSTEM_ADMIN_TOP_NAVIGATION_BAR
public static final String SYSTEM_ADMIN_TOP_NAVIGATION_BAR
- See Also:
- Constant Field Values
SYSTEM_ADMIN_TOP
public static final String SYSTEM_ADMIN_TOP
- See Also:
- Constant Field Values
ACTIVE_SECTION_KEY
public static final String ACTIVE_SECTION_KEY
- See Also:
- Constant Field Values
ACTIVE_TAB_LINK_KEY
public static final String ACTIVE_TAB_LINK_KEY
- See Also:
- Constant Field Values
AdminDecoratorHelper
public AdminDecoratorHelper(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
ProjectService projectService,
JiraAuthenticationContext authenticationContext,
FeatureManager featureManager,
SimpleLinkManager linkManager,
SoyTemplateRendererProvider soyTemplateRendererProvider,
CurrentHeader currentHeader)
isNewHeader
public boolean isNewHeader()
- Deprecated. now that com.atlassian.jira.darkfeature.CommonHeader is permanently enabled.
isAdminMenusAllHidden
public boolean isAdminMenusAllHidden()
setProject
public AdminDecoratorHelper setProject(String projectKey)
setCurrentTab
public AdminDecoratorHelper setCurrentTab(String currentTab)
setCurrentSection
public AdminDecoratorHelper setCurrentSection(String currentSection)
getSelectedMenuSection
public String getSelectedMenuSection()
hasKey
public boolean hasKey()
getHeaders
public List<AdminDecoratorHelper.Header> getHeaders()
getHeaderHtml
public String getHeaderHtml()
isHasHeader
public boolean isHasHeader()
getPageBreadcrumbsHtml
public String getPageBreadcrumbsHtml()
getSideMenuHtml
public String getSideMenuHtml(String sectionId)
getHttpRequest
public javax.servlet.http.HttpServletRequest getHttpRequest()
encode
protected String encode(String string)
getMainAdminSections
public List<SimpleLinkSection> getMainAdminSections()
getChildSectionsForSection
public List<SimpleLinkSection> getChildSectionsForSection(String location)
getLinksForSection
public List<SimpleLink> getLinksForSection(String parentSection,
String section)
getSectionContainsAtleastOneLink
public boolean getSectionContainsAtleastOneLink(String parentSection,
String section)
getPathToLink
public LinkedList<com.atlassian.jira.web.sitemesh.AdminDecoratorHelper.PathSegment> getPathToLink(SimpleLink simpleLink)
Copyright © 2002-2013 Atlassian. All Rights Reserved.