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 java.util.List<com.liferay.portlet.social.model.SocialActivitySetting> getActivitySettings(
071                    long groupId)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _socialActivitySettingService.getActivitySettings(groupId);
075            }
076    
077            public com.liferay.portal.kernel.json.JSONArray getJSONActivityDefinitions(
078                    long groupId, java.lang.String className)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _socialActivitySettingService.getJSONActivityDefinitions(groupId,
082                            className);
083            }
084    
085            public void updateActivitySetting(long groupId, java.lang.String className,
086                    boolean enabled)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    _socialActivitySettingService.updateActivitySetting(groupId, className,
090                            enabled);
091            }
092    
093            public void updateActivitySetting(long groupId, java.lang.String className,
094                    int activityType,
095                    com.liferay.portlet.social.model.SocialActivityCounterDefinition activityCounterDefinition)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    _socialActivitySettingService.updateActivitySetting(groupId, className,
099                            activityType, activityCounterDefinition);
100            }
101    
102            public void updateActivitySettings(long groupId,
103                    java.lang.String className, int activityType,
104                    java.util.List<com.liferay.portlet.social.model.SocialActivityCounterDefinition> activityCounterDefinitions)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    _socialActivitySettingService.updateActivitySettings(groupId,
108                            className, activityType, activityCounterDefinitions);
109            }
110    
111            /**
112             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
113             */
114            public SocialActivitySettingService getWrappedSocialActivitySettingService() {
115                    return _socialActivitySettingService;
116            }
117    
118            /**
119             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
120             */
121            public void setWrappedSocialActivitySettingService(
122                    SocialActivitySettingService socialActivitySettingService) {
123                    _socialActivitySettingService = socialActivitySettingService;
124            }
125    
126            public SocialActivitySettingService getWrappedService() {
127                    return _socialActivitySettingService;
128            }
129    
130            public void setWrappedService(
131                    SocialActivitySettingService socialActivitySettingService) {
132                    _socialActivitySettingService = socialActivitySettingService;
133            }
134    
135            private SocialActivitySettingService _socialActivitySettingService;
136    }