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 MDRRuleService}.
020     * </p>
021     *
022     * @author    Edward C. Han
023     * @see       MDRRuleService
024     * @generated
025     */
026    public class MDRRuleServiceWrapper implements MDRRuleService {
027            public MDRRuleServiceWrapper(MDRRuleService mdrRuleService) {
028                    _mdrRuleService = mdrRuleService;
029            }
030    
031            public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
032                    long ruleGroupId,
033                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
034                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
035                    java.lang.String type, java.lang.String typeSettings,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
040                            type, typeSettings, serviceContext);
041            }
042    
043            public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
044                    long ruleGroupId,
045                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
046                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
047                    java.lang.String type,
048                    com.liferay.portal.kernel.util.UnicodeProperties typeSettings,
049                    com.liferay.portal.service.ServiceContext serviceContext)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
053                            type, typeSettings, serviceContext);
054            }
055    
056            public void deleteRule(long ruleId)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    _mdrRuleService.deleteRule(ruleId);
060            }
061    
062            public void deleteRule(
063                    com.liferay.portlet.mobiledevicerules.model.MDRRule rule)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _mdrRuleService.deleteRule(rule);
067            }
068    
069            public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchRule(
070                    long ruleId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _mdrRuleService.fetchRule(ruleId);
074            }
075    
076            public com.liferay.portlet.mobiledevicerules.model.MDRRule getRule(
077                    long ruleId)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    return _mdrRuleService.getRule(ruleId);
081            }
082    
083            public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
084                    long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
085                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
086                    java.lang.String type, java.lang.String typeSettings,
087                    com.liferay.portal.service.ServiceContext serviceContext)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
091                            type, typeSettings, serviceContext);
092            }
093    
094            public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
095                    long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
096                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
097                    java.lang.String type,
098                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
099                    com.liferay.portal.service.ServiceContext serviceContext)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
103                            type, typeSettingsProperties, serviceContext);
104            }
105    
106            public MDRRuleService getWrappedMDRRuleService() {
107                    return _mdrRuleService;
108            }
109    
110            public void setWrappedMDRRuleService(MDRRuleService mdrRuleService) {
111                    _mdrRuleService = mdrRuleService;
112            }
113    
114            private MDRRuleService _mdrRuleService;
115    }