Liferay 6.0.5

com.liferay.portal.service
Class ThemeLocalServiceUtil

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

public class ThemeLocalServiceUtil
extends Object

The utility for the theme local service. This utility wraps 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 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.

See Also:
ThemeLocalService, ThemeLocalServiceBaseImpl, ThemeLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
ThemeLocalServiceUtil()
           
 
Method Summary
static ColorScheme getColorScheme(long companyId, String themeId, String colorSchemeId, boolean wapTheme)
           
static ThemeLocalService getService()
           
static Theme getTheme(long companyId, String themeId, boolean wapTheme)
           
static List<Theme> getThemes(long companyId)
           
static List<Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
static List<Theme> getWARThemes()
           
static List<String> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
static List<String> init(String servletContextName, javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
 void setService(ThemeLocalService service)
           
static void uninstallThemes(List<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,
                                         String themeId,
                                         String colorSchemeId,
                                         boolean wapTheme)
                                  throws SystemException
Throws:
SystemException

getTheme

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

getThemes

public static List<Theme> getThemes(long companyId)

getThemes

public static List<Theme> getThemes(long companyId,
                                    long groupId,
                                    long userId,
                                    boolean wapTheme)
                             throws SystemException
Throws:
SystemException

getWARThemes

public static List<Theme> getWARThemes()

init

public static List<String> init(javax.servlet.ServletContext servletContext,
                                String themesPath,
                                boolean loadFromServletContext,
                                String[] xmls,
                                PluginPackage pluginPackage)

init

public static List<String> init(String servletContextName,
                                javax.servlet.ServletContext servletContext,
                                String themesPath,
                                boolean loadFromServletContext,
                                String[] xmls,
                                PluginPackage pluginPackage)

uninstallThemes

public static void uninstallThemes(List<String> themeIds)

getService

public static ThemeLocalService getService()

setService

public void setService(ThemeLocalService service)

Liferay 6.0.5