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          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          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<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<String> init(java.lang.String servletContextName,
76          javax.servlet.ServletContext servletContext,
77          java.lang.String themesPath, boolean loadFromServletContext,
78          java.lang.String[] xmls,
79          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
80          return _themeLocalService.init(servletContextName, servletContext,
81              themesPath, loadFromServletContext, xmls, pluginPackage);
82      }
83  
84      public void uninstallThemes(java.util.List<String> themeIds) {
85          _themeLocalService.uninstallThemes(themeIds);
86      }
87  
88      public ThemeLocalService getWrappedThemeLocalService() {
89          return _themeLocalService;
90      }
91  
92      private ThemeLocalService _themeLocalService;
93  }