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