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