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