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 OSGi service identifier.
036            *
037            * @return the OSGi service identifier
038            */
039            @Override
040            public java.lang.String getOSGiServiceIdentifier() {
041                    return _pluginSettingService.getOSGiServiceIdentifier();
042            }
043    
044            @Override
045            public com.liferay.portal.model.PluginSetting updatePluginSetting(
046                    long companyId, java.lang.String pluginId, java.lang.String pluginType,
047                    java.lang.String roles, boolean active)
048                    throws com.liferay.portal.kernel.exception.PortalException {
049                    return _pluginSettingService.updatePluginSetting(companyId, pluginId,
050                            pluginType, roles, active);
051            }
052    
053            @Override
054            public PluginSettingService getWrappedService() {
055                    return _pluginSettingService;
056            }
057    
058            @Override
059            public void setWrappedService(PluginSettingService pluginSettingService) {
060                    _pluginSettingService = pluginSettingService;
061            }
062    
063            private PluginSettingService _pluginSettingService;
064    }