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