com.liferay.portal.service
Class ThemeLocalServiceUtil
java.lang.Object
com.liferay.portal.service.ThemeLocalServiceUtil
public class ThemeLocalServiceUtil
- extends Object
This class provides static methods for the
ThemeLocalService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
ThemeLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
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)
|
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()
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)