com.atlassian.jira.plugin.webfragment.model
Class JiraWebLabel

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.model.JiraWebLabel
All Implemented Interfaces:
com.atlassian.plugin.web.model.WebLabel, com.atlassian.plugin.web.model.WebParam

public class JiraWebLabel
extends Object
implements com.atlassian.plugin.web.model.WebLabel

A jira specific wrapper for the DefaultWebLabel


Constructor Summary
JiraWebLabel(com.atlassian.plugin.web.model.WebLabel webLabel, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 Object get(String key)
           
 com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor getDescriptor()
           
 String getDisplayableLabel(javax.servlet.http.HttpServletRequest req, Map context)
           
 String getDisplayableLabel(com.atlassian.crowd.embedded.api.User remoteUser, JiraHelper jiraHelper)
           
 String getKey()
           
 String getNoKeyValue()
           
 SortedMap getParams()
           
 String getRenderedParam(String paramKey, Map context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWebLabel

public JiraWebLabel(com.atlassian.plugin.web.model.WebLabel webLabel,
                    JiraAuthenticationContext authenticationContext)
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface com.atlassian.plugin.web.model.WebLabel

getNoKeyValue

public String getNoKeyValue()
Specified by:
getNoKeyValue in interface com.atlassian.plugin.web.model.WebLabel

getDisplayableLabel

public String getDisplayableLabel(com.atlassian.crowd.embedded.api.User remoteUser,
                                  JiraHelper jiraHelper)

getDisplayableLabel

public String getDisplayableLabel(javax.servlet.http.HttpServletRequest req,
                                  Map context)
Specified by:
getDisplayableLabel in interface com.atlassian.plugin.web.model.WebLabel

getParams

public SortedMap getParams()
Specified by:
getParams in interface com.atlassian.plugin.web.model.WebParam

get

public Object get(String key)
Specified by:
get in interface com.atlassian.plugin.web.model.WebParam

getRenderedParam

public String getRenderedParam(String paramKey,
                               Map context)
Specified by:
getRenderedParam in interface com.atlassian.plugin.web.model.WebParam

getDescriptor

public com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor getDescriptor()
Specified by:
getDescriptor in interface com.atlassian.plugin.web.model.WebParam


Copyright © 2002-2013 Atlassian. All Rights Reserved.