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 MDRRuleGroupInstanceService}.
022     * </p>
023     *
024     * @author    Edward C. Han
025     * @see       MDRRuleGroupInstanceService
026     * @generated
027     */
028    public class MDRRuleGroupInstanceServiceWrapper
029            implements MDRRuleGroupInstanceService,
030                    ServiceWrapper<MDRRuleGroupInstanceService> {
031            public MDRRuleGroupInstanceServiceWrapper(
032                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
033                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
034            }
035    
036            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance addRuleGroupInstance(
037                    long groupId, java.lang.String className, long classPK,
038                    long ruleGroupId, int priority,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _mdrRuleGroupInstanceService.addRuleGroupInstance(groupId,
043                            className, classPK, ruleGroupId, priority, serviceContext);
044            }
045    
046            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance addRuleGroupInstance(
047                    long groupId, java.lang.String className, long classPK,
048                    long ruleGroupId,
049                    com.liferay.portal.service.ServiceContext serviceContext)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _mdrRuleGroupInstanceService.addRuleGroupInstance(groupId,
053                            className, classPK, ruleGroupId, serviceContext);
054            }
055    
056            public void deleteRuleGroupInstance(long ruleGroupInstanceId)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    _mdrRuleGroupInstanceService.deleteRuleGroupInstance(ruleGroupInstanceId);
060            }
061    
062            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> getRuleGroupInstances(
063                    java.lang.String className, long classPK, int start, int end,
064                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065                    throws com.liferay.portal.kernel.exception.SystemException {
066                    return _mdrRuleGroupInstanceService.getRuleGroupInstances(className,
067                            classPK, start, end, orderByComparator);
068            }
069    
070            public int getRuleGroupInstancesCount(java.lang.String className,
071                    long classPK)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _mdrRuleGroupInstanceService.getRuleGroupInstancesCount(className,
074                            classPK);
075            }
076    
077            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance updateRuleGroupInstance(
078                    long ruleGroupInstanceId, int priority)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _mdrRuleGroupInstanceService.updateRuleGroupInstance(ruleGroupInstanceId,
082                            priority);
083            }
084    
085            /**
086             * @deprecated Renamed to {@link #getWrappedService}
087             */
088            public MDRRuleGroupInstanceService getWrappedMDRRuleGroupInstanceService() {
089                    return _mdrRuleGroupInstanceService;
090            }
091    
092            /**
093             * @deprecated Renamed to {@link #setWrappedService}
094             */
095            public void setWrappedMDRRuleGroupInstanceService(
096                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
097                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
098            }
099    
100            public MDRRuleGroupInstanceService getWrappedService() {
101                    return _mdrRuleGroupInstanceService;
102            }
103    
104            public void setWrappedService(
105                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
106                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
107            }
108    
109            private MDRRuleGroupInstanceService _mdrRuleGroupInstanceService;
110    }