Liferay 6.0.5

com.liferay.portal.service
Interface ThemeLocalService

All Known Implementing Classes:
ThemeLocalServiceBaseImpl, ThemeLocalServiceImpl, ThemeLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ThemeLocalService

The interface for the theme local service.

Never modify or reference this interface directly. Always use ThemeLocalServiceUtil to access the theme local service. Add custom service methods to ThemeLocalServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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.

See Also:
ThemeLocalServiceUtil, ThemeLocalServiceBaseImpl, ThemeLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 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<String> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
 List<String> init(String servletContextName, javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
 void uninstallThemes(List<String> themeIds)
           
 

Method Detail

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<String> init(javax.servlet.ServletContext servletContext,
                  String themesPath,
                  boolean loadFromServletContext,
                  String[] xmls,
                  PluginPackage pluginPackage)

init

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

uninstallThemes

void uninstallThemes(List<String> themeIds)

Liferay 6.0.5