001    /**
002     * Copyright (c) 2000-2011 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            public ThemeLocalServiceWrapper(ThemeLocalService themeLocalService) {
028                    _themeLocalService = themeLocalService;
029            }
030    
031            /**
032            * Returns the Spring bean ID for this bean.
033            *
034            * @return the Spring bean ID for this bean
035            */
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            public void setBeanIdentifier(java.lang.String beanIdentifier) {
046                    _themeLocalService.setBeanIdentifier(beanIdentifier);
047            }
048    
049            public com.liferay.portal.model.ColorScheme fetchColorScheme(
050                    long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
051                    return _themeLocalService.fetchColorScheme(companyId, themeId,
052                            colorSchemeId);
053            }
054    
055            public com.liferay.portal.model.Theme fetchTheme(long companyId,
056                    java.lang.String themeId) {
057                    return _themeLocalService.fetchTheme(companyId, themeId);
058            }
059    
060            public com.liferay.portal.model.ColorScheme getColorScheme(long companyId,
061                    java.lang.String themeId, java.lang.String colorSchemeId,
062                    boolean wapTheme)
063                    throws com.liferay.portal.kernel.exception.SystemException {
064                    return _themeLocalService.getColorScheme(companyId, themeId,
065                            colorSchemeId, wapTheme);
066            }
067    
068            public com.liferay.portal.model.Theme getTheme(long companyId,
069                    java.lang.String themeId, boolean wapTheme)
070                    throws com.liferay.portal.kernel.exception.SystemException {
071                    return _themeLocalService.getTheme(companyId, themeId, wapTheme);
072            }
073    
074            public java.util.List<com.liferay.portal.model.Theme> getThemes(
075                    long companyId) {
076                    return _themeLocalService.getThemes(companyId);
077            }
078    
079            public java.util.List<com.liferay.portal.model.Theme> getThemes(
080                    long companyId, long groupId, long userId, boolean wapTheme)
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
083            }
084    
085            public java.util.List<com.liferay.portal.model.Theme> getWARThemes() {
086                    return _themeLocalService.getWARThemes();
087            }
088    
089            public java.util.List<java.lang.String> init(
090                    javax.servlet.ServletContext servletContext,
091                    java.lang.String themesPath, boolean loadFromServletContext,
092                    java.lang.String[] xmls,
093                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
094                    return _themeLocalService.init(servletContext, themesPath,
095                            loadFromServletContext, xmls, pluginPackage);
096            }
097    
098            public java.util.List<java.lang.String> init(
099                    java.lang.String servletContextName,
100                    javax.servlet.ServletContext servletContext,
101                    java.lang.String themesPath, boolean loadFromServletContext,
102                    java.lang.String[] xmls,
103                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
104                    return _themeLocalService.init(servletContextName, servletContext,
105                            themesPath, loadFromServletContext, xmls, pluginPackage);
106            }
107    
108            public void uninstallThemes(java.util.List<java.lang.String> themeIds) {
109                    _themeLocalService.uninstallThemes(themeIds);
110            }
111    
112            public ThemeLocalService getWrappedThemeLocalService() {
113                    return _themeLocalService;
114            }
115    
116            public void setWrappedThemeLocalService(ThemeLocalService themeLocalService) {
117                    _themeLocalService = themeLocalService;
118            }
119    
120            private ThemeLocalService _themeLocalService;
121    }