1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="ThemeLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link ThemeLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ThemeLocalService
31   * @generated
32   */
33  public class ThemeLocalServiceWrapper implements ThemeLocalService {
34      public ThemeLocalServiceWrapper(ThemeLocalService themeLocalService) {
35          _themeLocalService = themeLocalService;
36      }
37  
38      public com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
39          java.lang.String themeId, java.lang.String colorSchemeId,
40          boolean wapTheme) throws com.liferay.portal.SystemException {
41          return _themeLocalService.getColorScheme(companyId, themeId,
42              colorSchemeId, wapTheme);
43      }
44  
45      public com.liferay.portal.model.Theme getTheme(long companyId,
46          java.lang.String themeId, boolean wapTheme)
47          throws com.liferay.portal.SystemException {
48          return _themeLocalService.getTheme(companyId, themeId, wapTheme);
49      }
50  
51      public java.util.List<com.liferay.portal.model.Theme> getThemes(
52          long companyId) {
53          return _themeLocalService.getThemes(companyId);
54      }
55  
56      public java.util.List<com.liferay.portal.model.Theme> getThemes(
57          long companyId, long groupId, long userId, boolean wapTheme)
58          throws com.liferay.portal.SystemException {
59          return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
60      }
61  
62      public java.util.List<com.liferay.portal.model.Theme> getWARThemes() {
63          return _themeLocalService.getWARThemes();
64      }
65  
66      public java.util.List<java.lang.String> init(
67          javax.servlet.ServletContext servletContext,
68          java.lang.String themesPath, boolean loadFromServletContext,
69          java.lang.String[] xmls,
70          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
71          return _themeLocalService.init(servletContext, themesPath,
72              loadFromServletContext, xmls, pluginPackage);
73      }
74  
75      public java.util.List<java.lang.String> init(
76          java.lang.String servletContextName,
77          javax.servlet.ServletContext servletContext,
78          java.lang.String themesPath, boolean loadFromServletContext,
79          java.lang.String[] xmls,
80          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
81          return _themeLocalService.init(servletContextName, servletContext,
82              themesPath, loadFromServletContext, xmls, pluginPackage);
83      }
84  
85      public void uninstallThemes(java.util.List<java.lang.String> themeIds) {
86          _themeLocalService.uninstallThemes(themeIds);
87      }
88  
89      public ThemeLocalService getWrappedThemeLocalService() {
90          return _themeLocalService;
91      }
92  
93      private ThemeLocalService _themeLocalService;
94  }