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