com.liferay.portal.service
Interface ThemeLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ThemeLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.ThemeLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. 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:
ThemeLocalServiceUtil

Method Summary
 ColorScheme getColorScheme(long companyId, java.lang.String themeId, java.lang.String colorSchemeId, boolean wapTheme)
           
 Theme getTheme(long companyId, java.lang.String themeId, boolean wapTheme)
           
 java.util.List<Theme> getThemes(long companyId)
           
 java.util.List<Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
 java.util.List<java.lang.String> init(javax.servlet.ServletContext servletContext, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
 java.util.List<java.lang.String> init(java.lang.String servletContextName, javax.servlet.ServletContext servletContext, java.lang.String themesPath, boolean loadFromServletContext, java.lang.String[] xmls, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
 void uninstallThemes(java.util.List<java.lang.String> themeIds)
           
 

Method Detail

getColorScheme

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ColorScheme getColorScheme(long companyId,
                                         java.lang.String themeId,
                                         java.lang.String colorSchemeId,
                                         boolean wapTheme)

getTheme

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Theme getTheme(long companyId,
                             java.lang.String themeId,
                             boolean wapTheme)

getThemes

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

getThemes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Theme> getThemes(long companyId,
                                              long groupId,
                                              long userId,
                                              boolean wapTheme)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

init

java.util.List<java.lang.String> init(javax.servlet.ServletContext servletContext,
                                      java.lang.String themesPath,
                                      boolean loadFromServletContext,
                                      java.lang.String[] xmls,
                                      com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)

init

java.util.List<java.lang.String> init(java.lang.String servletContextName,
                                      javax.servlet.ServletContext servletContext,
                                      java.lang.String themesPath,
                                      boolean loadFromServletContext,
                                      java.lang.String[] xmls,
                                      com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)

uninstallThemes

void uninstallThemes(java.util.List<java.lang.String> themeIds)