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