001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link MDRRuleService}.
023     *
024     * @author Edward C. Han
025     * @see MDRRuleService
026     * @generated
027     */
028    @ProviderType
029    public class MDRRuleServiceWrapper implements MDRRuleService,
030            ServiceWrapper<MDRRuleService> {
031            public MDRRuleServiceWrapper(MDRRuleService mdrRuleService) {
032                    _mdrRuleService = mdrRuleService;
033            }
034    
035            @Override
036            public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
037                    long ruleGroupId,
038                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
039                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
040                    java.lang.String type,
041                    com.liferay.portal.kernel.util.UnicodeProperties typeSettings,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
045                            type, typeSettings, serviceContext);
046            }
047    
048            @Override
049            public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
050                    long ruleGroupId,
051                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
052                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
053                    java.lang.String type, java.lang.String typeSettings,
054                    com.liferay.portal.service.ServiceContext serviceContext)
055                    throws com.liferay.portal.kernel.exception.PortalException {
056                    return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
057                            type, typeSettings, serviceContext);
058            }
059    
060            @Override
061            public void deleteRule(long ruleId)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    _mdrRuleService.deleteRule(ruleId);
064            }
065    
066            @Override
067            public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchRule(
068                    long ruleId) throws com.liferay.portal.kernel.exception.PortalException {
069                    return _mdrRuleService.fetchRule(ruleId);
070            }
071    
072            /**
073            * Returns the Spring bean ID for this bean.
074            *
075            * @return the Spring bean ID for this bean
076            */
077            @Override
078            public java.lang.String getBeanIdentifier() {
079                    return _mdrRuleService.getBeanIdentifier();
080            }
081    
082            @Override
083            public com.liferay.portlet.mobiledevicerules.model.MDRRule getRule(
084                    long ruleId) throws com.liferay.portal.kernel.exception.PortalException {
085                    return _mdrRuleService.getRule(ruleId);
086            }
087    
088            /**
089            * Sets the Spring bean ID for this bean.
090            *
091            * @param beanIdentifier the Spring bean ID for this bean
092            */
093            @Override
094            public void setBeanIdentifier(java.lang.String beanIdentifier) {
095                    _mdrRuleService.setBeanIdentifier(beanIdentifier);
096            }
097    
098            @Override
099            public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
100                    long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
101                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
102                    java.lang.String type, java.lang.String typeSettings,
103                    com.liferay.portal.service.ServiceContext serviceContext)
104                    throws com.liferay.portal.kernel.exception.PortalException {
105                    return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
106                            type, typeSettings, serviceContext);
107            }
108    
109            @Override
110            public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
111                    long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
112                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
113                    java.lang.String type,
114                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
115                    com.liferay.portal.service.ServiceContext serviceContext)
116                    throws com.liferay.portal.kernel.exception.PortalException {
117                    return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
118                            type, typeSettingsProperties, serviceContext);
119            }
120    
121            /**
122             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
123             */
124            @Deprecated
125            public MDRRuleService getWrappedMDRRuleService() {
126                    return _mdrRuleService;
127            }
128    
129            /**
130             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
131             */
132            @Deprecated
133            public void setWrappedMDRRuleService(MDRRuleService mdrRuleService) {
134                    _mdrRuleService = mdrRuleService;
135            }
136    
137            @Override
138            public MDRRuleService getWrappedService() {
139                    return _mdrRuleService;
140            }
141    
142            @Override
143            public void setWrappedService(MDRRuleService mdrRuleService) {
144                    _mdrRuleService = mdrRuleService;
145            }
146    
147            private MDRRuleService _mdrRuleService;
148    }