001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MDRRuleServiceWrapper implements MDRRuleService,
029 ServiceWrapper<MDRRuleService> {
030 public MDRRuleServiceWrapper(MDRRuleService mdrRuleService) {
031 _mdrRuleService = mdrRuleService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _mdrRuleService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _mdrRuleService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
053 long ruleGroupId,
054 java.util.Map<java.util.Locale, java.lang.String> nameMap,
055 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
056 java.lang.String type, java.lang.String typeSettings,
057 com.liferay.portal.service.ServiceContext serviceContext)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
061 type, typeSettings, serviceContext);
062 }
063
064 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
065 long ruleGroupId,
066 java.util.Map<java.util.Locale, java.lang.String> nameMap,
067 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
068 java.lang.String type,
069 com.liferay.portal.kernel.util.UnicodeProperties typeSettings,
070 com.liferay.portal.service.ServiceContext serviceContext)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
074 type, typeSettings, serviceContext);
075 }
076
077 public void deleteRule(long ruleId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 _mdrRuleService.deleteRule(ruleId);
081 }
082
083 public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchRule(
084 long ruleId)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 return _mdrRuleService.fetchRule(ruleId);
088 }
089
090 public com.liferay.portlet.mobiledevicerules.model.MDRRule getRule(
091 long ruleId)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 return _mdrRuleService.getRule(ruleId);
095 }
096
097 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
098 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
099 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
100 java.lang.String type, java.lang.String typeSettings,
101 com.liferay.portal.service.ServiceContext serviceContext)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
105 type, typeSettings, serviceContext);
106 }
107
108 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
109 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
110 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
111 java.lang.String type,
112 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
113 com.liferay.portal.service.ServiceContext serviceContext)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException {
116 return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
117 type, typeSettingsProperties, serviceContext);
118 }
119
120
123 public MDRRuleService getWrappedMDRRuleService() {
124 return _mdrRuleService;
125 }
126
127
130 public void setWrappedMDRRuleService(MDRRuleService mdrRuleService) {
131 _mdrRuleService = mdrRuleService;
132 }
133
134 public MDRRuleService getWrappedService() {
135 return _mdrRuleService;
136 }
137
138 public void setWrappedService(MDRRuleService mdrRuleService) {
139 _mdrRuleService = mdrRuleService;
140 }
141
142 private MDRRuleService _mdrRuleService;
143 }