001    /**
002     * Copyright (c) 2000-present 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.mobiledevicerules.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link MDRRuleGroupService}.
023     *
024     * @author Edward C. Han
025     * @see MDRRuleGroupService
026     * @generated
027     */
028    @ProviderType
029    public class MDRRuleGroupServiceWrapper implements MDRRuleGroupService,
030            ServiceWrapper<MDRRuleGroupService> {
031            public MDRRuleGroupServiceWrapper(MDRRuleGroupService mdrRuleGroupService) {
032                    _mdrRuleGroupService = mdrRuleGroupService;
033            }
034    
035            @Override
036            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(
037                    long groupId,
038                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
039                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
040                    com.liferay.portal.service.ServiceContext serviceContext)
041                    throws com.liferay.portal.kernel.exception.PortalException {
042                    return _mdrRuleGroupService.addRuleGroup(groupId, nameMap,
043                            descriptionMap, serviceContext);
044            }
045    
046            @Override
047            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
048                    long ruleGroupId, long groupId,
049                    com.liferay.portal.service.ServiceContext serviceContext)
050                    throws com.liferay.portal.kernel.exception.PortalException {
051                    return _mdrRuleGroupService.copyRuleGroup(ruleGroupId, groupId,
052                            serviceContext);
053            }
054    
055            @Override
056            public void deleteRuleGroup(long ruleGroupId)
057                    throws com.liferay.portal.kernel.exception.PortalException {
058                    _mdrRuleGroupService.deleteRuleGroup(ruleGroupId);
059            }
060    
061            @Override
062            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
063                    long ruleGroupId)
064                    throws com.liferay.portal.kernel.exception.PortalException {
065                    return _mdrRuleGroupService.fetchRuleGroup(ruleGroupId);
066            }
067    
068            /**
069            * Returns the Spring bean ID for this bean.
070            *
071            * @return the Spring bean ID for this bean
072            */
073            @Override
074            public java.lang.String getBeanIdentifier() {
075                    return _mdrRuleGroupService.getBeanIdentifier();
076            }
077    
078            @Override
079            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
080                    long ruleGroupId)
081                    throws com.liferay.portal.kernel.exception.PortalException {
082                    return _mdrRuleGroupService.getRuleGroup(ruleGroupId);
083            }
084    
085            /**
086            * Sets the Spring bean ID for this bean.
087            *
088            * @param beanIdentifier the Spring bean ID for this bean
089            */
090            @Override
091            public void setBeanIdentifier(java.lang.String beanIdentifier) {
092                    _mdrRuleGroupService.setBeanIdentifier(beanIdentifier);
093            }
094    
095            @Override
096            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
097                    long ruleGroupId,
098                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
099                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
100                    com.liferay.portal.service.ServiceContext serviceContext)
101                    throws com.liferay.portal.kernel.exception.PortalException {
102                    return _mdrRuleGroupService.updateRuleGroup(ruleGroupId, nameMap,
103                            descriptionMap, serviceContext);
104            }
105    
106            /**
107             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
108             */
109            @Deprecated
110            public MDRRuleGroupService getWrappedMDRRuleGroupService() {
111                    return _mdrRuleGroupService;
112            }
113    
114            /**
115             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
116             */
117            @Deprecated
118            public void setWrappedMDRRuleGroupService(
119                    MDRRuleGroupService mdrRuleGroupService) {
120                    _mdrRuleGroupService = mdrRuleGroupService;
121            }
122    
123            @Override
124            public MDRRuleGroupService getWrappedService() {
125                    return _mdrRuleGroupService;
126            }
127    
128            @Override
129            public void setWrappedService(MDRRuleGroupService mdrRuleGroupService) {
130                    _mdrRuleGroupService = mdrRuleGroupService;
131            }
132    
133            private MDRRuleGroupService _mdrRuleGroupService;
134    }