001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link MDRRuleGroupInstanceService}.
020     * </p>
021     *
022     * @author    Edward C. Han
023     * @see       MDRRuleGroupInstanceService
024     * @generated
025     */
026    public class MDRRuleGroupInstanceServiceWrapper
027            implements MDRRuleGroupInstanceService {
028            public MDRRuleGroupInstanceServiceWrapper(
029                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
030                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
031            }
032    
033            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance addRuleGroupInstance(
034                    long groupId, java.lang.String className, long classPK,
035                    long ruleGroupId, int priority,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _mdrRuleGroupInstanceService.addRuleGroupInstance(groupId,
040                            className, classPK, ruleGroupId, priority, serviceContext);
041            }
042    
043            public void deleteRuleGroupInstance(long ruleGroupInstanceId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _mdrRuleGroupInstanceService.deleteRuleGroupInstance(ruleGroupInstanceId);
047            }
048    
049            public void deleteRuleGroupInstance(
050                    com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance ruleGroupInstance)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _mdrRuleGroupInstanceService.deleteRuleGroupInstance(ruleGroupInstance);
054            }
055    
056            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> getRuleGroupInstances(
057                    java.lang.String className, long classPK, int start, int end,
058                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _mdrRuleGroupInstanceService.getRuleGroupInstances(className,
061                            classPK, start, end, orderByComparator);
062            }
063    
064            public int getRuleGroupInstancesCount(java.lang.String className,
065                    long classPK)
066                    throws com.liferay.portal.kernel.exception.SystemException {
067                    return _mdrRuleGroupInstanceService.getRuleGroupInstancesCount(className,
068                            classPK);
069            }
070    
071            public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance updateRuleGroupInstance(
072                    long ruleGroupInstanceId, int priority)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _mdrRuleGroupInstanceService.updateRuleGroupInstance(ruleGroupInstanceId,
076                            priority);
077            }
078    
079            public MDRRuleGroupInstanceService getWrappedMDRRuleGroupInstanceService() {
080                    return _mdrRuleGroupInstanceService;
081            }
082    
083            public void setWrappedMDRRuleGroupInstanceService(
084                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
085                    _mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
086            }
087    
088            private MDRRuleGroupInstanceService _mdrRuleGroupInstanceService;
089    }