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.PortletDecorator fetchPortletDecorator(
042                    long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
043                    return _themeLocalService.fetchPortletDecorator(companyId, themeId,
044                            colorSchemeId);
045            }
046    
047            @Override
048            public com.liferay.portal.model.Theme fetchTheme(long companyId,
049                    java.lang.String themeId) {
050                    return _themeLocalService.fetchTheme(companyId, themeId);
051            }
052    
053            /**
054            * Returns the Spring bean ID for this bean.
055            *
056            * @return the Spring bean ID for this bean
057            */
058            @Override
059            public java.lang.String getBeanIdentifier() {
060                    return _themeLocalService.getBeanIdentifier();
061            }
062    
063            @Override
064            public com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
065                    java.lang.String themeId, java.lang.String colorSchemeId,
066                    boolean wapTheme) {
067                    return _themeLocalService.getColorScheme(companyId, themeId,
068                            colorSchemeId, wapTheme);
069            }
070    
071            @Override
072            public java.util.List<com.liferay.portal.model.Theme> getControlPanelThemes(
073                    long companyId, long userId, boolean wapTheme) {
074                    return _themeLocalService.getControlPanelThemes(companyId, userId,
075                            wapTheme);
076            }
077    
078            @Override
079            public java.util.List<com.liferay.portal.model.Theme> getPageThemes(
080                    long companyId, long groupId, long userId, boolean wapTheme) {
081                    return _themeLocalService.getPageThemes(companyId, groupId, userId,
082                            wapTheme);
083            }
084    
085            @Override
086            public com.liferay.portal.model.PortletDecorator getPortletDecorator(
087                    long companyId, java.lang.String themeId,
088                    java.lang.String portletDecoratorId) {
089                    return _themeLocalService.getPortletDecorator(companyId, themeId,
090                            portletDecoratorId);
091            }
092    
093            @Override
094            public com.liferay.portal.model.Theme getTheme(long companyId,
095                    java.lang.String themeId, boolean wapTheme) {
096                    return _themeLocalService.getTheme(companyId, themeId, wapTheme);
097            }
098    
099            @Override
100            public java.util.List<com.liferay.portal.model.Theme> getThemes(
101                    long companyId) {
102                    return _themeLocalService.getThemes(companyId);
103            }
104    
105            /**
106            * @deprecated As of 7.0.0, replaced by {@link #getPageThemes}
107            */
108            @Deprecated
109            @Override
110            public java.util.List<com.liferay.portal.model.Theme> getThemes(
111                    long companyId, long groupId, long userId, boolean wapTheme) {
112                    return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
113            }
114    
115            @Override
116            public java.util.List<com.liferay.portal.model.Theme> getWARThemes() {
117                    return _themeLocalService.getWARThemes();
118            }
119    
120            @Override
121            public java.util.List<com.liferay.portal.model.Theme> init(
122                    javax.servlet.ServletContext servletContext,
123                    java.lang.String themesPath, boolean loadFromServletContext,
124                    java.lang.String[] xmls,
125                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
126                    return _themeLocalService.init(servletContext, themesPath,
127                            loadFromServletContext, xmls, pluginPackage);
128            }
129    
130            @Override
131            public java.util.List<com.liferay.portal.model.Theme> init(
132                    java.lang.String servletContextName,
133                    javax.servlet.ServletContext servletContext,
134                    java.lang.String themesPath, boolean loadFromServletContext,
135                    java.lang.String[] xmls,
136                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
137                    return _themeLocalService.init(servletContextName, servletContext,
138                            themesPath, loadFromServletContext, xmls, pluginPackage);
139            }
140    
141            /**
142            * Sets the Spring bean ID for this bean.
143            *
144            * @param beanIdentifier the Spring bean ID for this bean
145            */
146            @Override
147            public void setBeanIdentifier(java.lang.String beanIdentifier) {
148                    _themeLocalService.setBeanIdentifier(beanIdentifier);
149            }
150    
151            @Override
152            public void uninstallThemes(
153                    java.util.List<com.liferay.portal.model.Theme> themes) {
154                    _themeLocalService.uninstallThemes(themes);
155            }
156    
157            /**
158             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
159             */
160            @Deprecated
161            public ThemeLocalService getWrappedThemeLocalService() {
162                    return _themeLocalService;
163            }
164    
165            /**
166             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
167             */
168            @Deprecated
169            public void setWrappedThemeLocalService(ThemeLocalService themeLocalService) {
170                    _themeLocalService = themeLocalService;
171            }
172    
173            @Override
174            public ThemeLocalService getWrappedService() {
175                    return _themeLocalService;
176            }
177    
178            @Override
179            public void setWrappedService(ThemeLocalService themeLocalService) {
180                    _themeLocalService = themeLocalService;
181            }
182    
183            private ThemeLocalService _themeLocalService;
184    }