001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017
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 }