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 PluginSettingService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see PluginSettingService
024     * @generated
025     */
026    @ProviderType
027    public class PluginSettingServiceWrapper implements PluginSettingService,
028            ServiceWrapper<PluginSettingService> {
029            public PluginSettingServiceWrapper(
030                    PluginSettingService pluginSettingService) {
031                    _pluginSettingService = pluginSettingService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            @Override
040            public java.lang.String getBeanIdentifier() {
041                    return _pluginSettingService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            @Override
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _pluginSettingService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            @Override
055            public com.liferay.portal.model.PluginSetting updatePluginSetting(
056                    long companyId, java.lang.String pluginId, java.lang.String pluginType,
057                    java.lang.String roles, boolean active)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _pluginSettingService.updatePluginSetting(companyId, pluginId,
061                            pluginType, roles, active);
062            }
063    
064            /**
065             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
066             */
067            public PluginSettingService getWrappedPluginSettingService() {
068                    return _pluginSettingService;
069            }
070    
071            /**
072             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
073             */
074            public void setWrappedPluginSettingService(
075                    PluginSettingService pluginSettingService) {
076                    _pluginSettingService = pluginSettingService;
077            }
078    
079            @Override
080            public PluginSettingService getWrappedService() {
081                    return _pluginSettingService;
082            }
083    
084            @Override
085            public void setWrappedService(PluginSettingService pluginSettingService) {
086                    _pluginSettingService = pluginSettingService;
087            }
088    
089            private PluginSettingService _pluginSettingService;
090    }