com.liferay.taglib.util
Class ThemeUtil

java.lang.Object
  extended by com.liferay.taglib.util.ThemeUtil

public class ThemeUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan, Brian Myunghun Kim, Raymond Augé, Mika Koivisto, Shuyang Zhou

Constructor Summary
ThemeUtil()
           
 
Method Summary
protected static java.lang.String doDispatch(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.PageContext pageContext, java.lang.String path, com.liferay.portal.model.Theme theme, boolean write, java.lang.String extension)
           
protected static java.lang.String doIncludeFTL(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.jsp.PageContext pageContext, java.lang.String path, com.liferay.portal.model.Theme theme, boolean write)
           
protected static void doIncludeJSP(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path, com.liferay.portal.model.Theme theme)
           
protected static java.lang.String doIncludeVM(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.jsp.PageContext pageContext, java.lang.String page, com.liferay.portal.model.Theme theme, boolean write)
           
static java.lang.String getPortletId(javax.servlet.http.HttpServletRequest request)
           
static void include(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.jsp.PageContext pageContext, java.lang.String path, com.liferay.portal.model.Theme theme)
           
static java.lang.String includeFTL(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.jsp.PageContext pageContext, java.lang.String path, com.liferay.portal.model.Theme theme, boolean write)
           
static void includeJSP(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path, com.liferay.portal.model.Theme theme)
           
static java.lang.String includeVM(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.jsp.PageContext pageContext, java.lang.String path, com.liferay.portal.model.Theme theme, boolean write)
           
protected static void insertTilesVariables(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeUtil

public ThemeUtil()
Method Detail

getPortletId

public static java.lang.String getPortletId(javax.servlet.http.HttpServletRequest request)

include

public static void include(javax.servlet.ServletContext servletContext,
                           javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           javax.servlet.jsp.PageContext pageContext,
                           java.lang.String path,
                           com.liferay.portal.model.Theme theme)
                    throws java.lang.Exception
Throws:
java.lang.Exception

includeFTL

public static java.lang.String includeFTL(javax.servlet.ServletContext servletContext,
                                          javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.jsp.PageContext pageContext,
                                          java.lang.String path,
                                          com.liferay.portal.model.Theme theme,
                                          boolean write)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

includeJSP

public static void includeJSP(javax.servlet.ServletContext servletContext,
                              javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response,
                              java.lang.String path,
                              com.liferay.portal.model.Theme theme)
                       throws java.lang.Exception
Throws:
java.lang.Exception

includeVM

public static java.lang.String includeVM(javax.servlet.ServletContext servletContext,
                                         javax.servlet.http.HttpServletRequest request,
                                         javax.servlet.jsp.PageContext pageContext,
                                         java.lang.String path,
                                         com.liferay.portal.model.Theme theme,
                                         boolean write)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

doDispatch

protected static java.lang.String doDispatch(javax.servlet.ServletContext servletContext,
                                             javax.servlet.http.HttpServletRequest request,
                                             javax.servlet.http.HttpServletResponse response,
                                             javax.servlet.jsp.PageContext pageContext,
                                             java.lang.String path,
                                             com.liferay.portal.model.Theme theme,
                                             boolean write,
                                             java.lang.String extension)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

doIncludeFTL

protected static java.lang.String doIncludeFTL(javax.servlet.ServletContext servletContext,
                                               javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.jsp.PageContext pageContext,
                                               java.lang.String path,
                                               com.liferay.portal.model.Theme theme,
                                               boolean write)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

doIncludeJSP

protected static void doIncludeJSP(javax.servlet.ServletContext servletContext,
                                   javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response,
                                   java.lang.String path,
                                   com.liferay.portal.model.Theme theme)
                            throws java.lang.Exception
Throws:
java.lang.Exception

doIncludeVM

protected static java.lang.String doIncludeVM(javax.servlet.ServletContext servletContext,
                                              javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.jsp.PageContext pageContext,
                                              java.lang.String page,
                                              com.liferay.portal.model.Theme theme,
                                              boolean write)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

insertTilesVariables

protected static void insertTilesVariables(javax.servlet.http.HttpServletRequest request)