@ProviderType
public class ThemeLocalServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.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.ThemeLocalService,
ThemeLocalServiceBaseImpl,
com.liferay.portal.service.impl.ThemeLocalServiceImpl| Constructor and Description |
|---|
ThemeLocalServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ColorScheme |
fetchColorScheme(long companyId,
java.lang.String themeId,
java.lang.String colorSchemeId) |
static PortletDecorator |
fetchPortletDecorator(long companyId,
java.lang.String themeId,
java.lang.String colorSchemeId) |
static Theme |
fetchTheme(long companyId,
java.lang.String themeId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static ColorScheme |
getColorScheme(long companyId,
java.lang.String themeId,
java.lang.String colorSchemeId,
boolean wapTheme) |
static java.util.List<Theme> |
getControlPanelThemes(long companyId,
long userId,
boolean wapTheme) |
static java.util.List<Theme> |
getPageThemes(long companyId,
long groupId,
long userId,
boolean wapTheme) |
static PortletDecorator |
getPortletDecorator(long companyId,
java.lang.String themeId,
java.lang.String portletDecoratorId) |
static ThemeLocalService |
getService() |
static Theme |
getTheme(long companyId,
java.lang.String themeId,
boolean wapTheme) |
static java.util.List<Theme> |
getThemes(long companyId) |
static java.util.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 java.util.List<Theme> |
getWARThemes() |
static java.util.List<Theme> |
init(javax.servlet.ServletContext servletContext,
java.lang.String themesPath,
boolean loadFromServletContext,
java.lang.String[] xmls,
PluginPackage pluginPackage) |
static java.util.List<Theme> |
init(java.lang.String servletContextName,
javax.servlet.ServletContext servletContext,
java.lang.String themesPath,
boolean loadFromServletContext,
java.lang.String[] xmls,
PluginPackage pluginPackage) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(ThemeLocalService service)
Deprecated.
As of 6.2.0
|
static void |
uninstallThemes(java.util.List<Theme> themes) |
public static ColorScheme fetchColorScheme(long companyId, java.lang.String themeId, java.lang.String colorSchemeId)
public static PortletDecorator fetchPortletDecorator(long companyId, java.lang.String themeId, java.lang.String colorSchemeId)
public static Theme fetchTheme(long companyId, java.lang.String themeId)
public static java.lang.String getBeanIdentifier()
public static ColorScheme getColorScheme(long companyId, java.lang.String themeId, java.lang.String colorSchemeId, boolean wapTheme)
public static java.util.List<Theme> getControlPanelThemes(long companyId, long userId, boolean wapTheme)
public static java.util.List<Theme> getPageThemes(long companyId, long groupId, long userId, boolean wapTheme)
public static PortletDecorator getPortletDecorator(long companyId, java.lang.String themeId, java.lang.String portletDecoratorId)
public static Theme getTheme(long companyId, java.lang.String themeId, boolean wapTheme)
public static java.util.List<Theme> getThemes(long companyId)
@Deprecated public static java.util.List<Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
getPageThemes(long, long, long, boolean)public static java.util.List<Theme> getWARThemes()
public static java.util.List<Theme> init(javax.servlet.ServletContext servletContext, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, PluginPackage pluginPackage)
public static java.util.List<Theme> init(java.lang.String servletContextName, javax.servlet.ServletContext servletContext, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, PluginPackage pluginPackage)
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static void uninstallThemes(java.util.List<Theme> themes)
public static ThemeLocalService getService()
@Deprecated public void setService(ThemeLocalService service)