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