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            @Override
054            public com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
055                    java.lang.String themeId, java.lang.String colorSchemeId,
056                    boolean wapTheme) {
057                    return _themeLocalService.getColorScheme(companyId, themeId,
058                            colorSchemeId, wapTheme);
059            }
060    
061            @Override
062            public java.util.List<com.liferay.portal.model.Theme> getControlPanelThemes(
063                    long companyId, long userId, boolean wapTheme) {
064                    return _themeLocalService.getControlPanelThemes(companyId, userId,
065                            wapTheme);
066            }
067    
068            /**
069            * Returns the OSGi service identifier.
070            *
071            * @return the OSGi service identifier
072            */
073            @Override
074            public java.lang.String getOSGiServiceIdentifier() {
075                    return _themeLocalService.getOSGiServiceIdentifier();
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            @Override
142            public void uninstallThemes(
143                    java.util.List<com.liferay.portal.model.Theme> themes) {
144                    _themeLocalService.uninstallThemes(themes);
145            }
146    
147            @Override
148            public ThemeLocalService getWrappedService() {
149                    return _themeLocalService;
150            }
151    
152            @Override
153            public void setWrappedService(ThemeLocalService themeLocalService) {
154                    _themeLocalService = themeLocalService;
155            }
156    
157            private ThemeLocalService _themeLocalService;
158    }