001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link ThemeLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see ThemeLocalService
024     * @generated
025     */
026    @ProviderType
027    public class ThemeLocalServiceWrapper implements ThemeLocalService,
028            ServiceWrapper<ThemeLocalService> {
029            public ThemeLocalServiceWrapper(ThemeLocalService themeLocalService) {
030                    _themeLocalService = themeLocalService;
031            }
032    
033            @Override
034            public com.liferay.portal.model.ColorScheme fetchColorScheme(
035                    long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
036                    return _themeLocalService.fetchColorScheme(companyId, themeId,
037                            colorSchemeId);
038            }
039    
040            @Override
041            public com.liferay.portal.model.Theme fetchTheme(long companyId,
042                    java.lang.String themeId) {
043                    return _themeLocalService.fetchTheme(companyId, themeId);
044            }
045    
046            /**
047            * Returns the Spring bean ID for this bean.
048            *
049            * @return the Spring bean ID for this bean
050            */
051            @Override
052            public java.lang.String getBeanIdentifier() {
053                    return _themeLocalService.getBeanIdentifier();
054            }
055    
056            @Override
057            public com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
058                    java.lang.String themeId, java.lang.String colorSchemeId,
059                    boolean wapTheme) {
060                    return _themeLocalService.getColorScheme(companyId, themeId,
061                            colorSchemeId, wapTheme);
062            }
063    
064            @Override
065            public java.util.List<com.liferay.portal.model.Theme> getControlPanelThemes(
066                    long companyId, long userId, boolean wapTheme) {
067                    return _themeLocalService.getControlPanelThemes(companyId, userId,
068                            wapTheme);
069            }
070    
071            @Override
072            public java.util.List<com.liferay.portal.model.Theme> getPageThemes(
073                    long companyId, long groupId, long userId, boolean wapTheme) {
074                    return _themeLocalService.getPageThemes(companyId, groupId, userId,
075                            wapTheme);
076            }
077    
078            @Override
079            public com.liferay.portal.model.Theme getTheme(long companyId,
080                    java.lang.String themeId, boolean wapTheme) {
081                    return _themeLocalService.getTheme(companyId, themeId, wapTheme);
082            }
083    
084            @Override
085            public java.util.List<com.liferay.portal.model.Theme> getThemes(
086                    long companyId) {
087                    return _themeLocalService.getThemes(companyId);
088            }
089    
090            /**
091            * @deprecated As of 7.0.0, replaced by {@link #getPageThemes}
092            */
093            @Deprecated
094            @Override
095            public java.util.List<com.liferay.portal.model.Theme> getThemes(
096                    long companyId, long groupId, long userId, boolean wapTheme) {
097                    return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
098            }
099    
100            @Override
101            public java.util.List<com.liferay.portal.model.Theme> getWARThemes() {
102                    return _themeLocalService.getWARThemes();
103            }
104    
105            @Override
106            public java.util.List<com.liferay.portal.model.Theme> init(
107                    javax.servlet.ServletContext servletContext,
108                    java.lang.String themesPath, boolean loadFromServletContext,
109                    java.lang.String[] xmls,
110                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
111                    return _themeLocalService.init(servletContext, themesPath,
112                            loadFromServletContext, xmls, pluginPackage);
113            }
114    
115            @Override
116            public java.util.List<com.liferay.portal.model.Theme> init(
117                    java.lang.String servletContextName,
118                    javax.servlet.ServletContext servletContext,
119                    java.lang.String themesPath, boolean loadFromServletContext,
120                    java.lang.String[] xmls,
121                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
122                    return _themeLocalService.init(servletContextName, servletContext,
123                            themesPath, loadFromServletContext, xmls, pluginPackage);
124            }
125    
126            /**
127            * Sets the Spring bean ID for this bean.
128            *
129            * @param beanIdentifier the Spring bean ID for this bean
130            */
131            @Override
132            public void setBeanIdentifier(java.lang.String beanIdentifier) {
133                    _themeLocalService.setBeanIdentifier(beanIdentifier);
134            }
135    
136            @Override
137            public void uninstallThemes(
138                    java.util.List<com.liferay.portal.model.Theme> themes) {
139                    _themeLocalService.uninstallThemes(themes);
140            }
141    
142            /**
143             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
144             */
145            @Deprecated
146            public ThemeLocalService getWrappedThemeLocalService() {
147                    return _themeLocalService;
148            }
149    
150            /**
151             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
152             */
153            @Deprecated
154            public void setWrappedThemeLocalService(ThemeLocalService themeLocalService) {
155                    _themeLocalService = themeLocalService;
156            }
157    
158            @Override
159            public ThemeLocalService getWrappedService() {
160                    return _themeLocalService;
161            }
162    
163            @Override
164            public void setWrappedService(ThemeLocalService themeLocalService) {
165                    _themeLocalService = themeLocalService;
166            }
167    
168            private ThemeLocalService _themeLocalService;
169    }