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