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 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) getControlPanelThemes
(long companyId, long userId) static String
Returns the OSGi service identifier.getPageThemes
(long companyId, long groupId, long userId) static PortletDecorator
getPortletDecorator
(long companyId, String themeId, String portletDecoratorId) static ThemeLocalService
static Theme
getThemes
(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 void
setService
(ThemeLocalService service) static void
uninstallThemes
(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
-