Liferay 6.2-ce-ga5

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)
           
 Theme getTheme(long companyId, String themeId, boolean wapTheme)
           
 List<Theme> getThemes(long companyId)
           
 List<Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
 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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

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)

getColorScheme

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ColorScheme getColorScheme(long companyId,
                                                                    String themeId,
                                                                    String colorSchemeId,
                                                                    boolean wapTheme)
                           throws SystemException
Throws:
SystemException

getTheme

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Theme getTheme(long companyId,
                                                        String themeId,
                                                        boolean wapTheme)
               throws SystemException
Throws:
SystemException

getThemes

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

getThemes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Theme> getThemes(long companyId,
                                                               long groupId,
                                                               long userId,
                                                               boolean wapTheme)
                      throws SystemException
Throws:
SystemException

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 6.2-ce-ga5