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            /**
061            * Returns the Spring bean ID for this bean.
062            *
063            * @return the Spring bean ID for this bean
064            */
065            @Override
066            public java.lang.String getBeanIdentifier() {
067                    return _socialActivitySettingService.getBeanIdentifier();
068            }
069    
070            @Override
071            public com.liferay.portal.kernel.json.JSONArray getJSONActivityDefinitions(
072                    long groupId, java.lang.String className)
073                    throws com.liferay.portal.kernel.exception.PortalException {
074                    return _socialActivitySettingService.getJSONActivityDefinitions(groupId,
075                            className);
076            }
077    
078            /**
079            * Sets the Spring bean ID for this bean.
080            *
081            * @param beanIdentifier the Spring bean ID for this bean
082            */
083            @Override
084            public void setBeanIdentifier(java.lang.String beanIdentifier) {
085                    _socialActivitySettingService.setBeanIdentifier(beanIdentifier);
086            }
087    
088            @Override
089            public void updateActivitySetting(long groupId, java.lang.String className,
090                    int activityType,
091                    com.liferay.portlet.social.model.SocialActivityCounterDefinition activityCounterDefinition)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    _socialActivitySettingService.updateActivitySetting(groupId, className,
094                            activityType, activityCounterDefinition);
095            }
096    
097            @Override
098            public void updateActivitySetting(long groupId, java.lang.String className,
099                    boolean enabled)
100                    throws com.liferay.portal.kernel.exception.PortalException {
101                    _socialActivitySettingService.updateActivitySetting(groupId, className,
102                            enabled);
103            }
104    
105            @Override
106            public void updateActivitySettings(long groupId,
107                    java.lang.String className, int activityType,
108                    java.util.List<com.liferay.portlet.social.model.SocialActivityCounterDefinition> activityCounterDefinitions)
109                    throws com.liferay.portal.kernel.exception.PortalException {
110                    _socialActivitySettingService.updateActivitySettings(groupId,
111                            className, activityType, activityCounterDefinitions);
112            }
113    
114            /**
115             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
116             */
117            @Deprecated
118            public SocialActivitySettingService getWrappedSocialActivitySettingService() {
119                    return _socialActivitySettingService;
120            }
121    
122            /**
123             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
124             */
125            @Deprecated
126            public void setWrappedSocialActivitySettingService(
127                    SocialActivitySettingService socialActivitySettingService) {
128                    _socialActivitySettingService = socialActivitySettingService;
129            }
130    
131            @Override
132            public SocialActivitySettingService getWrappedService() {
133                    return _socialActivitySettingService;
134            }
135    
136            @Override
137            public void setWrappedService(
138                    SocialActivitySettingService socialActivitySettingService) {
139                    _socialActivitySettingService = socialActivitySettingService;
140            }
141    
142            private SocialActivitySettingService _socialActivitySettingService;
143    }