Package com.liferay.portal.kernel.theme
Class ThemeUtil
Object
com.liferay.portal.kernel.theme.ThemeUtil
- Author:
- Brian Wing Shun Chan, Brian Myunghun Kim, Raymond Augé, Mika Koivisto, Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringdoIncludeFTL(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean restricted, boolean write) static StringgetPortletId(javax.servlet.http.HttpServletRequest httpServletRequest) static voidinclude(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme) static Stringinclude(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean write)
-
Constructor Details
-
ThemeUtil
public ThemeUtil()
-
-
Method Details
-
getPortletId
-
include
public static void include(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme) throws Exception - Throws:
Exception
-
include
public static String include(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean write) throws Exception - Throws:
Exception
-
doIncludeFTL
protected static String doIncludeFTL(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean restricted, boolean write) throws Exception - Throws:
Exception
-