public class ThemeLocalServiceUtil
extends Object
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.ThemeLocalService
Constructor and Description |
---|
ThemeLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
static List<Theme> |
getControlPanelThemes(long companyId,
long userId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static List<Theme> |
getPageThemes(long companyId,
long groupId,
long userId) |
static PortletDecorator |
getPortletDecorator(long companyId,
String themeId,
String portletDecoratorId) |
static ThemeLocalService |
getService() |
static Theme |
getTheme(long companyId,
String themeId) |
static List<Theme> |
getThemes(long companyId) |
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 |
setService(ThemeLocalService service) |
static void |
uninstallThemes(List<Theme> themes) |
public static ColorScheme fetchColorScheme(long companyId, String themeId, String colorSchemeId)
public static PortletDecorator fetchPortletDecorator(long companyId, String themeId, String colorSchemeId)
public static Theme fetchTheme(long companyId, String themeId)
public static ColorScheme getColorScheme(long companyId, String themeId, String colorSchemeId)
public static List<Theme> getControlPanelThemes(long companyId, long userId)
public static String getOSGiServiceIdentifier()
public static List<Theme> getPageThemes(long companyId, long groupId, long userId)
public static PortletDecorator getPortletDecorator(long companyId, String themeId, String portletDecoratorId)
public static Theme getTheme(long companyId, String themeId)
public static List<Theme> getThemes(long companyId)
public static List<Theme> getWARThemes()
public static List<Theme> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
public static List<Theme> init(String servletContextName, javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
public static void uninstallThemes(List<Theme> themes)
public static ThemeLocalService getService()
public static void setService(ThemeLocalService service)