001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017
026 public class MDRRuleGroupServiceWrapper implements MDRRuleGroupService {
027 public MDRRuleGroupServiceWrapper(MDRRuleGroupService mdrRuleGroupService) {
028 _mdrRuleGroupService = mdrRuleGroupService;
029 }
030
031 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(
032 long groupId,
033 java.util.Map<java.util.Locale, java.lang.String> nameMap,
034 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
035 com.liferay.portal.service.ServiceContext serviceContext)
036 throws com.liferay.portal.kernel.exception.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 return _mdrRuleGroupService.addRuleGroup(groupId, nameMap,
039 descriptionMap, serviceContext);
040 }
041
042 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
043 long ruleGroupId, long groupId,
044 com.liferay.portal.service.ServiceContext serviceContext)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 return _mdrRuleGroupService.copyRuleGroup(ruleGroupId, groupId,
048 serviceContext);
049 }
050
051 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
052 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup,
053 long groupId, com.liferay.portal.service.ServiceContext serviceContext)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException {
056 return _mdrRuleGroupService.copyRuleGroup(ruleGroup, groupId,
057 serviceContext);
058 }
059
060 public void deleteRuleGroup(long ruleGroupId)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 _mdrRuleGroupService.deleteRuleGroup(ruleGroupId);
064 }
065
066 public void deleteRuleGroup(
067 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 _mdrRuleGroupService.deleteRuleGroup(ruleGroup);
071 }
072
073 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
074 long ruleGroupId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return _mdrRuleGroupService.fetchRuleGroup(ruleGroupId);
078 }
079
080 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
081 long ruleGroupId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 return _mdrRuleGroupService.getRuleGroup(ruleGroupId);
085 }
086
087 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
088 long ruleGroupId,
089 java.util.Map<java.util.Locale, java.lang.String> nameMap,
090 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
091 com.liferay.portal.service.ServiceContext serviceContext)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 return _mdrRuleGroupService.updateRuleGroup(ruleGroupId, nameMap,
095 descriptionMap, serviceContext);
096 }
097
098 public MDRRuleGroupService getWrappedMDRRuleGroupService() {
099 return _mdrRuleGroupService;
100 }
101
102 public void setWrappedMDRRuleGroupService(
103 MDRRuleGroupService mdrRuleGroupService) {
104 _mdrRuleGroupService = mdrRuleGroupService;
105 }
106
107 private MDRRuleGroupService _mdrRuleGroupService;
108 }