@ProviderType
public class ThemeLocalServiceUtil
extends java.lang.Object
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
,
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 ColorScheme |
getColorScheme(long companyId,
java.lang.String themeId,
java.lang.String colorSchemeId) |
static java.util.List<Theme> |
getControlPanelThemes(long companyId,
long userId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static java.util.List<Theme> |
getPageThemes(long companyId,
long groupId,
long userId) |
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) |
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 Wilberforce (7.0.x), replaced by
getPageThemes(long, long, long) |
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 |
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 ColorScheme getColorScheme(long companyId, java.lang.String themeId, java.lang.String colorSchemeId)
public static java.util.List<Theme> getControlPanelThemes(long companyId, long userId)
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<Theme> getPageThemes(long companyId, long groupId, long userId)
public static PortletDecorator getPortletDecorator(long companyId, java.lang.String themeId, java.lang.String portletDecoratorId)
public static Theme getTheme(long companyId, java.lang.String themeId)
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)
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 uninstallThemes(java.util.List<Theme> themes)
public static ThemeLocalService getService()