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