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