001    /**
002     * Copyright (c) 2000-present 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                    return _pluginSettingService.updatePluginSetting(companyId, pluginId,
060                            pluginType, roles, active);
061            }
062    
063            /**
064             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
065             */
066            @Deprecated
067            public PluginSettingService getWrappedPluginSettingService() {
068                    return _pluginSettingService;
069            }
070    
071            /**
072             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
073             */
074            @Deprecated
075            public void setWrappedPluginSettingService(
076                    PluginSettingService pluginSettingService) {
077                    _pluginSettingService = pluginSettingService;
078            }
079    
080            @Override
081            public PluginSettingService getWrappedService() {
082                    return _pluginSettingService;
083            }
084    
085            @Override
086            public void setWrappedService(PluginSettingService pluginSettingService) {
087                    _pluginSettingService = pluginSettingService;
088            }
089    
090            private PluginSettingService _pluginSettingService;
091    }