Liferay 7.0-ce-b4

com.liferay.portal.service
Interface ThemeLocalService

All Superinterfaces:
BaseLocalService
All Known Implementing Classes:
ThemeLocalServiceBaseImpl, ThemeLocalServiceImpl, 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, ThemeLocalServiceBaseImpl, ThemeLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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, boolean wapTheme)
           
 List<Theme> getControlPanelThemes(long companyId, long userId, boolean wapTheme)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 List<Theme> getPageThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
 PortletDecorator getPortletDecorator(long companyId, String themeId, String portletDecoratorId)
           
 Theme getTheme(long companyId, String themeId, boolean wapTheme)
           
 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, boolean)
 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,
                                                                    boolean wapTheme)

getControlPanelThemes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Theme> getControlPanelThemes(long companyId,
                                                                           long userId,
                                                                           boolean wapTheme)

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,
                                                                   boolean wapTheme)

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,
                                                        boolean wapTheme)

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, boolean)


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-b4