Class ThemeLocalServiceUtil
Object
com.liferay.portal.kernel.service.ThemeLocalServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorSchemefetchColorScheme(long companyId, String themeId, String colorSchemeId) static PortletDecoratorfetchPortletDecorator(long companyId, String themeId, String colorSchemeId) static ThemefetchTheme(long companyId, String themeId) static ColorSchemegetColorScheme(long companyId, String themeId, String colorSchemeId) getControlPanelThemes(long companyId, long userId) static StringReturns the OSGi service identifier.getPageThemes(long companyId, long groupId, long userId) static PortletDecoratorgetPortletDecorator(long companyId, String themeId, String portletDecoratorId) static ThemeLocalServicestatic ThemegetThemes(long companyId) init(String servletContextName, javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage) init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage) static voidsetService(ThemeLocalService service) static voiduninstallThemes(List<Theme> themes)
-
Constructor Details
-
ThemeLocalServiceUtil
public ThemeLocalServiceUtil()
-
-
Method Details
-
fetchColorScheme
-
fetchPortletDecorator
public static PortletDecorator fetchPortletDecorator(long companyId, String themeId, String colorSchemeId) -
fetchTheme
-
getColorScheme
-
getControlPanelThemes
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPageThemes
-
getPortletDecorator
public static PortletDecorator getPortletDecorator(long companyId, String themeId, String portletDecoratorId) -
getTheme
-
getThemes
-
getWARThemes
-
init
public static List<Theme> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage) -
init
-
uninstallThemes
-
getService
-
setService
-