com.liferay.portal.service
Class ThemeLocalServiceUtil
java.lang.Object
com.liferay.portal.service.ThemeLocalServiceUtil
public class ThemeLocalServiceUtil
- extends Object
The utility for the theme local service. This utility wraps com.liferay.portal.service.impl.ThemeLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server.
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:
ThemeLocalService,
ThemeLocalServiceBaseImpl,
com.liferay.portal.service.impl.ThemeLocalServiceImpl
|
Method Summary |
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static ColorScheme |
getColorScheme(long companyId,
String themeId,
String colorSchemeId,
boolean wapTheme)
|
static ThemeLocalService |
getService()
|
static Theme |
getTheme(long companyId,
String themeId,
boolean wapTheme)
|
static List<Theme> |
getThemes(long companyId)
|
static List<Theme> |
getThemes(long companyId,
long groupId,
long userId,
boolean wapTheme)
|
static List<Theme> |
getWARThemes()
|
static List<String> |
init(javax.servlet.ServletContext servletContext,
String themesPath,
boolean loadFromServletContext,
String[] xmls,
PluginPackage pluginPackage)
|
static List<String> |
init(String servletContextName,
javax.servlet.ServletContext servletContext,
String themesPath,
boolean loadFromServletContext,
String[] xmls,
PluginPackage pluginPackage)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(ThemeLocalService service)
|
static void |
uninstallThemes(List<String> themeIds)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeLocalServiceUtil
public ThemeLocalServiceUtil()
getBeanIdentifier
public static String getBeanIdentifier()
- Returns the Spring bean ID for this bean.
- Returns:
- the Spring bean ID for this bean
setBeanIdentifier
public static void setBeanIdentifier(String beanIdentifier)
- Sets the Spring bean ID for this bean.
- Parameters:
beanIdentifier - the Spring bean ID for this bean
getColorScheme
public static ColorScheme getColorScheme(long companyId,
String themeId,
String colorSchemeId,
boolean wapTheme)
throws SystemException
- Throws:
SystemException
getTheme
public static Theme getTheme(long companyId,
String themeId,
boolean wapTheme)
throws SystemException
- Throws:
SystemException
getThemes
public static List<Theme> getThemes(long companyId)
getThemes
public static List<Theme> getThemes(long companyId,
long groupId,
long userId,
boolean wapTheme)
throws SystemException
- Throws:
SystemException
getWARThemes
public static List<Theme> getWARThemes()
init
public static List<String> init(javax.servlet.ServletContext servletContext,
String themesPath,
boolean loadFromServletContext,
String[] xmls,
PluginPackage pluginPackage)
init
public static List<String> init(String servletContextName,
javax.servlet.ServletContext servletContext,
String themesPath,
boolean loadFromServletContext,
String[] xmls,
PluginPackage pluginPackage)
uninstallThemes
public static void uninstallThemes(List<String> themeIds)
getService
public static ThemeLocalService getService()
setService
public void setService(ThemeLocalService service)