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            @Override
086            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(
087                    long[] groupIds, int start, int end) {
088                    return _mdrRuleGroupService.getRuleGroups(groupIds, start, end);
089            }
090    
091            @Override
092            public int getRuleGroupsCount(long[] groupIds) {
093                    return _mdrRuleGroupService.getRuleGroupsCount(groupIds);
094            }
095    
096            /**
097            * Sets the Spring bean ID for this bean.
098            *
099            * @param beanIdentifier the Spring bean ID for this bean
100            */
101            @Override
102            public void setBeanIdentifier(java.lang.String beanIdentifier) {
103                    _mdrRuleGroupService.setBeanIdentifier(beanIdentifier);
104            }
105    
106            @Override
107            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
108                    long ruleGroupId,
109                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
110                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
111                    com.liferay.portal.service.ServiceContext serviceContext)
112                    throws com.liferay.portal.kernel.exception.PortalException {
113                    return _mdrRuleGroupService.updateRuleGroup(ruleGroupId, nameMap,
114                            descriptionMap, serviceContext);
115            }
116    
117            /**
118             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
119             */
120            @Deprecated
121            public MDRRuleGroupService getWrappedMDRRuleGroupService() {
122                    return _mdrRuleGroupService;
123            }
124    
125            /**
126             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
127             */
128            @Deprecated
129            public void setWrappedMDRRuleGroupService(
130                    MDRRuleGroupService mdrRuleGroupService) {
131                    _mdrRuleGroupService = mdrRuleGroupService;
132            }
133    
134            @Override
135            public MDRRuleGroupService getWrappedService() {
136                    return _mdrRuleGroupService;
137            }
138    
139            @Override
140            public void setWrappedService(MDRRuleGroupService mdrRuleGroupService) {
141                    _mdrRuleGroupService = mdrRuleGroupService;
142            }
143    
144            private MDRRuleGroupService _mdrRuleGroupService;
145    }