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