com.liferay.portal.service
Class ThemeLocalServiceUtil

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

public class ThemeLocalServiceUtil
extends java.lang.Object

The utility for the theme local service. This utility wraps com.liferay.portal.service.impl.ThemeLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server.

Never modify this class directly. Add custom service methods to com.liferay.portal.service.impl.ThemeLocalServiceImpl and rerun ServiceBuilder to regenerate this class.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
ThemeLocalService, ThemeLocalServiceBaseImpl, com.liferay.portal.service.impl.ThemeLocalServiceImpl
Generated:

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<Theme> getWARThemes()
           
static java.util.List<java.lang.String> init(javax.servlet.ServletContext servletContext, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, 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, 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)
                                  throws SystemException
Throws:
SystemException

getTheme

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

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 SystemException
Throws:
SystemException

getWARThemes

public static java.util.List<Theme> getWARThemes()

init

public static java.util.List<java.lang.String> init(javax.servlet.ServletContext servletContext,
                                                    java.lang.String themesPath,
                                                    boolean loadFromServletContext,
                                                    java.lang.String[] xmls,
                                                    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,
                                                    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)