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