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