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.kernel.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.kernel.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.kernel.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.kernel.model.Theme fetchTheme(long companyId,
049                    java.lang.String themeId) {
050                    return _themeLocalService.fetchTheme(companyId, themeId);
051            }
052    
053            @Override
054            public com.liferay.portal.kernel.model.ColorScheme getColorScheme(
055                    long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
056                    return _themeLocalService.getColorScheme(companyId, themeId,
057                            colorSchemeId);
058            }
059    
060            @Override
061            public java.util.List<com.liferay.portal.kernel.model.Theme> getControlPanelThemes(
062                    long companyId, long userId) {
063                    return _themeLocalService.getControlPanelThemes(companyId, userId);
064            }
065    
066            /**
067            * Returns the OSGi service identifier.
068            *
069            * @return the OSGi service identifier
070            */
071            @Override
072            public java.lang.String getOSGiServiceIdentifier() {
073                    return _themeLocalService.getOSGiServiceIdentifier();
074            }
075    
076            @Override
077            public java.util.List<com.liferay.portal.kernel.model.Theme> getPageThemes(
078                    long companyId, long groupId, long userId) {
079                    return _themeLocalService.getPageThemes(companyId, groupId, userId);
080            }
081    
082            @Override
083            public com.liferay.portal.kernel.model.PortletDecorator getPortletDecorator(
084                    long companyId, java.lang.String themeId,
085                    java.lang.String portletDecoratorId) {
086                    return _themeLocalService.getPortletDecorator(companyId, themeId,
087                            portletDecoratorId);
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.model.Theme getTheme(long companyId,
092                    java.lang.String themeId) {
093                    return _themeLocalService.getTheme(companyId, themeId);
094            }
095    
096            @Override
097            public java.util.List<com.liferay.portal.kernel.model.Theme> getThemes(
098                    long companyId) {
099                    return _themeLocalService.getThemes(companyId);
100            }
101    
102            /**
103            * @deprecated As of 7.0.0, replaced by {@link #getPageThemes}
104            */
105            @Deprecated
106            @Override
107            public java.util.List<com.liferay.portal.kernel.model.Theme> getThemes(
108                    long companyId, long groupId, long userId, boolean wapTheme) {
109                    return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
110            }
111    
112            @Override
113            public java.util.List<com.liferay.portal.kernel.model.Theme> getWARThemes() {
114                    return _themeLocalService.getWARThemes();
115            }
116    
117            @Override
118            public java.util.List<com.liferay.portal.kernel.model.Theme> init(
119                    javax.servlet.ServletContext servletContext,
120                    java.lang.String themesPath, boolean loadFromServletContext,
121                    java.lang.String[] xmls,
122                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
123                    return _themeLocalService.init(servletContext, themesPath,
124                            loadFromServletContext, xmls, pluginPackage);
125            }
126    
127            @Override
128            public java.util.List<com.liferay.portal.kernel.model.Theme> init(
129                    java.lang.String servletContextName,
130                    javax.servlet.ServletContext servletContext,
131                    java.lang.String themesPath, boolean loadFromServletContext,
132                    java.lang.String[] xmls,
133                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
134                    return _themeLocalService.init(servletContextName, servletContext,
135                            themesPath, loadFromServletContext, xmls, pluginPackage);
136            }
137    
138            @Override
139            public void uninstallThemes(
140                    java.util.List<com.liferay.portal.kernel.model.Theme> themes) {
141                    _themeLocalService.uninstallThemes(themes);
142            }
143    
144            @Override
145            public ThemeLocalService getWrappedService() {
146                    return _themeLocalService;
147            }
148    
149            @Override
150            public void setWrappedService(ThemeLocalService themeLocalService) {
151                    _themeLocalService = themeLocalService;
152            }
153    
154            private ThemeLocalService _themeLocalService;
155    }