001    /**
002     * Copyright (c) 2000-2012 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 MDRActionService}.
022     * </p>
023     *
024     * @author    Edward C. Han
025     * @see       MDRActionService
026     * @generated
027     */
028    public class MDRActionServiceWrapper implements MDRActionService,
029            ServiceWrapper<MDRActionService> {
030            public MDRActionServiceWrapper(MDRActionService mdrActionService) {
031                    _mdrActionService = mdrActionService;
032            }
033    
034            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
035                    long ruleGroupInstanceId,
036                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
037                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
038                    java.lang.String type, java.lang.String typeSettings,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _mdrActionService.addAction(ruleGroupInstanceId, nameMap,
043                            descriptionMap, type, typeSettings, serviceContext);
044            }
045    
046            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
047                    long ruleGroupInstanceId,
048                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
049                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
050                    java.lang.String type,
051                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
052                    com.liferay.portal.service.ServiceContext serviceContext)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _mdrActionService.addAction(ruleGroupInstanceId, nameMap,
056                            descriptionMap, type, typeSettingsProperties, serviceContext);
057            }
058    
059            public void deleteAction(long actionId)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    _mdrActionService.deleteAction(actionId);
063            }
064    
065            public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchAction(
066                    long actionId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _mdrActionService.fetchAction(actionId);
070            }
071    
072            public com.liferay.portlet.mobiledevicerules.model.MDRAction getAction(
073                    long actionId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _mdrActionService.getAction(actionId);
077            }
078    
079            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
080                    long actionId,
081                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
082                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
083                    java.lang.String type, java.lang.String typeSettings,
084                    com.liferay.portal.service.ServiceContext serviceContext)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _mdrActionService.updateAction(actionId, nameMap,
088                            descriptionMap, type, typeSettings, serviceContext);
089            }
090    
091            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
092                    long actionId,
093                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
094                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
095                    java.lang.String type,
096                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
097                    com.liferay.portal.service.ServiceContext serviceContext)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _mdrActionService.updateAction(actionId, nameMap,
101                            descriptionMap, type, typeSettingsProperties, serviceContext);
102            }
103    
104            /**
105             * @deprecated Renamed to {@link #getWrappedService}
106             */
107            public MDRActionService getWrappedMDRActionService() {
108                    return _mdrActionService;
109            }
110    
111            /**
112             * @deprecated Renamed to {@link #setWrappedService}
113             */
114            public void setWrappedMDRActionService(MDRActionService mdrActionService) {
115                    _mdrActionService = mdrActionService;
116            }
117    
118            public MDRActionService getWrappedService() {
119                    return _mdrActionService;
120            }
121    
122            public void setWrappedService(MDRActionService mdrActionService) {
123                    _mdrActionService = mdrActionService;
124            }
125    
126            private MDRActionService _mdrActionService;
127    }