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 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            /**
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 _mdrActionService.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                    _mdrActionService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
057                    long ruleGroupInstanceId,
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 _mdrActionService.addAction(ruleGroupInstanceId, nameMap,
065                            descriptionMap, type, typeSettings, serviceContext);
066            }
067    
068            @Override
069            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
070                    long ruleGroupInstanceId,
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 typeSettingsProperties,
075                    com.liferay.portal.service.ServiceContext serviceContext)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    return _mdrActionService.addAction(ruleGroupInstanceId, nameMap,
079                            descriptionMap, type, typeSettingsProperties, serviceContext);
080            }
081    
082            @Override
083            public void deleteAction(long actionId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    _mdrActionService.deleteAction(actionId);
087            }
088    
089            @Override
090            public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchAction(
091                    long actionId)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _mdrActionService.fetchAction(actionId);
095            }
096    
097            @Override
098            public com.liferay.portlet.mobiledevicerules.model.MDRAction getAction(
099                    long actionId)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    return _mdrActionService.getAction(actionId);
103            }
104    
105            @Override
106            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
107                    long actionId,
108                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
109                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
110                    java.lang.String type, java.lang.String typeSettings,
111                    com.liferay.portal.service.ServiceContext serviceContext)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    return _mdrActionService.updateAction(actionId, nameMap,
115                            descriptionMap, type, typeSettings, serviceContext);
116            }
117    
118            @Override
119            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
120                    long actionId,
121                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
122                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
123                    java.lang.String type,
124                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
125                    com.liferay.portal.service.ServiceContext serviceContext)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    return _mdrActionService.updateAction(actionId, nameMap,
129                            descriptionMap, type, typeSettingsProperties, serviceContext);
130            }
131    
132            /**
133             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
134             */
135            public MDRActionService getWrappedMDRActionService() {
136                    return _mdrActionService;
137            }
138    
139            /**
140             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
141             */
142            public void setWrappedMDRActionService(MDRActionService mdrActionService) {
143                    _mdrActionService = mdrActionService;
144            }
145    
146            @Override
147            public MDRActionService getWrappedService() {
148                    return _mdrActionService;
149            }
150    
151            @Override
152            public void setWrappedService(MDRActionService mdrActionService) {
153                    _mdrActionService = mdrActionService;
154            }
155    
156            private MDRActionService _mdrActionService;
157    }