1
22
23 package com.liferay.portal.service;
24
25
26
47 public class ThemeLocalServiceUtil {
48 public static com.liferay.portal.model.ColorScheme getColorScheme(
49 long companyId, java.lang.String themeId,
50 java.lang.String colorSchemeId, boolean wapTheme) {
51 return _service.getColorScheme(companyId, themeId, colorSchemeId,
52 wapTheme);
53 }
54
55 public static com.liferay.portal.model.Theme getTheme(long companyId,
56 java.lang.String themeId, boolean wapTheme) {
57 return _service.getTheme(companyId, themeId, wapTheme);
58 }
59
60 public static java.util.List<com.liferay.portal.model.Theme> getThemes(
61 long companyId) {
62 return _service.getThemes(companyId);
63 }
64
65 public static java.util.List<com.liferay.portal.model.Theme> getThemes(
66 long companyId, long groupId, long userId, boolean wapTheme)
67 throws com.liferay.portal.PortalException,
68 com.liferay.portal.SystemException {
69 return _service.getThemes(companyId, groupId, userId, wapTheme);
70 }
71
72 public static java.util.List<String> init(
73 javax.servlet.ServletContext servletContext,
74 java.lang.String themesPath, boolean loadFromServletContext,
75 java.lang.String[] xmls,
76 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
77 return _service.init(servletContext, themesPath,
78 loadFromServletContext, xmls, pluginPackage);
79 }
80
81 public static java.util.List<String> init(
82 java.lang.String servletContextName,
83 javax.servlet.ServletContext servletContext,
84 java.lang.String themesPath, boolean loadFromServletContext,
85 java.lang.String[] xmls,
86 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
87 return _service.init(servletContextName, servletContext, themesPath,
88 loadFromServletContext, xmls, pluginPackage);
89 }
90
91 public static void uninstallThemes(java.util.List<String> themeIds) {
92 _service.uninstallThemes(themeIds);
93 }
94
95 public static ThemeLocalService getService() {
96 return _service;
97 }
98
99 public void setService(ThemeLocalService service) {
100 _service = service;
101 }
102
103 private static ThemeLocalService _service;
104 }