com.liferay.portal.service
Interface ThemeLocalService
- All Known Implementing Classes:
- ThemeLocalServiceBaseImpl, ThemeLocalServiceImpl, ThemeLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ThemeLocalService
This interface defines the service. The default implementation is
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.
- See Also:
ThemeLocalServiceUtil- 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)
|
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)