com.liferay.portal.kernel.service
Class ThemeLocalServiceUtil
java.lang.Object
com.liferay.portal.kernel.service.ThemeLocalServiceUtil
@ProviderType
public class ThemeLocalServiceUtil
- extends Object
Provides the local service utility for Theme. This utility wraps
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.
- See Also:
ThemeLocalService,
com.liferay.portal.service.base.ThemeLocalServiceBaseImpl,
com.liferay.portal.service.impl.ThemeLocalServiceImpl- {$generated.description}
|
Method Summary |
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> |
getThemes(long companyId,
long groupId,
long userId,
boolean wapTheme)
Deprecated. As of 7.0.0, replaced by getPageThemes(long, long, long) |
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 |
uninstallThemes(List<Theme> themes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeLocalServiceUtil
public ThemeLocalServiceUtil()
fetchColorScheme
public static ColorScheme fetchColorScheme(long companyId,
String themeId,
String colorSchemeId)
getColorScheme
public static ColorScheme getColorScheme(long companyId,
String themeId,
String colorSchemeId)
fetchPortletDecorator
public static PortletDecorator fetchPortletDecorator(long companyId,
String themeId,
String colorSchemeId)
getPortletDecorator
public static PortletDecorator getPortletDecorator(long companyId,
String themeId,
String portletDecoratorId)
fetchTheme
public static Theme fetchTheme(long companyId,
String themeId)
getTheme
public static Theme getTheme(long companyId,
String themeId)
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getControlPanelThemes
public static List<Theme> getControlPanelThemes(long companyId,
long userId)
getPageThemes
public static List<Theme> getPageThemes(long companyId,
long groupId,
long userId)
getThemes
public static List<Theme> getThemes(long companyId)
getThemes
@Deprecated
public static List<Theme> getThemes(long companyId,
long groupId,
long userId,
boolean wapTheme)
- Deprecated. As of 7.0.0, replaced by
getPageThemes(long, long, long)
getWARThemes
public static List<Theme> getWARThemes()
init
public static List<Theme> init(String servletContextName,
javax.servlet.ServletContext servletContext,
String themesPath,
boolean loadFromServletContext,
String[] xmls,
PluginPackage pluginPackage)
init
public static List<Theme> init(javax.servlet.ServletContext servletContext,
String themesPath,
boolean loadFromServletContext,
String[] xmls,
PluginPackage pluginPackage)
uninstallThemes
public static void uninstallThemes(List<Theme> themes)
getService
public static ThemeLocalService getService()