Liferay 7.0-ce-m3

com.liferay.portal.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, ThemeLocalServiceBaseImpl, com.liferay.portal.service.impl.ThemeLocalServiceImpl

Method Summary
 ColorScheme fetchColorScheme(long companyId, String themeId, String colorSchemeId)
           
 Theme fetchTheme(long companyId, String themeId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 ColorScheme getColorScheme(long companyId, String themeId, String colorSchemeId, boolean wapTheme)
           
 List<Theme> getControlPanelThemes(long companyId, long userId, boolean wapTheme)
           
 List<Theme> getPageThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
 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 setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void uninstallThemes(List<Theme> themes)
           
 

Method Detail

fetchColorScheme

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ColorScheme fetchColorScheme(long companyId,
                                                                      String themeId,
                                                                      String colorSchemeId)

fetchTheme

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

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

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)

getPageThemes

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

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)

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

uninstallThemes

void uninstallThemes(List<Theme> themes)

Liferay 7.0-ce-m3