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 ThemeService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see ThemeService
022     * @generated
023     */
024    public class ThemeServiceWrapper implements ThemeService,
025            ServiceWrapper<ThemeService> {
026            public ThemeServiceWrapper(ThemeService themeService) {
027                    _themeService = themeService;
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 _themeService.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                    _themeService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            @Override
051            public java.util.List<com.liferay.portal.model.Theme> getThemes(
052                    long companyId) {
053                    return _themeService.getThemes(companyId);
054            }
055    
056            @Override
057            public com.liferay.portal.kernel.json.JSONArray getWARThemes() {
058                    return _themeService.getWARThemes();
059            }
060    
061            /**
062             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
063             */
064            public ThemeService getWrappedThemeService() {
065                    return _themeService;
066            }
067    
068            /**
069             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
070             */
071            public void setWrappedThemeService(ThemeService themeService) {
072                    _themeService = themeService;
073            }
074    
075            @Override
076            public ThemeService getWrappedService() {
077                    return _themeService;
078            }
079    
080            @Override
081            public void setWrappedService(ThemeService themeService) {
082                    _themeService = themeService;
083            }
084    
085            private ThemeService _themeService;
086    }