com.liferay.portal.service.impl
Class ThemeLocalUtil

java.lang.Object
  extended by com.liferay.portal.service.impl.ThemeLocalUtil

public class ThemeLocalUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer

Constructor Summary
ThemeLocalUtil()
           
 
Method Summary
static com.liferay.portal.model.ColorScheme getColorScheme(long companyId, java.lang.String themeId, java.lang.String colorSchemeId, boolean wapTheme)
           
static com.liferay.portal.model.Theme getTheme(long companyId, java.lang.String themeId, boolean wapTheme)
           
static java.util.List<com.liferay.portal.model.Theme> getThemes(long companyId)
           
static java.util.List<com.liferay.portal.model.Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
static java.util.List<java.lang.String> init(javax.servlet.ServletContext ctx, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
static java.util.List<java.lang.String> init(java.lang.String servletContextName, javax.servlet.ServletContext ctx, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
static void uninstallThemes(java.util.List<java.lang.String> themeIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeLocalUtil

public ThemeLocalUtil()
Method Detail

getColorScheme

public static com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
                                                                  java.lang.String themeId,
                                                                  java.lang.String colorSchemeId,
                                                                  boolean wapTheme)
                                                           throws com.liferay.portal.PortalException,
                                                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getTheme

public static com.liferay.portal.model.Theme getTheme(long companyId,
                                                      java.lang.String themeId,
                                                      boolean wapTheme)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getThemes

public static java.util.List<com.liferay.portal.model.Theme> getThemes(long companyId)

getThemes

public static java.util.List<com.liferay.portal.model.Theme> getThemes(long companyId,
                                                                       long groupId,
                                                                       long userId,
                                                                       boolean wapTheme)
                                                                throws com.liferay.portal.PortalException,
                                                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

init

public static java.util.List<java.lang.String> init(javax.servlet.ServletContext ctx,
                                                    java.lang.String themesPath,
                                                    boolean loadFromServletContext,
                                                    java.lang.String[] xmls,
                                                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)

init

public static java.util.List<java.lang.String> init(java.lang.String servletContextName,
                                                    javax.servlet.ServletContext ctx,
                                                    java.lang.String themesPath,
                                                    boolean loadFromServletContext,
                                                    java.lang.String[] xmls,
                                                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)

uninstallThemes

public static void uninstallThemes(java.util.List<java.lang.String> themeIds)