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(jakarta.servlet.ServletContext servletContext, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean restricted, boolean write) static StringgetPortletId(jakarta.servlet.http.HttpServletRequest httpServletRequest) static voidinclude(jakarta.servlet.ServletContext servletContext, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme) static Stringinclude(jakarta.servlet.ServletContext servletContext, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean write)
-
Constructor Details
-
ThemeUtil
public ThemeUtil()
-
-
Method Details
-
getPortletId
-
include
public static void include(jakarta.servlet.ServletContext servletContext, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme) throws Exception - Throws:
Exception
-
include
public static String include(jakarta.servlet.ServletContext servletContext, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean write) throws Exception - Throws:
Exception
-
doIncludeFTL
protected static String doIncludeFTL(jakarta.servlet.ServletContext servletContext, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean restricted, boolean write) throws Exception - Throws:
Exception
-