Liferay 6.2.0-ce-m4

com.liferay.portal.template
Class TemplateContextHelper

java.lang.Object
  extended by com.liferay.portal.template.TemplateContextHelper
Direct Known Subclasses:
FreeMarkerTemplateContextHelper, VelocityTemplateContextHelper

public class TemplateContextHelper
extends Object


Constructor Summary
TemplateContextHelper()
           
 
Method Summary
protected  Map<String,Object> doGetHelperUtilities(ClassLoader classLoader, TemplateContextType templateContextType)
           
 Map<String,Object> getHelperUtilities(TemplateContextType templateContextType)
           
 Set<String> getRestrictedVariables()
           
protected  void populateCommonHelperUtilities(Map<String,Object> variables)
           
protected  void populateExtraHelperUtilities(Map<String,Object> variables)
           
 void prepare(TemplateContext templateContext, javax.servlet.http.HttpServletRequest request)
           
protected  void prepareTiles(TemplateContext templateContext, javax.servlet.http.HttpServletRequest request)
           
 void removeAllHelperUtilities()
           
 void removeHelperUtilities(ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateContextHelper

public TemplateContextHelper()
Method Detail

getHelperUtilities

public Map<String,Object> getHelperUtilities(TemplateContextType templateContextType)

getRestrictedVariables

public Set<String> getRestrictedVariables()

prepare

public void prepare(TemplateContext templateContext,
                    javax.servlet.http.HttpServletRequest request)

removeAllHelperUtilities

public void removeAllHelperUtilities()

removeHelperUtilities

public void removeHelperUtilities(ClassLoader classLoader)

doGetHelperUtilities

protected Map<String,Object> doGetHelperUtilities(ClassLoader classLoader,
                                                  TemplateContextType templateContextType)

populateCommonHelperUtilities

protected void populateCommonHelperUtilities(Map<String,Object> variables)

populateExtraHelperUtilities

protected void populateExtraHelperUtilities(Map<String,Object> variables)

prepareTiles

protected void prepareTiles(TemplateContext templateContext,
                            javax.servlet.http.HttpServletRequest request)

Liferay 6.2.0-ce-m4