001    /**
002     * Copyright (c) 2000-2012 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     * <p>
021     * This class is a wrapper for {@link MDRRuleGroupService}.
022     * </p>
023     *
024     * @author    Edward C. Han
025     * @see       MDRRuleGroupService
026     * @generated
027     */
028    public class MDRRuleGroupServiceWrapper implements MDRRuleGroupService,
029            ServiceWrapper<MDRRuleGroupService> {
030            public MDRRuleGroupServiceWrapper(MDRRuleGroupService mdrRuleGroupService) {
031                    _mdrRuleGroupService = mdrRuleGroupService;
032            }
033    
034            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(
035                    long groupId,
036                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
037                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    return _mdrRuleGroupService.addRuleGroup(groupId, nameMap,
042                            descriptionMap, serviceContext);
043            }
044    
045            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
046                    long ruleGroupId, long groupId,
047                    com.liferay.portal.service.ServiceContext serviceContext)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    return _mdrRuleGroupService.copyRuleGroup(ruleGroupId, groupId,
051                            serviceContext);
052            }
053    
054            public void deleteRuleGroup(long ruleGroupId)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    _mdrRuleGroupService.deleteRuleGroup(ruleGroupId);
058            }
059    
060            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
061                    long ruleGroupId)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _mdrRuleGroupService.fetchRuleGroup(ruleGroupId);
065            }
066    
067            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
068                    long ruleGroupId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    return _mdrRuleGroupService.getRuleGroup(ruleGroupId);
072            }
073    
074            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
075                    long ruleGroupId,
076                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
077                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
078                    com.liferay.portal.service.ServiceContext serviceContext)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _mdrRuleGroupService.updateRuleGroup(ruleGroupId, nameMap,
082                            descriptionMap, serviceContext);
083            }
084    
085            /**
086             * @deprecated Renamed to {@link #getWrappedService}
087             */
088            public MDRRuleGroupService getWrappedMDRRuleGroupService() {
089                    return _mdrRuleGroupService;
090            }
091    
092            /**
093             * @deprecated Renamed to {@link #setWrappedService}
094             */
095            public void setWrappedMDRRuleGroupService(
096                    MDRRuleGroupService mdrRuleGroupService) {
097                    _mdrRuleGroupService = mdrRuleGroupService;
098            }
099    
100            public MDRRuleGroupService getWrappedService() {
101                    return _mdrRuleGroupService;
102            }
103    
104            public void setWrappedService(MDRRuleGroupService mdrRuleGroupService) {
105                    _mdrRuleGroupService = mdrRuleGroupService;
106            }
107    
108            private MDRRuleGroupService _mdrRuleGroupService;
109    }