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 Object
implements com.atlassian.plugin.web.WebFragmentHelper


Constructor Summary
JiraWebFragmentHelper(VelocityTemplatingEngine templatingEngine, JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory velocityRequestContextFactory)
           
 
Method Summary
 String getI18nValue(String key, List arguments, Map context)
           
 com.atlassian.plugin.web.Condition loadCondition(String className, com.atlassian.plugin.Plugin plugin)
           
 com.atlassian.plugin.web.ContextProvider loadContextProvider(String className, com.atlassian.plugin.Plugin plugin)
           
 String renderVelocityFragment(String fragment, Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWebFragmentHelper

public JiraWebFragmentHelper(VelocityTemplatingEngine templatingEngine,
                             JiraAuthenticationContext authenticationContext,
                             VelocityRequestContextFactory velocityRequestContextFactory)
Method Detail

loadCondition

public com.atlassian.plugin.web.Condition loadCondition(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(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 String getI18nValue(String key,
                           List arguments,
                           Map context)
Specified by:
getI18nValue in interface com.atlassian.plugin.web.WebFragmentHelper

renderVelocityFragment

public String renderVelocityFragment(String fragment,
                                     Map<String,Object> context)
Specified by:
renderVelocityFragment in interface com.atlassian.plugin.web.WebFragmentHelper


Copyright © 2002-2014 Atlassian. All Rights Reserved.