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.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            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            @Override
041            public java.lang.String getBeanIdentifier() {
042                    return _mdrRuleGroupService.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            @Override
051            public void setBeanIdentifier(java.lang.String beanIdentifier) {
052                    _mdrRuleGroupService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(
057                    long groupId,
058                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
059                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
060                    com.liferay.portal.service.ServiceContext serviceContext)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    return _mdrRuleGroupService.addRuleGroup(groupId, nameMap,
064                            descriptionMap, serviceContext);
065            }
066    
067            @Override
068            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
069                    long ruleGroupId, long groupId,
070                    com.liferay.portal.service.ServiceContext serviceContext)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _mdrRuleGroupService.copyRuleGroup(ruleGroupId, groupId,
074                            serviceContext);
075            }
076    
077            @Override
078            public void deleteRuleGroup(long ruleGroupId)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    _mdrRuleGroupService.deleteRuleGroup(ruleGroupId);
082            }
083    
084            @Override
085            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
086                    long ruleGroupId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _mdrRuleGroupService.fetchRuleGroup(ruleGroupId);
090            }
091    
092            @Override
093            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
094                    long ruleGroupId)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _mdrRuleGroupService.getRuleGroup(ruleGroupId);
098            }
099    
100            @Override
101            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
102                    long ruleGroupId,
103                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
104                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
105                    com.liferay.portal.service.ServiceContext serviceContext)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    return _mdrRuleGroupService.updateRuleGroup(ruleGroupId, nameMap,
109                            descriptionMap, serviceContext);
110            }
111    
112            /**
113             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
114             */
115            public MDRRuleGroupService getWrappedMDRRuleGroupService() {
116                    return _mdrRuleGroupService;
117            }
118    
119            /**
120             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
121             */
122            public void setWrappedMDRRuleGroupService(
123                    MDRRuleGroupService mdrRuleGroupService) {
124                    _mdrRuleGroupService = mdrRuleGroupService;
125            }
126    
127            @Override
128            public MDRRuleGroupService getWrappedService() {
129                    return _mdrRuleGroupService;
130            }
131    
132            @Override
133            public void setWrappedService(MDRRuleGroupService mdrRuleGroupService) {
134                    _mdrRuleGroupService = mdrRuleGroupService;
135            }
136    
137            private MDRRuleGroupService _mdrRuleGroupService;
138    }