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