1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="ThemeLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link ThemeLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ThemeLocalService
32   * @generated
33   */
34  public class ThemeLocalServiceWrapper implements ThemeLocalService {
35      public ThemeLocalServiceWrapper(ThemeLocalService themeLocalService) {
36          _themeLocalService = themeLocalService;
37      }
38  
39      public com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
40          java.lang.String themeId, java.lang.String colorSchemeId,
41          boolean wapTheme)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _themeLocalService.getColorScheme(companyId, themeId,
44              colorSchemeId, wapTheme);
45      }
46  
47      public com.liferay.portal.model.Theme getTheme(long companyId,
48          java.lang.String themeId, boolean wapTheme)
49          throws com.liferay.portal.kernel.exception.SystemException {
50          return _themeLocalService.getTheme(companyId, themeId, wapTheme);
51      }
52  
53      public java.util.List<com.liferay.portal.model.Theme> getThemes(
54          long companyId) {
55          return _themeLocalService.getThemes(companyId);
56      }
57  
58      public java.util.List<com.liferay.portal.model.Theme> getThemes(
59          long companyId, long groupId, long userId, boolean wapTheme)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
62      }
63  
64      public java.util.List<com.liferay.portal.model.Theme> getWARThemes() {
65          return _themeLocalService.getWARThemes();
66      }
67  
68      public java.util.List<String> init(
69          javax.servlet.ServletContext servletContext,
70          java.lang.String themesPath, boolean loadFromServletContext,
71          java.lang.String[] xmls,
72          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
73          return _themeLocalService.init(servletContext, themesPath,
74              loadFromServletContext, xmls, pluginPackage);
75      }
76  
77      public java.util.List<String> init(java.lang.String servletContextName,
78          javax.servlet.ServletContext servletContext,
79          java.lang.String themesPath, boolean loadFromServletContext,
80          java.lang.String[] xmls,
81          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
82          return _themeLocalService.init(servletContextName, servletContext,
83              themesPath, loadFromServletContext, xmls, pluginPackage);
84      }
85  
86      public void uninstallThemes(java.util.List<String> themeIds) {
87          _themeLocalService.uninstallThemes(themeIds);
88      }
89  
90      public ThemeLocalService getWrappedThemeLocalService() {
91          return _themeLocalService;
92      }
93  
94      private ThemeLocalService _themeLocalService;
95  }