001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link ThemeLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       ThemeLocalService
025     * @generated
026     */
027    public class ThemeLocalServiceWrapper implements ThemeLocalService {
028            public ThemeLocalServiceWrapper(ThemeLocalService themeLocalService) {
029                    _themeLocalService = themeLocalService;
030            }
031    
032            public com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
033                    java.lang.String themeId, java.lang.String colorSchemeId,
034                    boolean wapTheme)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _themeLocalService.getColorScheme(companyId, themeId,
037                            colorSchemeId, wapTheme);
038            }
039    
040            public com.liferay.portal.model.Theme getTheme(long companyId,
041                    java.lang.String themeId, boolean wapTheme)
042                    throws com.liferay.portal.kernel.exception.SystemException {
043                    return _themeLocalService.getTheme(companyId, themeId, wapTheme);
044            }
045    
046            public java.util.List<com.liferay.portal.model.Theme> getThemes(
047                    long companyId) {
048                    return _themeLocalService.getThemes(companyId);
049            }
050    
051            public java.util.List<com.liferay.portal.model.Theme> getThemes(
052                    long companyId, long groupId, long userId, boolean wapTheme)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
055            }
056    
057            public java.util.List<com.liferay.portal.model.Theme> getWARThemes() {
058                    return _themeLocalService.getWARThemes();
059            }
060    
061            public java.util.List<java.lang.String> init(
062                    javax.servlet.ServletContext servletContext,
063                    java.lang.String themesPath, boolean loadFromServletContext,
064                    java.lang.String[] xmls,
065                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
066                    return _themeLocalService.init(servletContext, themesPath,
067                            loadFromServletContext, xmls, pluginPackage);
068            }
069    
070            public java.util.List<java.lang.String> init(
071                    java.lang.String servletContextName,
072                    javax.servlet.ServletContext servletContext,
073                    java.lang.String themesPath, boolean loadFromServletContext,
074                    java.lang.String[] xmls,
075                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
076                    return _themeLocalService.init(servletContextName, servletContext,
077                            themesPath, loadFromServletContext, xmls, pluginPackage);
078            }
079    
080            public void uninstallThemes(java.util.List<java.lang.String> themeIds) {
081                    _themeLocalService.uninstallThemes(themeIds);
082            }
083    
084            public ThemeLocalService getWrappedThemeLocalService() {
085                    return _themeLocalService;
086            }
087    
088            private ThemeLocalService _themeLocalService;
089    }