Liferay 7.0-ce-b4

com.liferay.portal.service
Class ThemeLocalServiceUtil

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

@ProviderType
public class ThemeLocalServiceUtil
extends Object

Provides the local service utility for Theme. This utility wraps ThemeLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server. 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 it is generated.

Constructor Summary
ThemeLocalServiceUtil()
           
 
Method Summary
static ColorScheme fetchColorScheme(long companyId, String themeId, String colorSchemeId)
           
static PortletDecorator fetchPortletDecorator(long companyId, String themeId, String colorSchemeId)
           
static Theme fetchTheme(long companyId, String themeId)
           
static ColorScheme getColorScheme(long companyId, String themeId, String colorSchemeId, boolean wapTheme)
           
static List<Theme> getControlPanelThemes(long companyId, long userId, boolean wapTheme)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static List<Theme> getPageThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
static PortletDecorator getPortletDecorator(long companyId, String themeId, String portletDecoratorId)
           
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)
          Deprecated. As of 7.0.0, replaced by getPageThemes(long, long, long, boolean)
static List<Theme> getWARThemes()
           
static List<Theme> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
static List<Theme> init(String servletContextName, javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
static void uninstallThemes(List<Theme> themes)
           
 
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

fetchColorScheme

public static ColorScheme fetchColorScheme(long companyId,
                                           String themeId,
                                           String colorSchemeId)

fetchPortletDecorator

public static PortletDecorator fetchPortletDecorator(long companyId,
                                                     String themeId,
                                                     String colorSchemeId)

fetchTheme

public static Theme fetchTheme(long companyId,
                               String themeId)

getColorScheme

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

getControlPanelThemes

public static List<Theme> getControlPanelThemes(long companyId,
                                                long userId,
                                                boolean wapTheme)

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getPageThemes

public static List<Theme> getPageThemes(long companyId,
                                        long groupId,
                                        long userId,
                                        boolean wapTheme)

getPortletDecorator

public static PortletDecorator getPortletDecorator(long companyId,
                                                   String themeId,
                                                   String portletDecoratorId)

getTheme

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

getThemes

public static List<Theme> getThemes(long companyId)

getThemes

@Deprecated
public static List<Theme> getThemes(long companyId,
                                               long groupId,
                                               long userId,
                                               boolean wapTheme)
Deprecated. As of 7.0.0, replaced by getPageThemes(long, long, long, boolean)


getWARThemes

public static List<Theme> getWARThemes()

init

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

init

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

uninstallThemes

public static void uninstallThemes(List<Theme> themes)

getService

public static ThemeLocalService getService()

Liferay 7.0-ce-b4