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.ColorScheme getColorScheme(
042                    long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
043                    return _themeLocalService.getColorScheme(companyId, themeId,
044                            colorSchemeId);
045            }
046    
047            @Override
048            public com.liferay.portal.kernel.model.PortletDecorator fetchPortletDecorator(
049                    long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
050                    return _themeLocalService.fetchPortletDecorator(companyId, themeId,
051                            colorSchemeId);
052            }
053    
054            @Override
055            public com.liferay.portal.kernel.model.PortletDecorator getPortletDecorator(
056                    long companyId, java.lang.String themeId,
057                    java.lang.String portletDecoratorId) {
058                    return _themeLocalService.getPortletDecorator(companyId, themeId,
059                            portletDecoratorId);
060            }
061    
062            @Override
063            public com.liferay.portal.kernel.model.Theme fetchTheme(long companyId,
064                    java.lang.String themeId) {
065                    return _themeLocalService.fetchTheme(companyId, themeId);
066            }
067    
068            @Override
069            public com.liferay.portal.kernel.model.Theme getTheme(long companyId,
070                    java.lang.String themeId) {
071                    return _themeLocalService.getTheme(companyId, themeId);
072            }
073    
074            /**
075            * Returns the OSGi service identifier.
076            *
077            * @return the OSGi service identifier
078            */
079            @Override
080            public java.lang.String getOSGiServiceIdentifier() {
081                    return _themeLocalService.getOSGiServiceIdentifier();
082            }
083    
084            @Override
085            public java.util.List<com.liferay.portal.kernel.model.Theme> getControlPanelThemes(
086                    long companyId, long userId) {
087                    return _themeLocalService.getControlPanelThemes(companyId, userId);
088            }
089    
090            @Override
091            public java.util.List<com.liferay.portal.kernel.model.Theme> getPageThemes(
092                    long companyId, long groupId, long userId) {
093                    return _themeLocalService.getPageThemes(companyId, groupId, userId);
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                    java.lang.String servletContextName,
120                    javax.servlet.ServletContext servletContext,
121                    java.lang.String themesPath, boolean loadFromServletContext,
122                    java.lang.String[] xmls,
123                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
124                    return _themeLocalService.init(servletContextName, servletContext,
125                            themesPath, loadFromServletContext, xmls, pluginPackage);
126            }
127    
128            @Override
129            public java.util.List<com.liferay.portal.kernel.model.Theme> init(
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(servletContext, themesPath,
135                            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    }