Class ThemeUtil

Object
com.liferay.portal.kernel.theme.ThemeUtil

public class ThemeUtil extends Object
Author:
Brian Wing Shun Chan, Brian Myunghun Kim, Raymond Augé, Mika Koivisto, Shuyang Zhou
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    static String
    getPortletId(javax.servlet.http.HttpServletRequest httpServletRequest)
     
    static void
    include(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme)
     
    static String
    include(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String path, Theme theme, boolean write)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ThemeUtil

      public ThemeUtil()
  • Method Details

    • getPortletId

      public static String getPortletId(javax.servlet.http.HttpServletRequest httpServletRequest)
    • 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