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) throws com.liferay.portal.SystemException {
42          return _themeLocalService.getColorScheme(companyId, themeId,
43              colorSchemeId, wapTheme);
44      }
45  
46      public com.liferay.portal.model.Theme getTheme(long companyId,
47          java.lang.String themeId, boolean wapTheme)
48          throws com.liferay.portal.SystemException {
49          return _themeLocalService.getTheme(companyId, themeId, wapTheme);
50      }
51  
52      public java.util.List<com.liferay.portal.model.Theme> getThemes(
53          long companyId) {
54          return _themeLocalService.getThemes(companyId);
55      }
56  
57      public java.util.List<com.liferay.portal.model.Theme> getThemes(
58          long companyId, long groupId, long userId, boolean wapTheme)
59          throws com.liferay.portal.SystemException {
60          return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
61      }
62  
63      public java.util.List<com.liferay.portal.model.Theme> getWARThemes() {
64          return _themeLocalService.getWARThemes();
65      }
66  
67      public java.util.List<String> init(
68          javax.servlet.ServletContext servletContext,
69          java.lang.String themesPath, boolean loadFromServletContext,
70          java.lang.String[] xmls,
71          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
72          return _themeLocalService.init(servletContext, themesPath,
73              loadFromServletContext, xmls, pluginPackage);
74      }
75  
76      public java.util.List<String> init(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<String> themeIds) {
86          _themeLocalService.uninstallThemes(themeIds);
87      }
88  
89      public ThemeLocalService getWrappedThemeLocalService() {
90          return _themeLocalService;
91      }
92  
93      private ThemeLocalService _themeLocalService;
94  }