Class ThemeLocalServiceUtil

Object
com.liferay.portal.kernel.service.ThemeLocalServiceUtil

public class ThemeLocalServiceUtil extends Object
Provides the local service utility for Theme. This utility wraps com.liferay.portal.service.impl.ThemeLocalServiceImpl and is an 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.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • ThemeLocalServiceUtil

      public ThemeLocalServiceUtil()
  • Method Details

    • 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)
    • getControlPanelThemes

      public static List<Theme> getControlPanelThemes(long companyId, long userId)
    • 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)
    • getPortletDecorator

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

      public static Theme getTheme(long companyId, String themeId)
    • getThemes

      public static List<Theme> getThemes(long companyId)
    • 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()
    • setService

      public static void setService(ThemeLocalService service)