public class TemplateContextHelper
extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
TemplateContextHelper.PACL |
Constructor and Description |
---|
TemplateContextHelper() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getHelperUtilities(ClassLoader classLoader,
boolean restricted) |
Set<String> |
getRestrictedVariables() |
TemplateControlContext |
getTemplateControlContext() |
static Map<String,com.liferay.portal.kernel.template.TemplateVariableGroup> |
getTemplateVariableGroups(long classNameId,
long classPK,
String language,
Locale locale) |
protected void |
populateCommonHelperUtilities(Map<String,Object> variables) |
protected void |
populateDeprecatedCommonHelperUtilities(Map<String,Object> variables) |
protected void |
populateExtraHelperUtilities(Map<String,Object> variables) |
void |
prepare(Map<String,Object> contextObjects,
javax.servlet.http.HttpServletRequest request) |
protected void |
prepareTiles(Map<String,Object> contextObjects,
javax.servlet.http.HttpServletRequest request) |
void |
removeAllHelperUtilities() |
void |
removeHelperUtilities(ClassLoader classLoader) |
public static Map<String,com.liferay.portal.kernel.template.TemplateVariableGroup> getTemplateVariableGroups(long classNameId, long classPK, String language, Locale locale) throws Exception
Exception
public Map<String,Object> getHelperUtilities(ClassLoader classLoader, boolean restricted)
public Set<String> getRestrictedVariables()
public TemplateControlContext getTemplateControlContext()
public void prepare(Map<String,Object> contextObjects, javax.servlet.http.HttpServletRequest request)
public void removeAllHelperUtilities()
public void removeHelperUtilities(ClassLoader classLoader)
protected void populateCommonHelperUtilities(Map<String,Object> variables)
protected void populateDeprecatedCommonHelperUtilities(Map<String,Object> variables)
protected void populateExtraHelperUtilities(Map<String,Object> variables)
protected void prepareTiles(Map<String,Object> contextObjects, javax.servlet.http.HttpServletRequest request)