Liferay 7.0-ce-b8 portal-service

com.liferay.portal.kernel.service
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.

See Also:
ThemeLocalServiceUtil, com.liferay.portal.service.base.ThemeLocalServiceBaseImpl, com.liferay.portal.service.impl.ThemeLocalServiceImpl
{$generated.description}

Method Summary
 ColorScheme fetchColorScheme(long companyId, String themeId, String colorSchemeId)
           
 PortletDecorator fetchPortletDecorator(long companyId, String themeId, String colorSchemeId)
           
 Theme fetchTheme(long companyId, String themeId)
           
 ColorScheme getColorScheme(long companyId, String themeId, String colorSchemeId)
           
 List<Theme> getControlPanelThemes(long companyId, long userId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 List<Theme> getPageThemes(long companyId, long groupId, long userId)
           
 PortletDecorator getPortletDecorator(long companyId, String themeId, String portletDecoratorId)
           
 Theme getTheme(long companyId, String themeId)
           
 List<Theme> getThemes(long companyId)
           
 List<Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
          Deprecated. As of 7.0.0, replaced by getPageThemes(long, long, long)
 List<Theme> getWARThemes()
           
 List<Theme> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
 List<Theme> init(String servletContextName, javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
 void uninstallThemes(List<Theme> themes)
           
 

Method Detail

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Theme getTheme(long companyId,
                                                        String themeId)

getThemes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Theme> getThemes(long companyId)

getThemes

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Theme> getThemes(long companyId,
                                                                          long groupId,
                                                                          long userId,
                                                                          boolean wapTheme)
Deprecated. As of 7.0.0, replaced by getPageThemes(long, long, long)


getWARThemes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Theme> getWARThemes()

init

List<Theme> init(javax.servlet.ServletContext servletContext,
                 String themesPath,
                 boolean loadFromServletContext,
                 String[] xmls,
                 PluginPackage pluginPackage)

init

List<Theme> init(String servletContextName,
                 javax.servlet.ServletContext servletContext,
                 String themesPath,
                 boolean loadFromServletContext,
                 String[] xmls,
                 PluginPackage pluginPackage)

uninstallThemes

void uninstallThemes(List<Theme> themes)

Liferay 7.0-ce-b8 portal-service