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