com.liferay.portal.service
Class ThemeLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.ThemeLocalServiceUtil

public class ThemeLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.ThemeLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
ThemeLocalService

Constructor Summary
ThemeLocalServiceUtil()
           
 
Method Summary
static ColorScheme getColorScheme(long companyId, java.lang.String themeId, java.lang.String colorSchemeId, boolean wapTheme)
           
static ThemeLocalService getService()
           
static Theme getTheme(long companyId, java.lang.String themeId, boolean wapTheme)
           
static java.util.List<Theme> getThemes(long companyId)
           
static java.util.List<Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
static java.util.List<java.lang.String> init(javax.servlet.ServletContext servletContext, 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 servletContext, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
 void setService(ThemeLocalService service)
           
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

ThemeLocalServiceUtil

public ThemeLocalServiceUtil()
Method Detail

getColorScheme

public static ColorScheme getColorScheme(long companyId,
                                         java.lang.String themeId,
                                         java.lang.String colorSchemeId,
                                         boolean wapTheme)

getTheme

public static Theme getTheme(long companyId,
                             java.lang.String themeId,
                             boolean wapTheme)

getThemes

public static java.util.List<Theme> getThemes(long companyId)

getThemes

public static java.util.List<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 servletContext,
                                                    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 servletContext,
                                                    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)

getService

public static ThemeLocalService getService()

setService

public void setService(ThemeLocalService service)