com.atlassian.crowd.plugin.web
Class CrowdWebFragmentHelper

java.lang.Object
  extended by com.atlassian.crowd.plugin.web.CrowdWebFragmentHelper
All Implemented Interfaces:
com.atlassian.plugin.web.WebFragmentHelper, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class CrowdWebFragmentHelper
extends Object
implements com.atlassian.plugin.web.WebFragmentHelper, org.springframework.context.ApplicationContextAware

Crowd specific implementation of the Atlassian Plugin WebFragmentHelper


Constructor Summary
CrowdWebFragmentHelper()
           
 
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 context)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setI18nHelper(I18nHelper i18nHelper)
           
 void setTemplateRenderer(TemplateRenderer templateRenderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdWebFragmentHelper

public CrowdWebFragmentHelper()
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 context)
Specified by:
renderVelocityFragment in interface com.atlassian.plugin.web.WebFragmentHelper

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

setI18nHelper

public void setI18nHelper(I18nHelper i18nHelper)

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)


Copyright © 2012 Atlassian. All Rights Reserved.