public class AdminDecoratorHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdminDecoratorHelper.Header |
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,
AdminDecoratorSectionLinkItemHelper adminDecoratorSectionLinkItemHelper) |
Modifier and Type | Method and Description |
---|---|
protected String |
encode(String string) |
List<SimpleLinkSection> |
getChildSectionsForSection(String location) |
String |
getHeaderHtml() |
List<AdminDecoratorHelper.Header> |
getHeaders() |
javax.servlet.http.HttpServletRequest |
getHttpRequest() |
List<SimpleLink> |
getLinksForSection(String parentSection,
String section) |
LinkedList<com.atlassian.jira.web.sitemesh.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) |
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, AdminDecoratorSectionLinkItemHelper adminDecoratorSectionLinkItemHelper)
public boolean isProjectAdministration()
public boolean isAdminMenusAllHidden()
public AdminDecoratorHelper setProject(String projectKey)
public AdminDecoratorHelper setCurrentTab(String currentTab)
public AdminDecoratorHelper setCurrentSection(String currentSection)
public String getSelectedMenuSection()
public boolean hasKey()
public List<AdminDecoratorHelper.Header> getHeaders()
public String getHeaderHtml()
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-2015 Atlassian. All Rights Reserved.