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 MDRRuleGroupService}.
022     * </p>
023     *
024     * @author    Edward C. Han
025     * @see       MDRRuleGroupService
026     * @generated
027     */
028    public class MDRRuleGroupServiceWrapper implements MDRRuleGroupService,
029            ServiceWrapper<MDRRuleGroupService> {
030            public MDRRuleGroupServiceWrapper(MDRRuleGroupService mdrRuleGroupService) {
031                    _mdrRuleGroupService = mdrRuleGroupService;
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 _mdrRuleGroupService.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                    _mdrRuleGroupService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(
053                    long groupId,
054                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
055                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _mdrRuleGroupService.addRuleGroup(groupId, nameMap,
060                            descriptionMap, serviceContext);
061            }
062    
063            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
064                    long ruleGroupId, long groupId,
065                    com.liferay.portal.service.ServiceContext serviceContext)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _mdrRuleGroupService.copyRuleGroup(ruleGroupId, groupId,
069                            serviceContext);
070            }
071    
072            public void deleteRuleGroup(long ruleGroupId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    _mdrRuleGroupService.deleteRuleGroup(ruleGroupId);
076            }
077    
078            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
079                    long ruleGroupId)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    return _mdrRuleGroupService.fetchRuleGroup(ruleGroupId);
083            }
084    
085            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
086                    long ruleGroupId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _mdrRuleGroupService.getRuleGroup(ruleGroupId);
090            }
091    
092            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
093                    long ruleGroupId,
094                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
095                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
096                    com.liferay.portal.service.ServiceContext serviceContext)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    return _mdrRuleGroupService.updateRuleGroup(ruleGroupId, nameMap,
100                            descriptionMap, serviceContext);
101            }
102    
103            /**
104             * @deprecated Renamed to {@link #getWrappedService}
105             */
106            public MDRRuleGroupService getWrappedMDRRuleGroupService() {
107                    return _mdrRuleGroupService;
108            }
109    
110            /**
111             * @deprecated Renamed to {@link #setWrappedService}
112             */
113            public void setWrappedMDRRuleGroupService(
114                    MDRRuleGroupService mdrRuleGroupService) {
115                    _mdrRuleGroupService = mdrRuleGroupService;
116            }
117    
118            public MDRRuleGroupService getWrappedService() {
119                    return _mdrRuleGroupService;
120            }
121    
122            public void setWrappedService(MDRRuleGroupService mdrRuleGroupService) {
123                    _mdrRuleGroupService = mdrRuleGroupService;
124            }
125    
126            private MDRRuleGroupService _mdrRuleGroupService;
127    }