Interface ThemeLocalService
- All Superinterfaces:
BaseLocalService
- All Known Implementing Classes:
ThemeLocalServiceWrapper
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ThemeLocalService
extends BaseLocalService
Provides the local service interface for Theme. 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}
-
Method Summary
Modifier and TypeMethodDescriptionfetchColorScheme
(long companyId, String themeId, String colorSchemeId) fetchPortletDecorator
(long companyId, String themeId, String colorSchemeId) fetchTheme
(long companyId, String themeId) getColorScheme
(long companyId, String themeId, String colorSchemeId) getControlPanelThemes
(long companyId, long userId) Returns the OSGi service identifier.getPageThemes
(long companyId, long groupId, long userId) getPortletDecorator
(long companyId, String themeId, String portletDecoratorId) 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) void
uninstallThemes
(List<Theme> themes)
-
Method Details
-
fetchColorScheme
@Transactional(propagation=SUPPORTS, readOnly=true) ColorScheme fetchColorScheme(long companyId, String themeId, String colorSchemeId) -
fetchPortletDecorator
@Transactional(propagation=SUPPORTS, readOnly=true) PortletDecorator fetchPortletDecorator(long companyId, String themeId, String colorSchemeId) -
fetchTheme
@Transactional(propagation=SUPPORTS, readOnly=true) Theme fetchTheme(long companyId, String themeId) -
getColorScheme
@Transactional(propagation=SUPPORTS, readOnly=true) ColorScheme getColorScheme(long companyId, String themeId, String colorSchemeId) -
getControlPanelThemes
@Transactional(propagation=SUPPORTS, readOnly=true) List<Theme> getControlPanelThemes(long companyId, long userId) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPageThemes
@Transactional(propagation=SUPPORTS, readOnly=true) List<Theme> getPageThemes(long companyId, long groupId, long userId) -
getPortletDecorator
@Transactional(propagation=SUPPORTS, readOnly=true) PortletDecorator getPortletDecorator(long companyId, String themeId, String portletDecoratorId) -
getTheme
-
getThemes
-
getWARThemes
-
init
List<Theme> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage) -
init
-
uninstallThemes
-