Class TemplateContextHelper
java.lang.Object
com.liferay.portal.template.engine.TemplateContextHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destory()
getHelperUtilities
(boolean restricted) protected Iterable<com.liferay.portal.kernel.template.TemplateContextContributor>
getTemplateVariableGroups
(long classNameId, long classPK, String language, Locale locale) void
init
(org.osgi.framework.BundleContext bundleContext) protected void
populateCommonHelperUtilities
(Map<String, Object> variables) protected void
populateDeprecatedCommonHelperUtilities
(Map<String, Object> variables) protected void
populateExtraHelperUtilities
(Map<String, Object> variables, boolean restricted) void
prepare
(Map<String, Object> contextObjects, javax.servlet.http.HttpServletRequest httpServletRequest) protected void
prepareTiles
(Map<String, Object> contextObjects, javax.servlet.http.HttpServletRequest httpServletRequest) void
-
Constructor Details
-
TemplateContextHelper
public TemplateContextHelper()
-
-
Method Details
-
getTemplateVariableGroups
public static Map<String,com.liferay.portal.kernel.template.TemplateVariableGroup> getTemplateVariableGroups(long classNameId, long classPK, String language, Locale locale) throws Exception - Throws:
Exception
-
destory
public void destory() -
getHelperUtilities
-
getRestrictedVariables
-
init
public void init(org.osgi.framework.BundleContext bundleContext) -
prepare
-
removeAllHelperUtilities
public void removeAllHelperUtilities() -
getTemplateContextContributors
protected Iterable<com.liferay.portal.kernel.template.TemplateContextContributor> getTemplateContextContributors() -
populateCommonHelperUtilities
-
populateDeprecatedCommonHelperUtilities
-
populateExtraHelperUtilities
-
prepareTiles
-