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