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.portlet.social.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link SocialActivitySettingService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see SocialActivitySettingService
026     * @generated
027     */
028    @ProviderType
029    public class SocialActivitySettingServiceWrapper
030            implements SocialActivitySettingService,
031                    ServiceWrapper<SocialActivitySettingService> {
032            public SocialActivitySettingServiceWrapper(
033                    SocialActivitySettingService socialActivitySettingService) {
034                    _socialActivitySettingService = socialActivitySettingService;
035            }
036    
037            @Override
038            public com.liferay.portlet.social.model.SocialActivityDefinition getActivityDefinition(
039                    long groupId, java.lang.String className, int activityType)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    return _socialActivitySettingService.getActivityDefinition(groupId,
042                            className, activityType);
043            }
044    
045            @Override
046            public java.util.List<com.liferay.portlet.social.model.SocialActivityDefinition> getActivityDefinitions(
047                    long groupId, java.lang.String className)
048                    throws com.liferay.portal.kernel.exception.PortalException {
049                    return _socialActivitySettingService.getActivityDefinitions(groupId,
050                            className);
051            }
052    
053            @Override
054            public java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> getActivitySettings(
055                    long groupId)
056                    throws com.liferay.portal.kernel.exception.PortalException {
057                    return _socialActivitySettingService.getActivitySettings(groupId);
058            }
059    
060            @Override
061            public com.liferay.portal.kernel.json.JSONArray getJSONActivityDefinitions(
062                    long groupId, java.lang.String className)
063                    throws com.liferay.portal.kernel.exception.PortalException {
064                    return _socialActivitySettingService.getJSONActivityDefinitions(groupId,
065                            className);
066            }
067    
068            /**
069            * Returns the OSGi service identifier.
070            *
071            * @return the OSGi service identifier
072            */
073            @Override
074            public java.lang.String getOSGiServiceIdentifier() {
075                    return _socialActivitySettingService.getOSGiServiceIdentifier();
076            }
077    
078            @Override
079            public void updateActivitySetting(long groupId, java.lang.String className,
080                    int activityType,
081                    com.liferay.portlet.social.model.SocialActivityCounterDefinition activityCounterDefinition)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    _socialActivitySettingService.updateActivitySetting(groupId, className,
084                            activityType, activityCounterDefinition);
085            }
086    
087            @Override
088            public void updateActivitySetting(long groupId, java.lang.String className,
089                    boolean enabled)
090                    throws com.liferay.portal.kernel.exception.PortalException {
091                    _socialActivitySettingService.updateActivitySetting(groupId, className,
092                            enabled);
093            }
094    
095            @Override
096            public void updateActivitySettings(long groupId,
097                    java.lang.String className, int activityType,
098                    java.util.List<com.liferay.portlet.social.model.SocialActivityCounterDefinition> activityCounterDefinitions)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    _socialActivitySettingService.updateActivitySettings(groupId,
101                            className, activityType, activityCounterDefinitions);
102            }
103    
104            @Override
105            public SocialActivitySettingService getWrappedService() {
106                    return _socialActivitySettingService;
107            }
108    
109            @Override
110            public void setWrappedService(
111                    SocialActivitySettingService socialActivitySettingService) {
112                    _socialActivitySettingService = socialActivitySettingService;
113            }
114    
115            private SocialActivitySettingService _socialActivitySettingService;
116    }