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