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