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