com.atlassian.jira.plugin.webfragment
Class JiraWebFragmentHelper

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper
All Implemented Interfaces:
com.atlassian.plugin.web.WebFragmentHelper

public class JiraWebFragmentHelper
extends java.lang.Object
implements com.atlassian.plugin.web.WebFragmentHelper


Constructor Summary
JiraWebFragmentHelper(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
protected  java.lang.String getHtml(java.lang.String fragment, java.util.Map startingParams)
           
 java.lang.String getI18nValue(java.lang.String key, java.util.List arguments, java.util.Map context)
           
 com.atlassian.plugin.web.Condition loadCondition(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 com.atlassian.plugin.web.ContextProvider loadContextProvider(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 java.lang.String renderVelocityFragment(java.lang.String fragment, java.util.Map context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWebFragmentHelper

public JiraWebFragmentHelper(com.atlassian.velocity.VelocityManager velocityManager,
                             ApplicationProperties applicationProperties,
                             JiraAuthenticationContext authenticationContext)
Method Detail

loadCondition

public com.atlassian.plugin.web.Condition loadCondition(java.lang.String className,
                                                        com.atlassian.plugin.Plugin plugin)
                                                 throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Specified by:
loadCondition in interface com.atlassian.plugin.web.WebFragmentHelper
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException

loadContextProvider

public com.atlassian.plugin.web.ContextProvider loadContextProvider(java.lang.String className,
                                                                    com.atlassian.plugin.Plugin plugin)
                                                             throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Specified by:
loadContextProvider in interface com.atlassian.plugin.web.WebFragmentHelper
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException

getI18nValue

public java.lang.String getI18nValue(java.lang.String key,
                                     java.util.List arguments,
                                     java.util.Map context)
Specified by:
getI18nValue in interface com.atlassian.plugin.web.WebFragmentHelper

renderVelocityFragment

public java.lang.String renderVelocityFragment(java.lang.String fragment,
                                               java.util.Map context)
Specified by:
renderVelocityFragment in interface com.atlassian.plugin.web.WebFragmentHelper

getHtml

protected java.lang.String getHtml(java.lang.String fragment,
                                   java.util.Map startingParams)


Copyright © 2002-2010 Atlassian. All Rights Reserved.