001    /**
002     * Copyright (c) 2000-present 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 MDRRuleGroupInstanceService}.
023     *
024     * @author Edward C. Han
025     * @see MDRRuleGroupInstanceService
026     * @generated
027     */
028    @ProviderType
029    public class MDRRuleGroupInstanceServiceWrapper
030            implements MDRRuleGroupInstanceService,
031                    ServiceWrapper<MDRRuleGroupInstanceService> {
032            public MDRRuleGroupInstanceServiceWrapper(
033                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
034                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
035            }
036    
037            @Override
038            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance addRuleGroupInstance(
039                    long groupId, java.lang.String className, long classPK,
040                    long ruleGroupId, int priority,
041                    com.liferay.portal.service.ServiceContext serviceContext)
042                    throws com.liferay.portal.kernel.exception.PortalException {
043                    return _mdrRuleGroupInstanceService.addRuleGroupInstance(groupId,
044                            className, classPK, ruleGroupId, priority, serviceContext);
045            }
046    
047            @Override
048            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance addRuleGroupInstance(
049                    long groupId, java.lang.String className, long classPK,
050                    long ruleGroupId,
051                    com.liferay.portal.service.ServiceContext serviceContext)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    return _mdrRuleGroupInstanceService.addRuleGroupInstance(groupId,
054                            className, classPK, ruleGroupId, serviceContext);
055            }
056    
057            @Override
058            public void deleteRuleGroupInstance(long ruleGroupInstanceId)
059                    throws com.liferay.portal.kernel.exception.PortalException {
060                    _mdrRuleGroupInstanceService.deleteRuleGroupInstance(ruleGroupInstanceId);
061            }
062    
063            /**
064            * Returns the Spring bean ID for this bean.
065            *
066            * @return the Spring bean ID for this bean
067            */
068            @Override
069            public java.lang.String getBeanIdentifier() {
070                    return _mdrRuleGroupInstanceService.getBeanIdentifier();
071            }
072    
073            @Override
074            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> getRuleGroupInstances(
075                    java.lang.String className, long classPK, int start, int end,
076                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> orderByComparator) {
077                    return _mdrRuleGroupInstanceService.getRuleGroupInstances(className,
078                            classPK, start, end, orderByComparator);
079            }
080    
081            @Override
082            public int getRuleGroupInstancesCount(java.lang.String className,
083                    long classPK) {
084                    return _mdrRuleGroupInstanceService.getRuleGroupInstancesCount(className,
085                            classPK);
086            }
087    
088            /**
089            * Sets the Spring bean ID for this bean.
090            *
091            * @param beanIdentifier the Spring bean ID for this bean
092            */
093            @Override
094            public void setBeanIdentifier(java.lang.String beanIdentifier) {
095                    _mdrRuleGroupInstanceService.setBeanIdentifier(beanIdentifier);
096            }
097    
098            @Override
099            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance updateRuleGroupInstance(
100                    long ruleGroupInstanceId, int priority)
101                    throws com.liferay.portal.kernel.exception.PortalException {
102                    return _mdrRuleGroupInstanceService.updateRuleGroupInstance(ruleGroupInstanceId,
103                            priority);
104            }
105    
106            /**
107             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
108             */
109            @Deprecated
110            public MDRRuleGroupInstanceService getWrappedMDRRuleGroupInstanceService() {
111                    return _mdrRuleGroupInstanceService;
112            }
113    
114            /**
115             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
116             */
117            @Deprecated
118            public void setWrappedMDRRuleGroupInstanceService(
119                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
120                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
121            }
122    
123            @Override
124            public MDRRuleGroupInstanceService getWrappedService() {
125                    return _mdrRuleGroupInstanceService;
126            }
127    
128            @Override
129            public void setWrappedService(
130                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
131                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
132            }
133    
134            private MDRRuleGroupInstanceService _mdrRuleGroupInstanceService;
135    }