com.atlassian.jira.web.sitemesh
Class AdminDecoratorHelper

java.lang.Object
  extended by com.atlassian.jira.web.sitemesh.AdminDecoratorHelper

public class AdminDecoratorHelper
extends Object

Class that holds all the logic for the projectconfig decorator.

Since:
v4.4

Nested Class Summary
static class AdminDecoratorHelper.Header
           
 
Field Summary
static String ACTIVE_SECTION_KEY
           
static String ACTIVE_TAB_LINK_KEY
           
 
Constructor Summary
AdminDecoratorHelper(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ProjectService projectService, JiraAuthenticationContext authenticationContext, ComponentFactory componentFactory)
           
 
Method Summary
 String getHeaderHtml()
           
 List<AdminDecoratorHelper.Header> getHeaders()
           
 int getNumberOfTabs()
           
 String getSelectedMenuSection()
           
 String getTabHtml()
           
 boolean hasKey()
           
 boolean isHasHeader()
           
 AdminDecoratorHelper setCurrentSection(String currentSection)
           
 AdminDecoratorHelper setCurrentTab(String currentTab)
           
 AdminDecoratorHelper setProject(String projectKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AdminDecoratorHelper

public AdminDecoratorHelper(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
                            ProjectService projectService,
                            JiraAuthenticationContext authenticationContext,
                            ComponentFactory componentFactory)
Method Detail

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()

getNumberOfTabs

public int getNumberOfTabs()

getTabHtml

public String getTabHtml()


Copyright © 2002-2012 Atlassian. All Rights Reserved.